Changeset 5826 for luci2/upsd/core.h
- Timestamp:
- 03/15/10 18:37:17 (3 years ago)
- Files:
-
- 1 modified
-
luci2/upsd/core.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
luci2/upsd/core.h
r5807 r5826 13 13 #define UPSD_LOCAL 14 14 #endif 15 16 #ifdef UPSD_STANDALONE 17 #define UHTBL_API UPSD_LOCAL 18 #endif 19 20 #include "libmbox/hash.h" 21 #include "libmbox/uhtbl.h" 15 22 16 23 #define UPSD_LENGTHOF(array) (sizeof(array) / sizeof(*array)) … … 66 73 /* Event dataset */ 67 74 struct upsd_event { 75 uhtbl_head_t __head; 68 76 uint16_t receiving; 69 77 uint16_t emitting; … … 97 105 }; 98 106 99 100 #include "cbi2/hmap.h"101 102 107 struct upsd_state { 103 cbi2_hmap_t *events;108 uhtbl_t events; 104 109 upsd_extension_t *extensions; 105 110 upsd_report_t *report;
