open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
namespace0_generated.h
Go to the documentation of this file.
1/** WARNING: This is a generated file.
2 * Any manual changes will be overwritten. */
3
4#ifndef NAMESPACE0_GENERATED_H_
5#define NAMESPACE0_GENERATED_H_
6
7
8#ifdef UA_ENABLE_AMALGAMATION
9# include "open62541.h"
10
11/** The following declarations are in the open62541.c file so here's needed when compiling nodesets externally */
12
13# ifndef UA_INTERNAL //this definition is needed to hide this code in the amalgamated .c file
14
15typedef UA_StatusCode (*UA_exchangeEncodeBuffer)(void *handle, UA_Byte **bufPos,
16 const UA_Byte **bufEnd);
17
19UA_encodeBinary(const void *src, const UA_DataType *type,
20 UA_Byte **bufPos, const UA_Byte **bufEnd,
21 UA_exchangeEncodeBuffer exchangeCallback,
22 void *exchangeHandle);
23
25UA_decodeBinary(const UA_ByteString *src, size_t *offset, void *dst,
26 const UA_DataType *type, size_t customTypesSize,
27 const UA_DataType *customTypes);
28
29size_t
30UA_calcSizeBinary(void *p, const UA_DataType *type);
31
32const UA_DataType *
34
35# endif // UA_INTERNAL
36
37#else // UA_ENABLE_AMALGAMATION
38# include <open62541/server.h>
39#endif
40
41
42
43
45
47
49
50#endif /* NAMESPACE0_GENERATED_H_ */
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition config.h:89
#define _UA_END_DECLS
Definition config.h:96
_UA_BEGIN_DECLS UA_StatusCode namespace0_generated(UA_Server *server)
WARNING: This is a generated file.
UA_EXPORT size_t UA_calcSizeBinary(const void *p, const UA_DataType *type)
Returns the number of bytes the value p takes in binary encoding.
uint32_t UA_StatusCode
Definition types.h:77
UA_EXPORT UA_StatusCode UA_decodeBinary(const UA_ByteString *inBuf, void *p, const UA_DataType *type, const UA_DecodeBinaryOptions *options)
Decodes a data structure from the input buffer in the binary format.
uint8_t UA_Byte
Definition types.h:36
UA_EXPORT UA_StatusCode UA_encodeBinary(const void *p, const UA_DataType *type, UA_ByteString *outBuf)
Encodes a data-structure in the binary format.
const UA_DataType * UA_findDataTypeByBinary(const UA_NodeId *typeId)
_UA_BEGIN_DECLS typedef UA_StatusCode(* UA_exchangeEncodeBuffer)(void *handle, UA_Byte **bufPos, const UA_Byte **bufEnd)
This Source Code Form is subject to the terms of the Mozilla Public License, v.