export functions for use

This commit is contained in:
Duncan Laurie 2005-05-16 23:59:23 +00:00
parent bac5e21634
commit 723b7c0614
2 changed files with 6 additions and 2 deletions

View File

@ -41,6 +41,7 @@
# include <config.h>
#endif
#include <ipmitool/ipmi.h>
#include <ipmitool/ipmi_sdr.h>
#define IPMI_NETFN_SUNOEM 0x2e
@ -53,5 +54,8 @@
int ipmi_sunoem_main(struct ipmi_intf *, int, char **);
struct ipmi_rs * sunoem_led_get(struct ipmi_intf * intf, struct sdr_record_generic_locator * dev, int ledtype);
struct ipmi_rs * sunoem_led_set(struct ipmi_intf * intf, struct sdr_record_generic_locator * dev, int ledtype, int ledmode);
#endif /*IPMI_SUNOEM_H*/

View File

@ -183,7 +183,7 @@ led_print(const char * name, uint8_t state)
printf("%-16s | %s\n", name, val2str(state, sunoem_led_mode_vals));
}
static struct ipmi_rs *
struct ipmi_rs *
sunoem_led_get(struct ipmi_intf * intf,
struct sdr_record_generic_locator * dev,
int ledtype)
@ -220,7 +220,7 @@ sunoem_led_get(struct ipmi_intf * intf,
return rsp;
}
static struct ipmi_rs *
struct ipmi_rs *
sunoem_led_set(struct ipmi_intf * intf,
struct sdr_record_generic_locator * dev,
int ledtype, int ledmode)