Added externs declarations to header files to handle C++ compilation.

Cleaned up BACnet/IP API a little.
This commit is contained in:
skarg
2005-08-13 14:10:21 +00:00
parent fdbe2eab1e
commit 2e87236e9b
36 changed files with 307 additions and 76 deletions
+8
View File
@@ -47,6 +47,10 @@ typedef struct BACnet_Read_Property_Data
int application_data_len;
} BACNET_READ_PROPERTY_DATA;
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
// encode service
int rp_encode_apdu(
uint8_t *apdu,
@@ -89,5 +93,9 @@ void test_ReadProperty(Test * pTest);
void test_ReadPropertyAck(Test * pTest);
#endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif