From 109f1ea2401595451ab4dee3f9ae4cde0647b14b Mon Sep 17 00:00:00 2001 From: skarg Date: Sun, 11 Nov 2007 05:39:34 +0000 Subject: [PATCH] Removed uncoded function from RPM header file, and moved test functions into test area. --- bacnet-stack/include/rpm.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/bacnet-stack/include/rpm.h b/bacnet-stack/include/rpm.h index f305213f..2f5391b8 100644 --- a/bacnet-stack/include/rpm.h +++ b/bacnet-stack/include/rpm.h @@ -61,11 +61,6 @@ extern "C" { int rpm_encode_apdu_object_end(uint8_t * apdu); - int rpm_decode_apdu(uint8_t * apdu, - unsigned apdu_len, - uint8_t * invoke_id, - uint8_t ** service_request, unsigned *service_request_len); - /* decode the object portion of the service request only */ int rpm_decode_object_id(uint8_t * apdu, unsigned apdu_len, @@ -104,16 +99,18 @@ extern "C" { int rpm_ack_decode_object_property(uint8_t * apdu, unsigned apdu_len, BACNET_PROPERTY_ID * object_property, int32_t * array_index); -/* decode the object property value portion of the service request only */ - int rpm_ack_decode_object_property_value(uint8_t * apdu, + +#ifdef TEST +#include "ctest.h" + int rpm_decode_apdu(uint8_t * apdu, unsigned apdu_len, - uint8_t ** application_data, unsigned *application_data_len); + uint8_t * invoke_id, + uint8_t ** service_request, unsigned *service_request_len); + int rpm_ack_decode_apdu(uint8_t * apdu, int apdu_len, /* total length of the apdu */ uint8_t * invoke_id, uint8_t ** service_request, unsigned *service_request_len); -#ifdef TEST -#include "ctest.h" void testReadPropertyMultiple(Test * pTest); void testReadPropertyMultipleAck(Test * pTest); #endif