From: Duncan L. <ice...@us...> - 2005-04-20 23:22:35
|
Update of /cvsroot/ipmitool/ipmitool/src/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15122/src/plugins Modified Files: ipmi_intf.c Log Message: add ability to configure session retry and timeout settings, add chassis power status command with return value indicating status Index: ipmi_intf.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/src/plugins/ipmi_intf.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ipmi_intf.c 20 Apr 2005 21:43:02 -0000 1.16 --- ipmi_intf.c 20 Apr 2005 23:03:59 -0000 1.17 *************** *** 244,247 **** --- 244,265 ---- void + ipmi_intf_session_set_timeout(struct ipmi_intf * intf, uint32_t timeout) + { + if (intf->session == NULL) + return; + + intf->session->timeout = timeout; + } + + void + ipmi_intf_session_set_retry(struct ipmi_intf * intf, int retry) + { + if (intf->session == NULL) + return; + + intf->session->retry = retry; + } + + void ipmi_cleanup(struct ipmi_intf * intf) { |