Hii all,

void handle_domain(ipmi_domain_t *domain,
           int           err,
           unsigned int  conn_num,
           unsigned int  port_num,
           int           still_connected,
           void          *user_data)
{

} 
         
 rv = ipmi_open_domain(\"\", &con, 1, handle_domain,   this, NULL, NULL, NULL, 
0, NULL);
  if (rv)
  {
    printf(\"Error:Unable to open domain\\n\");
    return 0;
  }

  
in the ipmi_open_domain() function repeately calling 
the hadle_domain() function , because the destination ip is down.
 my requirement is, in the down device i have to try 3 times handle_domain(), 
after that it should not call the handle_domain() ( i dont want use exit(0) 
because it exit the
 process), please tell me how to go about this problem.
  

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