commit | 30195faf953a93c03dac9bdc0254b7deb5de567d | [log] [tgz] |
---|---|---|
author | Chris Austen <austenc@us.ibm.com> | Fri Nov 13 14:39:19 2015 -0600 |
committer | Chris Austen <austenc@us.ibm.com> | Fri Nov 13 14:39:19 2015 -0600 |
tree | 58d18d7cde860f77800b6b50a4e62616aa7a7ddf | |
parent | 1da5c8668368417802f2c0007f61dbe35c3c3052 [diff] [blame] |
ipmid taking too many dbus connections
diff --git a/ipmid-api.h b/ipmid-api.h index b3117d5..34d3bbe 100644 --- a/ipmid-api.h +++ b/ipmid-api.h
@@ -1,6 +1,7 @@ #ifndef __HOST_IPMID_IPMI_COMMON_H__ #define __HOST_IPMID_IPMI_COMMON_H__ #include <stdlib.h> +#include <systemd/sd-bus.h> // length of Completion Code and its ALWAYS _1_ #define IPMI_CC_LEN 1 @@ -93,4 +94,5 @@ IPMI_CC_UNSPECIFIED_ERROR = 0xFF, }; +sd_bus *ipmid_get_sd_bus_connection(void); #endif