Updates FRU Bucket.
#include <diag/tm_input.h> #include <diag/da.h> long insert_frub ( tminput, frub ) struct tm_input *tminput; struct fru_bucket *frub;
The insert_frub subroutine gets a device's FRU name from the Customized Device object class and places it into a structure of type fru_bucket. The calling routine specifies through the fru_flag member of the FRU Bucket structure whether the FRU name is for device x or the FRU parent of x.
|tminput||Identifies the device x (specifically, tminput.dname).|
|frub||Pointer to the FRU Bucket structure to be updated.|
This function should be called before addfrub().
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned.