From f462e5d023d74661dbb42283e5bad056fb8e997e Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 18 Aug 2010 17:57:40 +0000 Subject: [PATCH] Updated prototypes and include as required and found by compile with extra checking. --- bacnet-stack/include/bacfile.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bacnet-stack/include/bacfile.h b/bacnet-stack/include/bacfile.h index 5c5e23fd..9c6caf74 100644 --- a/bacnet-stack/include/bacfile.h +++ b/bacnet-stack/include/bacfile.h @@ -60,6 +60,8 @@ extern "C" { void); uint32_t bacfile_index_to_instance( unsigned find_index); + unsigned bacfile_instance_to_index( + uint32_t instance); uint32_t bacfile_instance( char *filename); /* this is one way to match up the invoke ID with */ @@ -81,11 +83,11 @@ extern "C" { uint32_t bacfile_file_size( uint32_t instance); -/* handling for read property service */ + /* handling for read property service */ int bacfile_read_property( BACNET_READ_PROPERTY_DATA * rpdata); -/* handling for write property service */ + /* handling for write property service */ bool bacfile_write_property( BACNET_WRITE_PROPERTY_DATA * wp_data);