Added externs declarations to header files to handle C++ compilation.
Cleaned up BACnet/IP API a little.
This commit is contained in:
@@ -53,6 +53,10 @@ typedef struct BACnet_Read_Property_Multiple_Data
|
||||
unsigned property_list_len;
|
||||
} BACNET_READ_PROPERTY_MULTIPLE_DATA;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
// encode service
|
||||
int rpm_encode_apdu(
|
||||
uint8_t *apdu,
|
||||
@@ -95,5 +99,9 @@ void test_ReadProperty(Test * pTest);
|
||||
void test_ReadPropertyAck(Test * pTest);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user