The query_fru structure is contained within the dl_srn structure. The query_fru structure is defined in diag_log.h.
The query_fru structure is defined as:
typedef struct _log_query_fru {
char *name;
int locSize;
char *locCode;
char *partNumber;
char *fruDesc;
struct _log_query_fru *nextfru;
}query_fru;
| name | The name of the Field Replacable Unit. |
| locSize | The size of the location code string. |
| locCode | The location code of the FRU (logical or physical). |
| partNumber | The FRU's part number. |
| fruDesc | The FRU's translated description text. |
| nextfru | A pointer to the next FRU in the list. If this is the last FRU, then the pointer is NULL. |