mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
export functions for use
This commit is contained in:
parent
bac5e21634
commit
723b7c0614
@ -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*/
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user