Hii all,
    
below code will give the current channel user info,

//mycode.c  

ipmi_domain_iterate_mcs(domain, handle_mc, tmp_obj);

void handle_mc(ipmi_domain_t *domain, ipmi_mc_t *mc, void *cb_data)
{
  
ipmi_mc_get_users( mc, 14,IPMI_MC_ALL_USERS,
                       handle_user,
                      tmp_obj)

}
static void
handle_user(ipmi_mc_t        *mc,
          int              err,
          ipmi_user_list_t *list,
          void             *cb_data)

{
 // getting user info
} 

------------------------
 using LAN interface( remote over LAN) i am communicating with BMC.
  
my qustion is in below function i gave the channel value \'channel =14(Eh)\' 
,because i want get the present inteface channel user info (through LAN 
interface( remote over LAN) i am communicating with BMC.) . 
 
ipmi_mc_get_users( mc, 14,IPMI_MC_ALL_USERS,
                       handle_user,
                      tmp_obj)

     


Thanks
barani  

-------------------------------------------------------------------------
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

Reply via email to