Add void *context field to service data structures (#1265)

This commit is contained in:
Ping
2026-03-23 10:22:28 -07:00
committed by GitHub
parent cbf716f61b
commit 5eda68d381
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ typedef struct BACnet_Read_Property_Data {
int application_data_len; int application_data_len;
BACNET_ERROR_CLASS error_class; BACNET_ERROR_CLASS error_class;
BACNET_ERROR_CODE error_code; BACNET_ERROR_CODE error_code;
void *context; /* user-defined callback context */
} BACNET_READ_PROPERTY_DATA; } BACNET_READ_PROPERTY_DATA;
/* Forward declaration of RPM-style data structure */ /* Forward declaration of RPM-style data structure */
+1
View File
@@ -54,6 +54,7 @@ typedef struct BACnet_Write_Group_Data {
BACNET_GROUP_CHANNEL_VALUE change_list; BACNET_GROUP_CHANNEL_VALUE change_list;
WRITE_GROUP_INHIBIT_DELAY inhibit_delay; WRITE_GROUP_INHIBIT_DELAY inhibit_delay;
struct BACnet_Write_Group_Data *next; struct BACnet_Write_Group_Data *next;
void *context; /* user-defined callback context */
} BACNET_WRITE_GROUP_DATA; } BACNET_WRITE_GROUP_DATA;
/** /**