X hits on this document

PDF document

February 10, 2006 - page 126 / 238

660 views

0 shares

0 downloads

0 comments

126 / 238

114

CHAPTER 7. ENTITIES

int

num,

int

val);

_ _ _ _ _ _ int ipmi fru set time val(ipmi fru t *fru,

int

index,

int

num,

time);

time t

i n t i p m i _ f r u _ s e t _ d a t a _ v a l ( i int int p m

_ _ i fru t _

*fru, index, num,

_ _ enum ipmi fru data_type_e dtype,

char

*data,

unsigned int

len);

The num field is ignored if the particular index does not support more than one field (is not a custom field). When adding, if the num field is a field that already exists, it will be replaced or updated. If num is beyond the last element of the particular item, a new item will be added onto the end, it will not be added at the specific index.

To write the FRU data back out after you have modified it, use the following function:

i n t i p m i _ f r u _ w r i t e ( i p m i _ f r u _ t * f r u , i p m i _ f r u _ f e t c h e d _ c b d o n e , v o i d * c b _ d a t a ) ;

7.8

Entity SDRs

TBD - write this

Document info
Document views660
Page views660
Page last viewedFri Dec 09 09:49:08 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments