Refactored the example BACnet File object and file handler. Corrected bacfile_name compiler error.

This commit is contained in:
skarg
2011-04-07 17:21:09 +00:00
parent bd2eda9a74
commit 7bb2149ea0
3 changed files with 35 additions and 20 deletions
+4 -1
View File
@@ -76,6 +76,9 @@ extern "C" {
/* handler ACK helper */
bool bacfile_read_data(
BACNET_ATOMIC_READ_FILE_DATA * data);
bool bacfile_read_ack_stream_data(
uint32_t instance,
BACNET_ATOMIC_READ_FILE_DATA * data);
bool bacfile_write_stream_data(
BACNET_ATOMIC_WRITE_FILE_DATA * data);
@@ -97,6 +100,6 @@ extern "C" {
#endif /* __cplusplus */
#define FILE_OBJ_FUNCTIONS \
OBJECT_FILE, bacfile_init, bacfile_count, bacfile_index_to_instance, \
bacfile_valid_instance, bacfile_name, bacfile_read_property, \
bacfile_valid_instance, bacfile_object_name, bacfile_read_property, \
bacfile_write_property, BACfile_Property_Lists, NULL
#endif