Hi Duncan,

I just modified the header file for the changes to ipmi_start_daemon().

regards,
dan carpenter


Index: include/ipmitool/helper.h
===================================================================
RCS file: /cvsroot/ipmitool/ipmitool/include/ipmitool/helper.h,v
retrieving revision 1.18
diff -u -r1.18 helper.h
--- include/ipmitool/helper.h   19 Mar 2006 17:59:38 -0000      1.18
+++ include/ipmitool/helper.h   8 Sep 2006 02:27:53 -0000
@@ -38,6 +38,8 @@
 #include <stdio.h>
 #include <string.h>

+struct ipmi_intf;
+
 struct valstr {
        uint16_t val;
        const char * str;
@@ -54,7 +56,8 @@
 void printbuf(const uint8_t * buf, int len, const char * desc);
 uint8_t ipmi_csum(uint8_t * d, int s);
 FILE * ipmi_open_file(const char * file, int rw);
-void ipmi_start_daemon(void);
+void ipmi_start_daemon(struct ipmi_intf *intf);
+

 #define ipmi_open_file_read(file)      ipmi_open_file(file, 0)
 #define ipmi_open_file_write(file)     ipmi_open_file(file, 1)
Index: lib/helper.c
===================================================================
RCS file: /cvsroot/ipmitool/ipmitool/lib/helper.c,v
retrieving revision 1.30
diff -u -r1.30 helper.c
--- lib/helper.c        31 Aug 2006 22:14:29 -0000      1.30
+++ lib/helper.c        8 Sep 2006 02:28:28 -0000
@@ -54,6 +54,7 @@
 # define _PATH_VARRUN "/var/run/"
 #endif

+#include <ipmitool/ipmi_intf.h>
 #include <ipmitool/helper.h>
 #include <ipmitool/log.h>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to