|
@@ -5,6 +5,10 @@
|
|
#ifndef UA_TYPES_ENCODING_BINARY_H_
|
|
#ifndef UA_TYPES_ENCODING_BINARY_H_
|
|
#define UA_TYPES_ENCODING_BINARY_H_
|
|
#define UA_TYPES_ENCODING_BINARY_H_
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+extern "C" {
|
|
|
|
+#endif
|
|
|
|
+
|
|
#include "ua_types.h"
|
|
#include "ua_types.h"
|
|
|
|
|
|
typedef UA_StatusCode (*UA_exchangeEncodeBuffer)(void *handle, UA_Byte **bufPos, const UA_Byte **bufEnd);
|
|
typedef UA_StatusCode (*UA_exchangeEncodeBuffer)(void *handle, UA_Byte **bufPos, const UA_Byte **bufEnd);
|
|
@@ -21,4 +25,8 @@ UA_decodeBinary(const UA_ByteString *src, size_t *offset, void *dst,
|
|
|
|
|
|
size_t UA_calcSizeBinary(void *p, const UA_DataType *type);
|
|
size_t UA_calcSizeBinary(void *p, const UA_DataType *type);
|
|
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
+
|
|
#endif /* UA_TYPES_ENCODING_BINARY_H_ */
|
|
#endif /* UA_TYPES_ENCODING_BINARY_H_ */
|