[EMAIL PROTECTED] wrote:
> Hii all,
> the iterate function what is doing,
> suppose my domian have the 10 entities ,whether it will call 10 times to the
> handle_entity function
> for different entity.pls tell me what this
> \"ipmi_domain_iterate_entities(domain, handle_entity, my_data);\" doing
>
>
>
> static void
> handle_entity(ipmi_domain_t *domain, ipmi_entity_t *entity, void *cb_data)
> {
> my_data_t *my_data = cb_data;
> /* Process the entity here */
> }
> ipmi_domain_iterate_entities(domain, handle_entity, my_data);
>
If your domain has 10 entities, it will call your handle_entity function
10 times, once for each entity.
-corey
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer