Changed the GetEventInfo handler somewhat to make it easier on data storage.

This commit is contained in:
skarg
2009-10-12 05:27:08 +00:00
parent a790c053d2
commit f82a844952
2 changed files with 23 additions and 13 deletions
+5 -1
View File
@@ -52,8 +52,12 @@ typedef struct BACnet_Get_Event_Information_Data {
uint32_t eventPriorities[3];
struct BACnet_Get_Event_Information_Data *next;
} BACNET_GET_EVENT_INFORMATION_DATA;
/* return 0 if no active event at this index
return -1 if end of list
return +1 if active event */
typedef int (*get_event_info_function) (
unsigned index,
BACNET_GET_EVENT_INFORMATION_DATA *getevent_data);
#ifdef __cplusplus