Add void *context field to service data structures (#1265)
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user