S2OPC OPCUA Toolkit
sopc_builtintypes.h
Go to the documentation of this file.
1 /*
2  * Licensed to Systerel under one or more contributor license
3  * agreements. See the NOTICE file distributed with this work
4  * for additional information regarding copyright ownership.
5  * Systerel licenses this file to you under the Apache
6  * License, Version 2.0 (the "License"); you may not use this
7  * file except in compliance with the License. You may obtain
8  * a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
20 #ifndef SOPC_BUILTINTYPES_H_
21 #define SOPC_BUILTINTYPES_H_
22 
23 #include <stdbool.h>
24 #include <stdint.h>
25 #include <time.h>
26 
27 #include "sopc_dict.h"
28 #include "sopc_encodeabletype.h"
29 #include "sopc_enums.h"
30 #include "sopc_numeric_range.h"
32 
33 // s2opc_common_export.h is generated by CMake, when not using CMake, copy and include
34 // "src/Common/helpers_platform_dep/<platform>/s2opc_common_export.h_"
35 #include "s2opc_common_export.h"
36 
37 typedef uint32_t SOPC_StatusCode;
38 
42 #define SOPC_GoodGenericStatus 0x00000000
43 
47 #define SOPC_GoodStatusOppositeMask 0xC0000000
48 
56 
60 #define SOPC_UncertainStatusMask 0x40000000
61 #define SOPC_BadStatusMask 0x80000000
62 
66 #define SOPC_DataValueOverflowStatusMask 0x00000480
67 
71 typedef enum
72 {
102 
107 
108 typedef enum SOPC_BuiltinId
109 {
137 #define SOPC_BUILTINID_MAX 25
138 
139 typedef uint8_t SOPC_Byte;
140 
142 
143 typedef int8_t SOPC_SByte;
144 
148 typedef struct SOPC_String
149 {
150  int32_t Length;
151  bool DoNotClear; // flag indicating if bytes must be freed
152  SOPC_Byte* Data; // Consider as <em>const SOPC_Byte*</em> if DoNotClear is set
154 
157 
158 typedef int64_t SOPC_DateTime;
159 
160 typedef struct SOPC_Guid
161 {
162  /* Reproduces the specification memory format:
163  * - Data1 to Data3 are local-endian
164  * - Data4 is big endian and spans across the 16 last digits.
165  */
166  uint32_t Data1;
167  uint16_t Data2;
168  uint16_t Data3;
171 
176 {
182 
186 typedef struct SOPC_NodeId
187 {
189  uint16_t Namespace;
190 
191  union
192  {
193  uint32_t Numeric;
197  } Data;
199 
204 typedef struct SOPC_ExpandedNodeId
205 {
208  uint32_t ServerIndex;
210 
214 typedef struct SOPC_DiagnosticInfo
215 {
216  int32_t SymbolicId;
217  int32_t NamespaceUri;
218  int32_t Locale;
219  int32_t LocalizedText;
224 
225 typedef struct SOPC_QualifiedName
226 {
227  uint16_t NamespaceIndex;
230 
231 typedef struct SOPC_LocalizedText
232 {
233  /* The default locale shall be stored only here and not in the list.
234  * It is the only one encoded / decoded for SOPC_LocalizedText structure. */
237 
238  /* This field is only used on SERVER side for toolkit configuration structures (OpcUa_ApplicationDescription)
239  * or for node values (of type localized text) in the address space to store several locales.
240  * On CLIENT side this field is always NULL and shall be ignored. */
241  SOPC_SLinkedList* localizedTextList; // If NULL => no other localized text defined
243 
248 {
254 
259 typedef struct SOPC_ExtensionObject
260 {
263 
264  union
265  {
268  struct
269  {
270  void* Value;
273 
274  } Body;
275 
276  int32_t Length;
277 
279 
281 {
282  SOPC_VariantArrayValueFlag = 128, // 2^7 => bit 7
283  SOPC_VariantArrayDimensionsFlag = 64 // 2^6 => bit 6
285 
286 // Binary compatible types
288 {
293 
298 {
302  int16_t* Int16Arr;
303  uint16_t* Uint16Arr;
304  int32_t* Int32Arr;
305  uint32_t* Uint32Arr;
306  int64_t* Int64Arr;
307  uint64_t* Uint64Arr;
308  float* FloatvArr;
309  double* DoublevArr;
323  SOPC_DiagnosticInfo* DiagInfoArr; // TODO: not present ?
325 
329 typedef union SOPC_VariantValue
330 {
334  int16_t Int16;
335  uint16_t Uint16;
336  int32_t Int32;
337  uint32_t Uint32;
338  int64_t Int64;
339  uint64_t Uint64;
340  float Floatv;
341  double Doublev;
354  SOPC_DiagnosticInfo* DiagInfo; // TODO: not present ?
355  struct
356  {
357  int32_t Length;
359  } Array;
360  struct
361  {
362  int32_t Dimensions;
363  int32_t*
364  ArrayDimensions; // Product of dimensions must be <= INT32_MAX ! (binary arrayLength valid for matrix too)
367 
369 
373 typedef struct SOPC_Variant
374 {
375  bool DoNotClear; // flag indicating if variant content must be freed
380 
384 typedef struct SOPC_DataValue
385 {
388  SOPC_DateTime SourceTimestamp; // 100 nanoseconds
389  SOPC_DateTime ServerTimestamp; // 100 nanoseconds
390  uint16_t SourcePicoSeconds; // 10 picoseconds
391  uint16_t ServerPicoSeconds; // 10 picoseconds
393 
395 
396 // Macro to retrieve a pointer on the first value in array/matrix for any variant array/matrix content
397 // e.g. SOPC_VARIANT_GET_ARRAY_VALUES_PTR(&myVariant, ExtObject)
398 // note: BuiltInTypeId shall be consistant with requested type and returns NULL if variant is a single value
399 #define SOPC_VARIANT_GET_ARRAY_VALUES_PTR(pVar, eltTypeName) \
400  (SOPC_VariantArrayType_Array == pVar->ArrayType \
401  ? pVar->Value.Array.Content.eltTypeName##Arr \
402  : (SOPC_VariantArrayType_Matrix == pVar->ArrayType ? pVar->Value.Matrix.Content.eltTypeName##Arr : NULL))
403 
404 #define SECURITY_POLICY_NONE "http://opcfoundation.org/UA/SecurityPolicy#None"
405 #define SECURITY_POLICY_BASIC128RSA15 "http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15"
406 #define SECURITY_POLICY_BASIC256 "http://opcfoundation.org/UA/SecurityPolicy#Basic256"
407 #define SECURITY_POLICY_BASIC256SHA256 "http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256"
408 
409 /**** BOOLEAN ****/
421 
429 void SOPC_Boolean_InitializeAux(void* value);
430 
444 SOPC_ReturnStatus SOPC_Boolean_CopyAux(void* dest, const void* src);
445 
462 SOPC_ReturnStatus SOPC_Boolean_CompareAux(const void* left, const void* right, int32_t* comparison);
473 
483 void SOPC_Boolean_ClearAux(void* value);
484 
485 /**** SByte ****/
488 void SOPC_SByte_InitializeAux(void* value);
489 SOPC_ReturnStatus SOPC_SByte_CopyAux(void* dest, const void* src);
490 SOPC_ReturnStatus SOPC_SByte_CompareAux(const void* left, const void* right, int32_t* comparison);
492 void SOPC_SByte_ClearAux(void* value);
493 
494 /**** Byte ****/
497 void SOPC_Byte_InitializeAux(void* value);
498 SOPC_ReturnStatus SOPC_Byte_CopyAux(void* dest, const void* src);
499 SOPC_ReturnStatus SOPC_Byte_CompareAux(const void* left, const void* right, int32_t* comparison);
501 void SOPC_Byte_ClearAux(void* value);
502 
503 /**** Int16 ****/
505 void SOPC_Int16_Initialize(int16_t* intv);
506 void SOPC_Int16_InitializeAux(void* value);
507 SOPC_ReturnStatus SOPC_Int16_CopyAux(void* dest, const void* src);
508 SOPC_ReturnStatus SOPC_Int16_CompareAux(const void* left, const void* right, int32_t* comparison);
509 void SOPC_Int16_Clear(int16_t* intv);
510 void SOPC_Int16_ClearAux(void* value);
511 
512 /**** UInt16 ****/
514 void SOPC_UInt16_Initialize(uint16_t* uint);
515 void SOPC_UInt16_InitializeAux(void* value);
516 SOPC_ReturnStatus SOPC_UInt16_CopyAux(void* dest, const void* src);
517 SOPC_ReturnStatus SOPC_UInt16_CompareAux(const void* left, const void* right, int32_t* comparison);
518 void SOPC_UInt16_Clear(uint16_t* uint);
519 void SOPC_UInt16_ClearAux(void* value);
520 
521 /**** Int32 ****/
523 void SOPC_Int32_Initialize(int32_t* intv);
524 void SOPC_Int32_InitializeAux(void* value);
525 SOPC_ReturnStatus SOPC_Int32_CopyAux(void* dest, const void* src);
526 SOPC_ReturnStatus SOPC_Int32_CompareAux(const void* left, const void* right, int32_t* comparison);
527 void SOPC_Int32_Clear(int32_t* intv);
528 void SOPC_Int32_ClearAux(void* value);
529 
530 /**** UInt32 ****/
532 void SOPC_UInt32_Initialize(uint32_t* uint);
533 void SOPC_UInt32_InitializeAux(void* value);
534 SOPC_ReturnStatus SOPC_UInt32_CopyAux(void* dest, const void* src);
535 SOPC_ReturnStatus SOPC_UInt32_CompareAux(const void* left, const void* right, int32_t* comparison);
536 void SOPC_UInt32_Clear(uint32_t* uint);
537 void SOPC_UInt32_ClearAux(void* value);
538 
539 /**** Int64 ****/
541 void SOPC_Int64_Initialize(int64_t* intv);
542 void SOPC_Int64_InitializeAux(void* value);
543 SOPC_ReturnStatus SOPC_Int64_CopyAux(void* dest, const void* src);
544 SOPC_ReturnStatus SOPC_Int64_CompareAux(const void* left, const void* right, int32_t* comparison);
545 void SOPC_Int64_Clear(int64_t* intv);
546 void SOPC_Int64_ClearAux(void* value);
547 
548 /**** UInt64 ****/
550 void SOPC_UInt64_Initialize(uint64_t* uint);
551 void SOPC_UInt64_InitializeAux(void* value);
552 SOPC_ReturnStatus SOPC_UInt64_CopyAux(void* dest, const void* src);
553 SOPC_ReturnStatus SOPC_UInt64_CompareAux(const void* left, const void* right, int32_t* comparison);
554 void SOPC_UInt64_Clear(uint64_t* uint);
555 void SOPC_UInt64_ClearAux(void* value);
556 
557 /**** Float ****/
559 void SOPC_Float_Initialize(float* f);
560 void SOPC_Float_InitializeAux(void* value);
561 SOPC_ReturnStatus SOPC_Float_CopyAux(void* dest, const void* src);
562 SOPC_ReturnStatus SOPC_Float_CompareAux(const void* left, const void* right, int32_t* comparison);
563 void SOPC_Float_Clear(float* f);
564 void SOPC_Float_ClearAux(void* value);
565 
566 /**** Double ****/
568 void SOPC_Double_Initialize(double* d);
569 void SOPC_Double_InitializeAux(void* value);
570 SOPC_ReturnStatus SOPC_Double_CopyAux(void* dest, const void* src);
571 SOPC_ReturnStatus SOPC_Double_CompareAux(const void* left, const void* right, int32_t* comparison);
572 void SOPC_Double_Clear(double* d);
573 void SOPC_Double_ClearAux(void* value);
574 
575 /**** ByteString ****/
579 
592 
607 
616 
620 SOPC_ReturnStatus SOPC_ByteString_CopyAux(void* dest, const void* src);
624 void SOPC_ByteString_ClearAux(void* value);
625 
637 
640  const SOPC_ByteString* right,
641  int32_t* comparison);
643 SOPC_ReturnStatus SOPC_ByteString_CompareAux(const void* left, const void* right, int32_t* comparison);
644 
654 bool SOPC_ByteString_Equal(const SOPC_ByteString* left, const SOPC_ByteString* right);
655 
659 void SOPC_String_InitializeAux(void* value);
662 
671 SOPC_ReturnStatus SOPC_String_CopyAux(void* dest, const void* src);
672 
684 
691 char* SOPC_String_GetCString(const SOPC_String* string);
692 
703 const char* SOPC_String_GetRawCString(const SOPC_String* string);
704 
712 
721 
737 void SOPC_String_ClearAux(void* value);
740 
758  const SOPC_String* right,
759  bool ignoreCase,
760  int32_t* comparison);
761 SOPC_ReturnStatus SOPC_String_CompareAux(const void* left, const void* right, int32_t* comparison);
762 
763 bool SOPC_String_Equal(const SOPC_String* left, const SOPC_String* right);
764 
778 const char** SOPC_String_GetRawCStringArray(int32_t nbOfStrings, SOPC_String* stringArray);
779 
791 char** SOPC_String_GetCStringArray(int32_t nbOfStrings, SOPC_String* stringArray);
792 
793 /**** XmlElement ****/
798 SOPC_ReturnStatus SOPC_XmlElement_CopyAux(void* dest, const void* src);
800  const SOPC_XmlElement* right,
801  int32_t* comparison);
802 SOPC_ReturnStatus SOPC_XmlElement_CompareAux(const void* left, const void* right, int32_t* comparison);
804 void SOPC_XmlElement_ClearAux(void* value);
805 
806 /**** DateTime ****/
809 void SOPC_DateTime_InitializeAux(void* value);
810 SOPC_ReturnStatus SOPC_DateTime_CopyAux(void* dest, const void* src);
811 SOPC_ReturnStatus SOPC_DateTime_Compare(const SOPC_DateTime* left, const SOPC_DateTime* right, int32_t* comparison);
812 SOPC_ReturnStatus SOPC_DateTime_CompareAux(const void* left, const void* right, int32_t* comparison);
814 void SOPC_DateTime_ClearAux(void* value);
815 
816 /**** Guid ****/
819 void SOPC_Guid_InitializeAux(void* value);
820 SOPC_ReturnStatus SOPC_Guid_FromCString(SOPC_Guid* guid, const char* str, size_t len);
821 char* SOPC_Guid_ToCString(const SOPC_Guid* guid);
823 SOPC_ReturnStatus SOPC_Guid_CompareAux(const void* left, const void* right, int32_t* comparison);
824 SOPC_ReturnStatus SOPC_Guid_CopyAux(void* dest, const void* src);
825 SOPC_ReturnStatus SOPC_Guid_Compare(const SOPC_Guid* left, const SOPC_Guid* right, int32_t* comparison);
827 void SOPC_Guid_ClearAux(void* value);
828 
829 /**** NodeId ****/
832 void SOPC_NodeId_InitializeAux(void* value);
834 SOPC_ReturnStatus SOPC_NodeId_CopyAux(void* dest, const void* src);
836 void SOPC_NodeId_ClearAux(void* value);
837 
838 SOPC_ReturnStatus SOPC_NodeId_Compare(const SOPC_NodeId* left, const SOPC_NodeId* right, int32_t* comparison);
839 SOPC_ReturnStatus SOPC_NodeId_CompareAux(const void* left, const void* right, int32_t* comparison);
840 bool SOPC_NodeId_Equal(const SOPC_NodeId* left, const SOPC_NodeId* right);
841 bool SOPC_NodeId_IsNull(const SOPC_NodeId* nodeId);
842 
843 void SOPC_NodeId_Hash(const SOPC_NodeId* nodeId, uint64_t* hash);
844 
847 char* SOPC_NodeId_ToCString(const SOPC_NodeId* nodeId);
849 SOPC_ReturnStatus SOPC_NodeId_InitializeFromCString(SOPC_NodeId* pNid, const char* cString, int32_t len);
851 SOPC_NodeId* SOPC_NodeId_FromCString(const char* cString, int32_t len);
857 
858 #define SOPC_NS0_NUMERIC_NODEID(opcUaId) \
859  { \
860  SOPC_IdentifierType_Numeric, 0, .Data.Numeric = opcUaId \
861  }
862 
863 /**** ExpandedNodeId ****/
868 SOPC_ReturnStatus SOPC_ExpandedNodeId_CopyAux(void* dest, const void* src);
870  const SOPC_ExpandedNodeId* right,
871  int32_t* comparison);
872 SOPC_ReturnStatus SOPC_ExpandedNodeId_CompareAux(const void* left, const void* right, int32_t* comparison);
875 
876 /**** StatusCode ****/
880 SOPC_ReturnStatus SOPC_StatusCode_CopyAux(void* dest, const void* src);
881 SOPC_ReturnStatus SOPC_StatusCode_CompareAux(const void* left, const void* right, int32_t* comparison);
883 void SOPC_StatusCode_ClearAux(void* value);
884 
885 /**** DiagnosticInfo ****/
890 SOPC_ReturnStatus SOPC_DiagnosticInfo_CopyAux(void* dest, const void* src);
892  const SOPC_DiagnosticInfo* right,
893  int32_t* comparison);
894 SOPC_ReturnStatus SOPC_DiagnosticInfo_CompareAux(const void* left, const void* right, int32_t* comparison);
897 
898 /**** QualifiedName ****/
903 SOPC_ReturnStatus SOPC_QualifiedName_CopyAux(void* dest, const void* src);
905  const SOPC_QualifiedName* right,
906  int32_t* comparison);
907 SOPC_ReturnStatus SOPC_QualifiedName_CompareAux(const void* left, const void* right, int32_t* comparison);
909 void SOPC_QualifiedName_ClearAux(void* value);
911 
912 /**** LocalizedText ****/
917 SOPC_ReturnStatus SOPC_LocalizedText_CopyAux(void* dest, const void* src);
919  const SOPC_LocalizedText* right,
920  int32_t* comparison);
921 SOPC_ReturnStatus SOPC_LocalizedText_CompareAux(const void* left, const void* right, int32_t* comparison);
923 void SOPC_LocalizedText_ClearAux(void* value);
924 
939  int32_t nbElts,
940  const SOPC_LocalizedText* srcArrayOfLt);
941 
953  int32_t* nbElts,
954  const SOPC_LocalizedText* srcSetOfLt);
955 
970  char** supportedLocaleIds,
971  const SOPC_LocalizedText* src);
972 
990  char** preferredLocaleIds,
991  const SOPC_LocalizedText* srcSetOfLt);
992 
993 /* Same as SOPC_LocalizedText_GetPreferredLocale but using an array of single LocalizedText as source */
995  char** preferredLocaleIds,
996  int32_t nbLocalizedText,
997  const SOPC_LocalizedText* srcArray);
998 
999 /**** ExtensionObject ****/
1003 
1004 /* Copy returned is encoded version of the extension object if its representation was an Object.
1005  * i.e.: if src contains an Object, dest contains a ByteString with encoded object. In other case the ByteString or
1006  * XmlElement content is just copied.
1007  *
1008  * Note: reason is we do not have a copy method for Object type but we have an encoder
1009  */
1011 /* Move extension object content from src to dest.
1012  * Note: this function is provided to allow to keep the object format when no copy is needed
1013  * (since copy encode the object)
1014  */
1018  const SOPC_ExtensionObject* right,
1019  int32_t* comparison);
1020 SOPC_ReturnStatus SOPC_ExtensionObject_CompareAux(const void* left, const void* right, int32_t* comparison);
1023 
1024 /**** Variant ****/
1025 
1042 typedef SOPC_ReturnStatus(SOPC_VariantValue_PfnCompCustom)(const void* customContext,
1043  SOPC_BuiltinId builtInTypeId,
1044  const void* left,
1045  const void* right,
1046  int32_t* compResult);
1047 
1054 bool SOPC_Variant_Initialize_Array(SOPC_Variant* var, SOPC_BuiltinId builtInId, int32_t length);
1055 void SOPC_Null_ClearAux(void* value);
1056 SOPC_ReturnStatus SOPC_Null_CompareAux(const void* dest, const void* src, int32_t* comparison);
1057 SOPC_ReturnStatus SOPC_Null_CopyAux(void* dest, const void* src);
1058 void SOPC_Variant_InitializeAux(void* value);
1060 SOPC_ReturnStatus SOPC_Variant_CopyAux(void* dest, const void* src);
1061 
1085  const SOPC_NumericRange* range,
1086  bool fullRange,
1087  bool* hasRange);
1090 
1091 // Raw copy of structure content without new allocation: destination variant content will not be freed on clear
1093 
1094 // Does a shallow copy from src to dst, transfering the ownership to dst.
1095 //
1096 // The value of DoNotClear is transfered from src to dst, and src->DoNotClear is
1097 // set to true after this function returns (since the ownership of the data moved
1098 // to dst).
1100 
1101 SOPC_ReturnStatus SOPC_Variant_Compare(const SOPC_Variant* left, const SOPC_Variant* right, int32_t* comparison);
1102 SOPC_ReturnStatus SOPC_Variant_CompareAux(const void* left, const void* right, int32_t* comparison);
1104  const void* compCustomContext,
1105  const SOPC_Variant* left,
1106  const SOPC_Variant* right,
1107  int32_t* comparison);
1109  const SOPC_Variant* right,
1110  const SOPC_NumericRange* range,
1111  int32_t* comparison);
1112 
1114  const void* compCustomContext,
1115  const SOPC_Variant* left,
1116  const SOPC_Variant* right,
1117  const SOPC_NumericRange* range,
1118  int32_t* comparison);
1119 
1121 void SOPC_Variant_ClearAux(void* value);
1123 
1124 // Raw function to print a variant on standard output. Do not display array or matrix.
1126 
1140 const void* SOPC_Variant_Get_SingleValue(const SOPC_Variant* var, SOPC_BuiltinId builtInTypeId);
1141 const void* SOPC_Variant_Get_ArrayValue(const SOPC_Variant* var, SOPC_BuiltinId builtInTypeId, int32_t index);
1143  SOPC_BuiltinId builtInTypeId,
1144  int32_t index,
1145  const void* value);
1146 
1167 bool SOPC_ValueRank_IsAssignableInto(int32_t dest_ValueRank, int32_t src_valueRank);
1168 
1169 /**** DataValue ****/
1174 SOPC_ReturnStatus SOPC_DataValue_CopyAux(void* dest, const void* src);
1175 SOPC_ReturnStatus SOPC_DataValue_Compare(const SOPC_DataValue* left, const SOPC_DataValue* right, int32_t* comparison);
1176 SOPC_ReturnStatus SOPC_DataValue_CompareAux(const void* left, const void* right, int32_t* comparison);
1178  const SOPC_DataValue* right,
1179  const SOPC_NumericRange* range,
1180  int32_t* comparison);
1182 void SOPC_DataValue_ClearAux(void* value);
1183 
1184 void SOPC_Initialize_Array(int32_t noOfElts,
1185  void* eltsArray,
1186  size_t sizeOfElt,
1189  void* eltsArrayDest,
1190  const void* eltsArraySrc,
1191  size_t sizeOfElt,
1194  const void* eltsArrayLeft,
1195  const void* eltsArrayRight,
1196  size_t sizeOfElt,
1198  int32_t* comparisonResult);
1200  const void* eltsArrayLeft,
1201  const void* eltsArrayRight,
1202  size_t sizeOfElt,
1203  SOPC_VariantValue_PfnCompCustom* compCustomFct,
1204  const void* customCompContext,
1205  SOPC_BuiltinId builtInId,
1206  int32_t* comparisonResult);
1207 void SOPC_Clear_Array(int32_t* noOfElts, void** eltsArray, size_t sizeOfElt, SOPC_EncodeableObject_PfnClear* clearFct);
1208 
1216 {
1217  size_t size;
1223 
1230 
1231 #endif /* SOPC_SOPC_BUILTINTYPES_H_ */
SOPC_String_InitializeFromCString
SOPC_ReturnStatus SOPC_String_InitializeFromCString(SOPC_String *string, const char *cString)
Initialize the content of a specific builtintype pointer with a C-String.
SOPC_VariantArrayValue::QnameArr
SOPC_QualifiedName * QnameArr
Definition: sopc_builtintypes.h:318
SOPC_Initialize_Array
void SOPC_Initialize_Array(int32_t noOfElts, void *eltsArray, size_t sizeOfElt, SOPC_EncodeableObject_PfnInitialize *initFct)
SOPC_VariantValue::Boolean
SOPC_Boolean Boolean
Definition: sopc_builtintypes.h:331
SOPC_LocalizedText_Compare
SOPC_ReturnStatus SOPC_LocalizedText_Compare(const SOPC_LocalizedText *left, const SOPC_LocalizedText *right, int32_t *comparison)
SOPC_DataValue_Clear
void SOPC_DataValue_Clear(SOPC_DataValue *dataValue)
SOPC_Variant_ClearAux
void SOPC_Variant_ClearAux(void *value)
SOPC_DiagnosticInfo::AdditionalInfo
SOPC_String AdditionalInfo
Definition: sopc_builtintypes.h:220
SOPC_Double_Initialize
void SOPC_Double_Initialize(double *d)
SOPC_DataValue::Value
SOPC_Variant Value
Definition: sopc_builtintypes.h:386
SOPC_Variant::ArrayType
SOPC_VariantArrayType ArrayType
Definition: sopc_builtintypes.h:377
SOPC_String_AttachFromCstring
SOPC_ReturnStatus SOPC_String_AttachFromCstring(SOPC_String *dest, const char *src)
Create a shallow copy of src (C-String) into dest. The src string must not be freed/modified before d...
SOPC_Byte_Clear
void SOPC_Byte_Clear(SOPC_Byte *byte)
SOPC_VariantValue::Array
struct SOPC_VariantValue::@8 Array
SOPC_Variant_Create
SOPC_Variant * SOPC_Variant_Create(void)
allocates and return a SOPC_Variant
SOPC_NodeId
struct SOPC_NodeId SOPC_NodeId
This structure describes a basic NodeID in OPC UA.
SOPC_NodeId
This structure describes a basic NodeID in OPC UA.
Definition: sopc_builtintypes.h:187
SOPC_NodeId::Namespace
uint16_t Namespace
Definition: sopc_builtintypes.h:189
SOPC_Guid_Clear
void SOPC_Guid_Clear(SOPC_Guid *guid)
SOPC_Variant_Delete
void SOPC_Variant_Delete(SOPC_Variant *variant)
S2OPC_COMMON_EXPORT
#define S2OPC_COMMON_EXPORT
Definition: s2opc_common_export.h:33
SOPC_ExpandedNodeId
struct SOPC_ExpandedNodeId SOPC_ExpandedNodeId
ExpandedNodeId allows the namespace to be specified explicitly as a string or with an index in the Se...
SOPC_VariantValue
This union provides all possible contents for Variant, depending on their SOPC_BuiltinId.
Definition: sopc_builtintypes.h:330
SOPC_BuiltInType_Handling::size
size_t size
Definition: sopc_builtintypes.h:1217
SOPC_ExpandedNodeId_Initialize
void SOPC_ExpandedNodeId_Initialize(SOPC_ExpandedNodeId *expNodeId)
SOPC_Int64_Id
@ SOPC_Int64_Id
Definition: sopc_builtintypes.h:118
SOPC_String_Initialize
void SOPC_String_Initialize(SOPC_String *string)
SOPC_Float_Initialize
void SOPC_Float_Initialize(float *f)
SOPC_IdentifierType_ByteString
@ SOPC_IdentifierType_ByteString
Definition: sopc_builtintypes.h:180
SOPC_Variant::BuiltInTypeId
SOPC_BuiltinId BuiltInTypeId
Definition: sopc_builtintypes.h:376
SOPC_VariantArrayValue::Int32Arr
int32_t * Int32Arr
Definition: sopc_builtintypes.h:304
SOPC_AttributeId_RolePermissions
@ SOPC_AttributeId_RolePermissions
Definition: sopc_builtintypes.h:97
SOPC_AttributeId_NodeId
@ SOPC_AttributeId_NodeId
Definition: sopc_builtintypes.h:74
SOPC_NodeId_IsNull
bool SOPC_NodeId_IsNull(const SOPC_NodeId *nodeId)
SOPC_Null_Id
@ SOPC_Null_Id
Definition: sopc_builtintypes.h:110
SOPC_VariantValue::Matrix
struct SOPC_VariantValue::@9 Matrix
SOPC_ExtensionObject_CompareAux
SOPC_ReturnStatus SOPC_ExtensionObject_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_VariantArrayValue::SbyteArr
SOPC_SByte * SbyteArr
Definition: sopc_builtintypes.h:300
SOPC_AttributeId_UserExecutable
@ SOPC_AttributeId_UserExecutable
Definition: sopc_builtintypes.h:95
SOPC_Variant_Copy
SOPC_ReturnStatus SOPC_Variant_Copy(SOPC_Variant *dest, const SOPC_Variant *src)
SOPC_Int16_Initialize
void SOPC_Int16_Initialize(int16_t *intv)
SOPC_UInt16_Clear
void SOPC_UInt16_Clear(uint16_t *uint)
SOPC_ByteString_Initialize
void SOPC_ByteString_Initialize(SOPC_ByteString *bstring)
SOPC_ExtensionObject
An ExtensionObject is a container for any Structured DataTypes which cannot be encoded as one of the ...
Definition: sopc_builtintypes.h:260
SOPC_VariantValue::Qname
SOPC_QualifiedName * Qname
Definition: sopc_builtintypes.h:350
SOPC_StatusCode
uint32_t SOPC_StatusCode
Definition: libs2opc_client.h:60
SOPC_ExpandedNodeId_CopyAux
SOPC_ReturnStatus SOPC_ExpandedNodeId_CopyAux(void *dest, const void *src)
SOPC_StatusCode_ToTcpErrorCode
SOPC_StatusCode SOPC_StatusCode_ToTcpErrorCode(SOPC_StatusCode status)
Restricts and converts the status code to the only status code authorized for TCP error code.
SOPC_Variant_CompareCustom
SOPC_ReturnStatus SOPC_Variant_CompareCustom(SOPC_VariantValue_PfnCompCustom *compCustom, const void *compCustomContext, const SOPC_Variant *left, const SOPC_Variant *right, int32_t *comparison)
SOPC_IdentifierType_String
@ SOPC_IdentifierType_String
Definition: sopc_builtintypes.h:178
SOPC_ExtensionObject_Id
@ SOPC_ExtensionObject_Id
Definition: sopc_builtintypes.h:132
SOPC_LocalizedText
Definition: sopc_builtintypes.h:232
SOPC_VariantValue::Dimensions
int32_t Dimensions
Definition: sopc_builtintypes.h:362
SOPC_DataValue_Initialize
void SOPC_DataValue_Initialize(SOPC_DataValue *dataValue)
SOPC_NodeId_InitializeFromCString
SOPC_ReturnStatus SOPC_NodeId_InitializeFromCString(SOPC_NodeId *pNid, const char *cString, int32_t len)
Initializes a NodeId from a normalized C string. See SOPC_String_InitializeFromCString.
SOPC_Variant_GetArrayOrMatrixLength
int32_t SOPC_Variant_GetArrayOrMatrixLength(const SOPC_Variant *var)
Returns the number of values contained in a Variant with Array or Matrix value type....
SOPC_Byte_ClearAux
void SOPC_Byte_ClearAux(void *value)
SOPC_String_Id
@ SOPC_String_Id
Definition: sopc_builtintypes.h:122
SOPC_ExpandedNodeId_Id
@ SOPC_ExpandedNodeId_Id
Definition: sopc_builtintypes.h:128
SOPC_String_Clear
void SOPC_String_Clear(SOPC_String *bstring)
SOPC_VariantArrayValue::Uint32Arr
uint32_t * Uint32Arr
Definition: sopc_builtintypes.h:305
SOPC_ExtensionObject::Xml
SOPC_XmlElement Xml
Definition: sopc_builtintypes.h:267
SOPC_AttributeId_ValueRank
@ SOPC_AttributeId_ValueRank
Definition: sopc_builtintypes.h:88
SOPC_String_CopyFromCString
SOPC_ReturnStatus SOPC_String_CopyFromCString(SOPC_String *string, const char *cString)
Copy a C-String to the Data field of the SOPC_String object.
SOPC_VariantArrayValue::LocalizedTextArr
SOPC_LocalizedText * LocalizedTextArr
Definition: sopc_builtintypes.h:319
SOPC_DiagnosticInfo_ClearAux
void SOPC_DiagnosticInfo_ClearAux(void *value)
SOPC_Null_CopyAux
SOPC_ReturnStatus SOPC_Null_CopyAux(void *dest, const void *src)
SOPC_SByte_InitializeAux
void SOPC_SByte_InitializeAux(void *value)
SOPC_String_AttachFrom
SOPC_ReturnStatus SOPC_String_AttachFrom(SOPC_String *dest, SOPC_String *src)
Create a shallow copy of src into dest. The src string must not be cleared before dest is cleared.
SOPC_StatusCode_InitializeAux
void SOPC_StatusCode_InitializeAux(void *value)
SOPC_BuiltInTypeId_To_DataTypeNodeId
S2OPC_COMMON_EXPORT const SOPC_NodeId * SOPC_BuiltInTypeId_To_DataTypeNodeId[26]
SOPC_AttributeId_Value
@ SOPC_AttributeId_Value
Definition: sopc_builtintypes.h:86
SOPC_Float_CopyAux
SOPC_ReturnStatus SOPC_Float_CopyAux(void *dest, const void *src)
SOPC_LocalizedText::localizedTextList
SOPC_SLinkedList * localizedTextList
Definition: sopc_builtintypes.h:241
SOPC_LocalizedText_CopyAux
SOPC_ReturnStatus SOPC_LocalizedText_CopyAux(void *dest, const void *src)
SOPC_VariantArrayValue::FloatvArr
float * FloatvArr
Definition: sopc_builtintypes.h:308
SOPC_VariantArrayValue
union SOPC_VariantArrayValue SOPC_VariantArrayValue
This union provides all possible contents for Variant arrays, depending on their SOPC_BuiltinId.
SOPC_AttributeId_DataType
@ SOPC_AttributeId_DataType
Definition: sopc_builtintypes.h:87
SOPC_QualifiedName_InitializeAux
void SOPC_QualifiedName_InitializeAux(void *value)
SOPC_Byte_Initialize
void SOPC_Byte_Initialize(SOPC_Byte *byte)
SOPC_ExtensionObject_Compare
SOPC_ReturnStatus SOPC_ExtensionObject_Compare(const SOPC_ExtensionObject *left, const SOPC_ExtensionObject *right, int32_t *comparison)
SOPC_ByteString_Copy
SOPC_ReturnStatus SOPC_ByteString_Copy(SOPC_ByteString *dest, const SOPC_ByteString *src)
Return a deep copy of another ByteString. See SOPC_ByteString_CopyFromBytes.
SOPC_AttributeId_EventNotifier
@ SOPC_AttributeId_EventNotifier
Definition: sopc_builtintypes.h:85
SOPC_NodeId_Dict_Create
SOPC_Dict * SOPC_NodeId_Dict_Create(bool free_keys, SOPC_Dict_Free_Fct value_free)
Creates a dictionary which keys are NodeId.
SOPC_Int64_Clear
void SOPC_Int64_Clear(int64_t *intv)
SOPC_StatusCode_Id
@ SOPC_StatusCode_Id
Definition: sopc_builtintypes.h:129
SOPC_BuiltInType_Handling::clear
SOPC_EncodeableObject_PfnClear * clear
Definition: sopc_builtintypes.h:1219
SOPC_AttributeId_Historizing
@ SOPC_AttributeId_Historizing
Definition: sopc_builtintypes.h:93
SOPC_VariantValue::DiagInfo
SOPC_DiagnosticInfo * DiagInfo
Definition: sopc_builtintypes.h:354
SOPC_String_GetRawCStringArray
const char ** SOPC_String_GetRawCStringArray(int32_t nbOfStrings, SOPC_String *stringArray)
Returns a NULL terminated C-string array without copying the strings. The caller is responsible to NO...
SOPC_ExtensionObject_InitializeAux
void SOPC_ExtensionObject_InitializeAux(void *value)
SOPC_DateTime_Id
@ SOPC_DateTime_Id
Definition: sopc_builtintypes.h:123
SOPC_AttributeId_AccessLevelEx
@ SOPC_AttributeId_AccessLevelEx
Definition: sopc_builtintypes.h:100
SOPC_Int64_ClearAux
void SOPC_Int64_ClearAux(void *value)
SOPC_Byte_CopyAux
SOPC_ReturnStatus SOPC_Byte_CopyAux(void *dest, const void *src)
SOPC_String_CompareAux
SOPC_ReturnStatus SOPC_String_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_Int32_Clear
void SOPC_Int32_Clear(int32_t *intv)
SOPC_XmlElement_Clear
void SOPC_XmlElement_Clear(SOPC_XmlElement *xmlElt)
SOPC_Variant_CompareCustomRange
SOPC_ReturnStatus SOPC_Variant_CompareCustomRange(SOPC_VariantValue_PfnCompCustom *compCustom, const void *compCustomContext, const SOPC_Variant *left, const SOPC_Variant *right, const SOPC_NumericRange *range, int32_t *comparison)
SOPC_EncodeableObject_PfnClear
void() SOPC_EncodeableObject_PfnClear(void *value)
Clear function generic signature for an encodeable object.
Definition: sopc_encodeabletype.h:61
SOPC_UInt64_Clear
void SOPC_UInt64_Clear(uint64_t *uint)
SOPC_Int64_CopyAux
SOPC_ReturnStatus SOPC_Int64_CopyAux(void *dest, const void *src)
SOPC_VariantValue::Guid
SOPC_Guid * Guid
Definition: sopc_builtintypes.h:344
SOPC_Dict
struct _SOPC_Dict SOPC_Dict
Definition: sopc_dict.h:32
SOPC_QualifiedName_Clear
void SOPC_QualifiedName_Clear(SOPC_QualifiedName *qname)
SOPC_IsGoodStatus
bool SOPC_IsGoodStatus(SOPC_StatusCode status)
Evaluates if the provided status is Good.
SOPC_ExtensionObject::Object
struct SOPC_ExtensionObject::@6::@7 Object
SOPC_DiagnosticInfo::SymbolicId
int32_t SymbolicId
Definition: sopc_builtintypes.h:216
SOPC_DateTime_ClearAux
void SOPC_DateTime_ClearAux(void *value)
SOPC_QualifiedName::Name
SOPC_String Name
Definition: sopc_builtintypes.h:228
SOPC_ExtensionObject::ObjType
SOPC_EncodeableType * ObjType
Definition: sopc_builtintypes.h:271
SOPC_Clear_Array
void SOPC_Clear_Array(int32_t *noOfElts, void **eltsArray, size_t sizeOfElt, SOPC_EncodeableObject_PfnClear *clearFct)
SOPC_Variant_Move
void SOPC_Variant_Move(SOPC_Variant *dest, SOPC_Variant *src)
SOPC_UInt64_CompareAux
SOPC_ReturnStatus SOPC_UInt64_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_Variant_GetRange
SOPC_ReturnStatus SOPC_Variant_GetRange(SOPC_Variant *dst, const SOPC_Variant *src, const SOPC_NumericRange *range)
sopc_singly_linked_list.h
A singly linked list based on elements with unique identifiers and dynamically allocated.
SOPC_AttributeId_AccessLevel
@ SOPC_AttributeId_AccessLevel
Definition: sopc_builtintypes.h:90
SOPC_ExpandedNodeId
ExpandedNodeId allows the namespace to be specified explicitly as a string or with an index in the Se...
Definition: sopc_builtintypes.h:205
SOPC_VariantValue::ExtObject
SOPC_ExtensionObject * ExtObject
Definition: sopc_builtintypes.h:352
SOPC_Int16_ClearAux
void SOPC_Int16_ClearAux(void *value)
SOPC_ByteString_Compare
SOPC_ReturnStatus SOPC_ByteString_Compare(const SOPC_ByteString *left, const SOPC_ByteString *right, int32_t *comparison)
SOPC_Null_CompareAux
SOPC_ReturnStatus SOPC_Null_CompareAux(const void *dest, const void *src, int32_t *comparison)
SOPC_VariantArrayType_Matrix
@ SOPC_VariantArrayType_Matrix
Definition: sopc_builtintypes.h:291
SOPC_DataValue_CopyAux
SOPC_ReturnStatus SOPC_DataValue_CopyAux(void *dest, const void *src)
SOPC_Guid
Definition: sopc_builtintypes.h:161
SOPC_VariantArrayValue::ExtObjectArr
SOPC_ExtensionObject * ExtObjectArr
Definition: sopc_builtintypes.h:320
SOPC_String_InitializeAux
void SOPC_String_InitializeAux(void *value)
SOPC_DataValue_InitializeAux
void SOPC_DataValue_InitializeAux(void *value)
SOPC_BuiltInType_Handling::initialize
SOPC_EncodeableObject_PfnInitialize * initialize
Definition: sopc_builtintypes.h:1218
SOPC_Double_Id
@ SOPC_Double_Id
Definition: sopc_builtintypes.h:121
SOPC_DataValue::SourcePicoSeconds
uint16_t SourcePicoSeconds
Definition: sopc_builtintypes.h:390
SOPC_VariantValue::Length
int32_t Length
Definition: sopc_builtintypes.h:357
SOPC_DateTime_InitializeAux
void SOPC_DateTime_InitializeAux(void *value)
SOPC_VariantValue::Byte
SOPC_Byte Byte
Definition: sopc_builtintypes.h:333
SOPC_String_ClearAux
void SOPC_String_ClearAux(void *value)
SOPC_IdentifierType_Numeric
@ SOPC_IdentifierType_Numeric
Definition: sopc_builtintypes.h:177
SOPC_ExpandedNodeId::ServerIndex
uint32_t ServerIndex
Definition: sopc_builtintypes.h:208
SOPC_ByteString_CopyFromBytes
SOPC_ReturnStatus SOPC_ByteString_CopyFromBytes(SOPC_ByteString *dest, const SOPC_Byte *bytes, int32_t length)
Return a deep copy of a Byte array.
SOPC_IdentifierType
SOPC_IdentifierType
This enum provides fundamental identifier type.
Definition: sopc_builtintypes.h:176
SOPC_LocalizedText_InitializeAux
void SOPC_LocalizedText_InitializeAux(void *value)
SOPC_VariantArrayValue::NodeIdArr
SOPC_NodeId * NodeIdArr
Definition: sopc_builtintypes.h:315
SOPC_VariantArrayValueFlag
@ SOPC_VariantArrayValueFlag
Definition: sopc_builtintypes.h:282
SOPC_String
struct SOPC_String SOPC_String
This structure provides string encapsulation.
SOPC_DiagnosticInfo_InitializeAux
void SOPC_DiagnosticInfo_InitializeAux(void *value)
s2opc_common_export.h
SOPC_Int64_Initialize
void SOPC_Int64_Initialize(int64_t *intv)
SOPC_NodeId_Clear
void SOPC_NodeId_Clear(SOPC_NodeId *nodeId)
SOPC_UInt32_Id
@ SOPC_UInt32_Id
Definition: sopc_builtintypes.h:117
SOPC_LocalizedText_ClearAux
void SOPC_LocalizedText_ClearAux(void *value)
SOPC_Byte_InitializeAux
void SOPC_Byte_InitializeAux(void *value)
SOPC_Guid::Data4
SOPC_Byte Data4[8]
Definition: sopc_builtintypes.h:169
SOPC_Guid_Compare
SOPC_ReturnStatus SOPC_Guid_Compare(const SOPC_Guid *left, const SOPC_Guid *right, int32_t *comparison)
SOPC_VariantArrayValue
This union provides all possible contents for Variant arrays, depending on their SOPC_BuiltinId.
Definition: sopc_builtintypes.h:298
SOPC_NodeId_ToCString
char * SOPC_NodeId_ToCString(const SOPC_NodeId *nodeId)
Allocates a C string containing the normalized representation of a NodeId. Must be freed by caller af...
SOPC_ExtObjBodyEncoding_ByteString
@ SOPC_ExtObjBodyEncoding_ByteString
Definition: sopc_builtintypes.h:250
SOPC_Double_Clear
void SOPC_Double_Clear(double *d)
SOPC_DataValue_Copy
SOPC_ReturnStatus SOPC_DataValue_Copy(SOPC_DataValue *dest, const SOPC_DataValue *src)
SOPC_ByteString_Equal
bool SOPC_ByteString_Equal(const SOPC_ByteString *left, const SOPC_ByteString *right)
Compare the content of two specific builtintype pointer and return true or false according to the res...
SOPC_AttributeId_NodeClass
@ SOPC_AttributeId_NodeClass
Definition: sopc_builtintypes.h:75
SOPC_VariantValue::Floatv
float Floatv
Definition: sopc_builtintypes.h:340
SOPC_VariantValue::String
SOPC_String String
Definition: sopc_builtintypes.h:342
sopc_encodeabletype.h
EncodeableType and services on encodeable object.
SOPC_VariantArrayValue::DoublevArr
double * DoublevArr
Definition: sopc_builtintypes.h:309
SOPC_Guid::Data3
uint16_t Data3
Definition: sopc_builtintypes.h:168
SOPC_Double_InitializeAux
void SOPC_Double_InitializeAux(void *value)
SOPC_Boolean_Initialize
void SOPC_Boolean_Initialize(SOPC_Boolean *b)
Initialize a pointer for a specific builtintype (Boolean, String, Int16...)
SOPC_ByteString_ClearAux
void SOPC_ByteString_ClearAux(void *value)
SOPC_SByte_CopyAux
SOPC_ReturnStatus SOPC_SByte_CopyAux(void *dest, const void *src)
SOPC_NodeId_FromCString
SOPC_NodeId * SOPC_NodeId_FromCString(const char *cString, int32_t len)
Alloacates and initializes a NodeId from a normalized C string. See SOPC_String_InitializeFromCString...
SOPC_DataValue_Id
@ SOPC_DataValue_Id
Definition: sopc_builtintypes.h:133
SOPC_Variant_Get_ArrayValue
const void * SOPC_Variant_Get_ArrayValue(const SOPC_Variant *var, SOPC_BuiltinId builtInTypeId, int32_t index)
SOPC_NodeId::Guid
SOPC_Guid * Guid
Definition: sopc_builtintypes.h:195
SOPC_LocalizedText_GetPreferredLocale
SOPC_ReturnStatus SOPC_LocalizedText_GetPreferredLocale(SOPC_LocalizedText *dest, char **preferredLocaleIds, const SOPC_LocalizedText *srcSetOfLt)
Set the single localized text dest with preferred locale from the multiple localized texts contained ...
SOPC_Variant::Value
SOPC_VariantValue Value
Definition: sopc_builtintypes.h:378
SOPC_UInt32_ClearAux
void SOPC_UInt32_ClearAux(void *value)
SOPC_VariantValue::Status
SOPC_StatusCode Status
Definition: sopc_builtintypes.h:349
SOPC_VariantValue::Int32
int32_t Int32
Definition: sopc_builtintypes.h:336
SOPC_VariantValue_PfnCompCustom
SOPC_ReturnStatus() SOPC_VariantValue_PfnCompCustom(const void *customContext, SOPC_BuiltinId builtInTypeId, const void *left, const void *right, int32_t *compResult)
Generic comparison function type for values contained in a variant.
Definition: sopc_builtintypes.h:1042
SOPC_XmlElement_Copy
SOPC_ReturnStatus SOPC_XmlElement_Copy(SOPC_XmlElement *dest, const SOPC_XmlElement *src)
SOPC_AttributeId_Executable
@ SOPC_AttributeId_Executable
Definition: sopc_builtintypes.h:94
SOPC_DiagnosticInfo_Id
@ SOPC_DiagnosticInfo_Id
Definition: sopc_builtintypes.h:135
SOPC_DiagnosticInfo_Compare
SOPC_ReturnStatus SOPC_DiagnosticInfo_Compare(const SOPC_DiagnosticInfo *left, const SOPC_DiagnosticInfo *right, int32_t *comparison)
SOPC_UInt32_CopyAux
SOPC_ReturnStatus SOPC_UInt32_CopyAux(void *dest, const void *src)
SOPC_NodeId_Hash
void SOPC_NodeId_Hash(const SOPC_NodeId *nodeId, uint64_t *hash)
SOPC_LocalizedTextArray_GetPreferredLocale
SOPC_ReturnStatus SOPC_LocalizedTextArray_GetPreferredLocale(SOPC_LocalizedText *dest, char **preferredLocaleIds, int32_t nbLocalizedText, const SOPC_LocalizedText *srcArray)
sopc_enums.h
SOPC_SByte_CompareAux
SOPC_ReturnStatus SOPC_SByte_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_BuiltinId
SOPC_BuiltinId
Definition: sopc_builtintypes.h:109
SOPC_ExtObjBodyEncoding_XMLElement
@ SOPC_ExtObjBodyEncoding_XMLElement
Definition: sopc_builtintypes.h:251
SOPC_ExtensionObject::Value
void * Value
Definition: sopc_builtintypes.h:270
SOPC_Int16_Clear
void SOPC_Int16_Clear(int16_t *intv)
SOPC_Double_CopyAux
SOPC_ReturnStatus SOPC_Double_CopyAux(void *dest, const void *src)
SOPC_ExpandedNodeId_ClearAux
void SOPC_ExpandedNodeId_ClearAux(void *value)
SOPC_AttributeId_ContainsNoLoops
@ SOPC_AttributeId_ContainsNoLoops
Definition: sopc_builtintypes.h:84
SOPC_VariantValue::ExpNodeId
SOPC_ExpandedNodeId * ExpNodeId
Definition: sopc_builtintypes.h:348
SOPC_Boolean_CompareAux
SOPC_ReturnStatus SOPC_Boolean_CompareAux(const void *left, const void *right, int32_t *comparison)
Compare the content of a generic pointer to another one and set the result in the comparison paramete...
SOPC_ByteString_Id
@ SOPC_ByteString_Id
Definition: sopc_builtintypes.h:125
SOPC_ByteString
SOPC_String SOPC_ByteString
Definition: sopc_builtintypes.h:156
SOPC_VariantArrayValue::BstringArr
SOPC_ByteString * BstringArr
Definition: sopc_builtintypes.h:313
SOPC_Int16_CopyAux
SOPC_ReturnStatus SOPC_Int16_CopyAux(void *dest, const void *src)
SOPC_AttributeId_DataTypeDefinition
@ SOPC_AttributeId_DataTypeDefinition
Definition: sopc_builtintypes.h:96
SOPC_ExtObjBodyEncoding_Object
@ SOPC_ExtObjBodyEncoding_Object
Definition: sopc_builtintypes.h:252
SOPC_Variant_Initialize
void SOPC_Variant_Initialize(SOPC_Variant *variant)
Initialize a Variant. Do not initialize existing variants without clearing them first.
SOPC_ByteString_Delete
void SOPC_ByteString_Delete(SOPC_ByteString *bstring)
Free a specific builtintype pointer thus it will transform it into an invalid pointer.
SOPC_DiagnosticInfo_Clear
void SOPC_DiagnosticInfo_Clear(SOPC_DiagnosticInfo *diagInfo)
SOPC_DiagnosticInfo::Locale
int32_t Locale
Definition: sopc_builtintypes.h:218
SOPC_ExtObjectBodyEncoding
SOPC_ExtObjectBodyEncoding
This enum provides additional information on which data type format transported.
Definition: sopc_builtintypes.h:248
SOPC_Boolean_CopyAux
SOPC_ReturnStatus SOPC_Boolean_CopyAux(void *dest, const void *src)
Copy the content of a generic pointer to another one.
SOPC_DataValue_Compare
SOPC_ReturnStatus SOPC_DataValue_Compare(const SOPC_DataValue *left, const SOPC_DataValue *right, int32_t *comparison)
SOPC_String
This structure provides string encapsulation.
Definition: sopc_builtintypes.h:149
SOPC_XmlElement
SOPC_String SOPC_XmlElement
Definition: sopc_builtintypes.h:155
SOPC_ByteString_CopyAux
SOPC_ReturnStatus SOPC_ByteString_CopyAux(void *dest, const void *src)
SOPC_NodeId_Initialize
void SOPC_NodeId_Initialize(SOPC_NodeId *nodeId)
SOPC_ByteString_Clear
void SOPC_ByteString_Clear(SOPC_ByteString *bstring)
SOPC_DiagnosticInfo_Initialize
void SOPC_DiagnosticInfo_Initialize(SOPC_DiagnosticInfo *diagInfo)
SOPC_Guid::Data2
uint16_t Data2
Definition: sopc_builtintypes.h:167
SOPC_DataValue_CompareRange
SOPC_ReturnStatus SOPC_DataValue_CompareRange(const SOPC_DataValue *left, const SOPC_DataValue *right, const SOPC_NumericRange *range, int32_t *comparison)
SOPC_DiagnosticInfo
This structure provides vendor specific diagnostic information.
Definition: sopc_builtintypes.h:215
SOPC_AttributeId_DisplayName
@ SOPC_AttributeId_DisplayName
Definition: sopc_builtintypes.h:77
SOPC_AttributeId_Invalid
@ SOPC_AttributeId_Invalid
Definition: sopc_builtintypes.h:73
SOPC_LocalizedText_Clear
void SOPC_LocalizedText_Clear(SOPC_LocalizedText *localizedText)
SOPC_DataValue::Status
SOPC_StatusCode Status
Definition: sopc_builtintypes.h:387
SOPC_String_Equal
bool SOPC_String_Equal(const SOPC_String *left, const SOPC_String *right)
SOPC_NodeId::String
SOPC_String String
Definition: sopc_builtintypes.h:194
SOPC_LocalizedText_CopyToArray
SOPC_ReturnStatus SOPC_LocalizedText_CopyToArray(SOPC_LocalizedText **dstArray, int32_t *nbElts, const SOPC_LocalizedText *srcSetOfLt)
Copy into a new LocalizedText array the content of a LocalizedText set (or single value).
SOPC_IdentifierType_Guid
@ SOPC_IdentifierType_Guid
Definition: sopc_builtintypes.h:179
SOPC_LocalizedText_Initialize
void SOPC_LocalizedText_Initialize(SOPC_LocalizedText *localizedText)
SOPC_Float_Clear
void SOPC_Float_Clear(float *f)
SOPC_VariantValue::Uint64
uint64_t Uint64
Definition: sopc_builtintypes.h:339
SOPC_XmlElement_CopyAux
SOPC_ReturnStatus SOPC_XmlElement_CopyAux(void *dest, const void *src)
SOPC_VariantArrayType
SOPC_VariantArrayType
Definition: sopc_builtintypes.h:288
SOPC_ExtensionObject_Copy
SOPC_ReturnStatus SOPC_ExtensionObject_Copy(SOPC_ExtensionObject *dest, const SOPC_ExtensionObject *src)
SOPC_QualifiedName_Compare
SOPC_ReturnStatus SOPC_QualifiedName_Compare(const SOPC_QualifiedName *left, const SOPC_QualifiedName *right, int32_t *comparison)
SOPC_LocalizedText
struct SOPC_LocalizedText SOPC_LocalizedText
SOPC_VariantArrayValue::VariantArr
struct SOPC_Variant * VariantArr
Definition: sopc_builtintypes.h:322
SOPC_String_Compare
SOPC_ReturnStatus SOPC_String_Compare(const SOPC_String *left, const SOPC_String *right, bool ignoreCase, int32_t *comparison)
Compare the content of a String pointer to another one and set the result in the comparison parameter...
SOPC_BUILTINID_MAX
#define SOPC_BUILTINID_MAX
Definition: sopc_builtintypes.h:137
SOPC_Int32_InitializeAux
void SOPC_Int32_InitializeAux(void *value)
SOPC_ExpandedNodeId_Compare
SOPC_ReturnStatus SOPC_ExpandedNodeId_Compare(const SOPC_ExpandedNodeId *left, const SOPC_ExpandedNodeId *right, int32_t *comparison)
SOPC_Int16_CompareAux
SOPC_ReturnStatus SOPC_Int16_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_DateTime_CopyAux
SOPC_ReturnStatus SOPC_DateTime_CopyAux(void *dest, const void *src)
SOPC_StatusCode
uint32_t SOPC_StatusCode
Definition: sopc_builtintypes.h:37
SOPC_ExtensionObject_ClearAux
void SOPC_ExtensionObject_ClearAux(void *value)
SOPC_AttributeId
SOPC_AttributeId
Enumerated for all possible OPC UA attribute ids.
Definition: sopc_builtintypes.h:72
SOPC_VariantValue::LocalizedText
SOPC_LocalizedText * LocalizedText
Definition: sopc_builtintypes.h:351
SOPC_DataValue::SourceTimestamp
SOPC_DateTime SourceTimestamp
Definition: sopc_builtintypes.h:388
SOPC_Double_ClearAux
void SOPC_Double_ClearAux(void *value)
SOPC_Variant_ShallowCopy
SOPC_ReturnStatus SOPC_Variant_ShallowCopy(SOPC_Variant *dst, const SOPC_Variant *src)
SOPC_ByteString_InitializeAux
void SOPC_ByteString_InitializeAux(void *value)
SOPC_Variant_CopyInto_ArrayValueAt
bool SOPC_Variant_CopyInto_ArrayValueAt(const SOPC_Variant *var, SOPC_BuiltinId builtInTypeId, int32_t index, const void *value)
SOPC_CompCustom_Array
SOPC_ReturnStatus SOPC_CompCustom_Array(int32_t noOfElts, const void *eltsArrayLeft, const void *eltsArrayRight, size_t sizeOfElt, SOPC_VariantValue_PfnCompCustom *compCustomFct, const void *customCompContext, SOPC_BuiltinId builtInId, int32_t *comparisonResult)
SOPC_ExtensionObject_Move
SOPC_ReturnStatus SOPC_ExtensionObject_Move(SOPC_ExtensionObject *dest, SOPC_ExtensionObject *src)
SOPC_QualifiedName
struct SOPC_QualifiedName SOPC_QualifiedName
SOPC_ValueRank_IsAssignableInto
bool SOPC_ValueRank_IsAssignableInto(int32_t dest_ValueRank, int32_t src_valueRank)
SOPC_DiagnosticInfo::InnerStatusCode
SOPC_StatusCode InnerStatusCode
Definition: sopc_builtintypes.h:221
SOPC_VariantValue::Uint32
uint32_t Uint32
Definition: sopc_builtintypes.h:337
SOPC_VariantArrayValue::Uint16Arr
uint16_t * Uint16Arr
Definition: sopc_builtintypes.h:303
SOPC_DataValue::ServerPicoSeconds
uint16_t ServerPicoSeconds
Definition: sopc_builtintypes.h:391
SOPC_UInt64_Initialize
void SOPC_UInt64_Initialize(uint64_t *uint)
SOPC_ExtObjBodyEncoding_None
@ SOPC_ExtObjBodyEncoding_None
Definition: sopc_builtintypes.h:249
SOPC_SByte_Id
@ SOPC_SByte_Id
Definition: sopc_builtintypes.h:112
SOPC_VariantArrayValue::StringArr
SOPC_String * StringArr
Definition: sopc_builtintypes.h:310
SOPC_NodeId_ClearAux
void SOPC_NodeId_ClearAux(void *value)
SOPC_UInt16_Initialize
void SOPC_UInt16_Initialize(uint16_t *uint)
SOPC_Float_CompareAux
SOPC_ReturnStatus SOPC_Float_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_QualifiedName_Initialize
void SOPC_QualifiedName_Initialize(SOPC_QualifiedName *qname)
SOPC_BuiltInType_HandlingTable
S2OPC_COMMON_EXPORT const SOPC_BuiltInType_Handling SOPC_BuiltInType_HandlingTable[SOPC_BUILTINID_MAX+1]
Table of all built-in type handlers. To be indexed with a SOPC_BuiltinId. Provides all the generic se...
SOPC_NodeId::Data
union SOPC_NodeId::@5 Data
SOPC_UInt16_CopyAux
SOPC_ReturnStatus SOPC_UInt16_CopyAux(void *dest, const void *src)
SOPC_BuiltInType_Handling::compare
SOPC_EncodeableObject_PfnComp * compare
Definition: sopc_builtintypes.h:1221
SOPC_ByteString_CompareAux
SOPC_ReturnStatus SOPC_ByteString_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_VariantValue::Uint16
uint16_t Uint16
Definition: sopc_builtintypes.h:335
SOPC_ExtensionObject
struct SOPC_ExtensionObject SOPC_ExtensionObject
An ExtensionObject is a container for any Structured DataTypes which cannot be encoded as one of the ...
SOPC_DataValue
struct SOPC_DataValue SOPC_DataValue
Each attribute in OPC UA has a DataValue caracterized by the following structure.
SOPC_ExtensionObject_Clear
void SOPC_ExtensionObject_Clear(SOPC_ExtensionObject *extObj)
SOPC_Int64_InitializeAux
void SOPC_Int64_InitializeAux(void *value)
SOPC_QualifiedName_CompareAux
SOPC_ReturnStatus SOPC_QualifiedName_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_ExtensionObject::Body
union SOPC_ExtensionObject::@6 Body
SOPC_VariantArrayValue::StatusArr
SOPC_StatusCode * StatusArr
Definition: sopc_builtintypes.h:317
SOPC_Variant_HasRange
SOPC_ReturnStatus SOPC_Variant_HasRange(const SOPC_Variant *variant, const SOPC_NumericRange *range, bool fullRange, bool *hasRange)
Checks if the given range is valid for the given variant:
SOPC_QualifiedName_Id
@ SOPC_QualifiedName_Id
Definition: sopc_builtintypes.h:130
SOPC_Byte
uint8_t SOPC_Byte
Definition: sopc_builtintypes.h:139
SOPC_String_Delete
void SOPC_String_Delete(SOPC_String *bstring)
SOPC_VariantArrayDimensionsFlag
@ SOPC_VariantArrayDimensionsFlag
Definition: sopc_builtintypes.h:283
SOPC_Double_CompareAux
SOPC_ReturnStatus SOPC_Double_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_NodeId_Equal
bool SOPC_NodeId_Equal(const SOPC_NodeId *left, const SOPC_NodeId *right)
SOPC_UInt32_Initialize
void SOPC_UInt32_Initialize(uint32_t *uint)
SOPC_AttributeId_AccessRestrictions
@ SOPC_AttributeId_AccessRestrictions
Definition: sopc_builtintypes.h:99
SOPC_Int32_Initialize
void SOPC_Int32_Initialize(int32_t *intv)
SOPC_StatusCode_CompareAux
SOPC_ReturnStatus SOPC_StatusCode_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_VariantArrayValue::ExpNodeIdArr
SOPC_ExpandedNodeId * ExpNodeIdArr
Definition: sopc_builtintypes.h:316
SOPC_StatusCode_Clear
void SOPC_StatusCode_Clear(SOPC_StatusCode *status)
SOPC_Guid_ClearAux
void SOPC_Guid_ClearAux(void *value)
SOPC_AttributeId_IsAbstract
@ SOPC_AttributeId_IsAbstract
Definition: sopc_builtintypes.h:81
SOPC_DiagnosticInfo_CompareAux
SOPC_ReturnStatus SOPC_DiagnosticInfo_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_String_GetRawCString
const char * SOPC_String_GetRawCString(const SOPC_String *string)
Retrieve the raw C-String of a SOPC_String pointer or '\0' for a SOPC_String with length <= 0.
SOPC_Float_InitializeAux
void SOPC_Float_InitializeAux(void *value)
SOPC_QualifiedName::NamespaceIndex
uint16_t NamespaceIndex
Definition: sopc_builtintypes.h:227
SOPC_Int16_Id
@ SOPC_Int16_Id
Definition: sopc_builtintypes.h:114
SOPC_AttributeId_ArrayDimensions
@ SOPC_AttributeId_ArrayDimensions
Definition: sopc_builtintypes.h:89
SOPC_VariantValue::XmlElt
SOPC_XmlElement XmlElt
Definition: sopc_builtintypes.h:346
SOPC_UInt16_Id
@ SOPC_UInt16_Id
Definition: sopc_builtintypes.h:115
SOPC_Guid_Initialize
void SOPC_Guid_Initialize(SOPC_Guid *guid)
SOPC_Float_ClearAux
void SOPC_Float_ClearAux(void *value)
SOPC_AttributeId_BrowseName
@ SOPC_AttributeId_BrowseName
Definition: sopc_builtintypes.h:76
SOPC_ExtensionObject::TypeId
SOPC_ExpandedNodeId TypeId
Definition: sopc_builtintypes.h:261
SOPC_ExpandedNodeId::NodeId
SOPC_NodeId NodeId
Definition: sopc_builtintypes.h:206
SOPC_Variant_Initialize_Array
bool SOPC_Variant_Initialize_Array(SOPC_Variant *var, SOPC_BuiltinId builtInId, int32_t length)
Initialize a Variant as an array of given length. Do not initialize existing variants without clearin...
SOPC_Int64_CompareAux
SOPC_ReturnStatus SOPC_Int64_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_Variant
This structure provides variant encapsulation.
Definition: sopc_builtintypes.h:374
SOPC_VariantValue::Sbyte
SOPC_SByte Sbyte
Definition: sopc_builtintypes.h:332
SOPC_UInt16_ClearAux
void SOPC_UInt16_ClearAux(void *value)
SOPC_String::Data
SOPC_Byte * Data
Definition: sopc_builtintypes.h:152
SOPC_SByte
int8_t SOPC_SByte
Definition: sopc_builtintypes.h:143
SOPC_VariantArrayType_Array
@ SOPC_VariantArrayType_Array
Definition: sopc_builtintypes.h:290
SOPC_Variant_CopyAux
SOPC_ReturnStatus SOPC_Variant_CopyAux(void *dest, const void *src)
SOPC_XmlElement_InitializeAux
void SOPC_XmlElement_InitializeAux(void *value)
SOPC_EncodeableObject_PfnComp
SOPC_ReturnStatus() SOPC_EncodeableObject_PfnComp(const void *left, const void *right, int32_t *comp)
Compare function generic signature for an encodeable object.
Definition: sopc_encodeabletype.h:122
SOPC_VariantArrayTypeFlag
SOPC_VariantArrayTypeFlag
Definition: sopc_builtintypes.h:281
SOPC_XmlElement_ClearAux
void SOPC_XmlElement_ClearAux(void *value)
SOPC_Variant_CompareRange
SOPC_ReturnStatus SOPC_Variant_CompareRange(const SOPC_Variant *left, const SOPC_Variant *right, const SOPC_NumericRange *range, int32_t *comparison)
SOPC_String_GetCString
char * SOPC_String_GetCString(const SOPC_String *string)
Retrieve the C-String of a SOPC_String pointer or '\0' for a SOPC_String with length <= 0.
SOPC_VariantValue
union SOPC_VariantValue SOPC_VariantValue
This union provides all possible contents for Variant, depending on their SOPC_BuiltinId.
SOPC_Variant_CompareAux
SOPC_ReturnStatus SOPC_Variant_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_ExtensionObject::Bstring
SOPC_ByteString Bstring
Definition: sopc_builtintypes.h:266
SOPC_DateTime_Compare
SOPC_ReturnStatus SOPC_DateTime_Compare(const SOPC_DateTime *left, const SOPC_DateTime *right, int32_t *comparison)
SOPC_NodeId_Copy
SOPC_ReturnStatus SOPC_NodeId_Copy(SOPC_NodeId *dest, const SOPC_NodeId *src)
SOPC_Variant_Print
void SOPC_Variant_Print(SOPC_Variant *variant)
SOPC_BuiltInType_Handling::copy
SOPC_EncodeableObject_PfnCopy * copy
Definition: sopc_builtintypes.h:1220
SOPC_VariantValue::Int64
int64_t Int64
Definition: sopc_builtintypes.h:338
SOPC_VariantArrayValue::XmlEltArr
SOPC_XmlElement * XmlEltArr
Definition: sopc_builtintypes.h:314
SOPC_DiagnosticInfo::InnerDiagnosticInfo
struct SOPC_DiagnosticInfo * InnerDiagnosticInfo
Definition: sopc_builtintypes.h:222
SOPC_DateTime
int64_t SOPC_DateTime
Definition: sopc_builtintypes.h:158
SOPC_BuiltInType_Handling
Built-in type handling. Provides all the generic service functions associated with a built-in type (e...
Definition: sopc_builtintypes.h:1216
SOPC_Boolean_Id
@ SOPC_Boolean_Id
Definition: sopc_builtintypes.h:111
SOPC_String::Length
int32_t Length
Definition: sopc_builtintypes.h:150
SOPC_VariantArrayValue::ByteArr
SOPC_Byte * ByteArr
Definition: sopc_builtintypes.h:301
SOPC_DiagnosticInfo_CopyAux
SOPC_ReturnStatus SOPC_DiagnosticInfo_CopyAux(void *dest, const void *src)
SOPC_LocalizedText::defaultLocale
SOPC_String defaultLocale
Definition: sopc_builtintypes.h:235
SOPC_Variant_SetRange
SOPC_ReturnStatus SOPC_Variant_SetRange(SOPC_Variant *dst, const SOPC_Variant *src, const SOPC_NumericRange *range)
SOPC_Guid_FromCString
SOPC_ReturnStatus SOPC_Guid_FromCString(SOPC_Guid *guid, const char *str, size_t len)
SOPC_VariantValue::Date
SOPC_DateTime Date
Definition: sopc_builtintypes.h:343
SOPC_Variant
struct SOPC_Variant SOPC_Variant
This structure provides variant encapsulation.
SOPC_LocalizedText_CopyFromArray
SOPC_ReturnStatus SOPC_LocalizedText_CopyFromArray(SOPC_LocalizedText *destSetOfLt, int32_t nbElts, const SOPC_LocalizedText *srcArrayOfLt)
Copy into the given empty localized text an array of localized text to create a LocalizedText set....
SOPC_AttributeId_WriteMask
@ SOPC_AttributeId_WriteMask
Definition: sopc_builtintypes.h:79
SOPC_AttributeId_UserRolePermissions
@ SOPC_AttributeId_UserRolePermissions
Definition: sopc_builtintypes.h:98
SOPC_Int32_CompareAux
SOPC_ReturnStatus SOPC_Int32_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_NodeId_InitializeAux
void SOPC_NodeId_InitializeAux(void *value)
SOPC_String_CopyAux
SOPC_ReturnStatus SOPC_String_CopyAux(void *dest, const void *src)
SOPC_DataValue_CompareAux
SOPC_ReturnStatus SOPC_DataValue_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_Guid_Id
@ SOPC_Guid_Id
Definition: sopc_builtintypes.h:124
sopc_dict.h
A dictionary implementation.
SOPC_VariantArrayValue::Int16Arr
int16_t * Int16Arr
Definition: sopc_builtintypes.h:302
SOPC_LocalizedText_CompareAux
SOPC_ReturnStatus SOPC_LocalizedText_CompareAux(const void *left, const void *right, int32_t *comparison)
sopc_numeric_range.h
SOPC_Variant_Id
@ SOPC_Variant_Id
Definition: sopc_builtintypes.h:134
SOPC_DiagnosticInfo::NamespaceUri
int32_t NamespaceUri
Definition: sopc_builtintypes.h:217
SOPC_ExpandedNodeId::NamespaceUri
SOPC_String NamespaceUri
Definition: sopc_builtintypes.h:207
SOPC_AttributeId_MinimumSamplingInterval
@ SOPC_AttributeId_MinimumSamplingInterval
Definition: sopc_builtintypes.h:92
SOPC_VariantArrayType_SingleValue
@ SOPC_VariantArrayType_SingleValue
Definition: sopc_builtintypes.h:289
SOPC_Variant_Get_ValueRank
int32_t SOPC_Variant_Get_ValueRank(const SOPC_Variant *var)
SOPC_SByte_Initialize
void SOPC_SByte_Initialize(SOPC_SByte *sbyte)
SOPC_LocalizedText_AddOrSetLocale
SOPC_ReturnStatus SOPC_LocalizedText_AddOrSetLocale(SOPC_LocalizedText *destSetOfLt, char **supportedLocaleIds, const SOPC_LocalizedText *src)
Add a src LocalizedText to the LocalizedText list of dest. If locale already exists overwrite it,...
SOPC_VariantArrayValue::GuidArr
SOPC_Guid * GuidArr
Definition: sopc_builtintypes.h:312
SOPC_DateTime_Initialize
void SOPC_DateTime_Initialize(SOPC_DateTime *dateTime)
SOPC_LocalizedText::defaultText
SOPC_String defaultText
Definition: sopc_builtintypes.h:236
SOPC_Byte_CompareAux
SOPC_ReturnStatus SOPC_Byte_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_LocalizedText_Id
@ SOPC_LocalizedText_Id
Definition: sopc_builtintypes.h:131
SOPC_Dict_Free_Fct
void SOPC_Dict_Free_Fct(uintptr_t data)
Type of functions used to free keys and values.
Definition: sopc_dict.h:37
SOPC_Int32_CopyAux
SOPC_ReturnStatus SOPC_Int32_CopyAux(void *dest, const void *src)
SOPC_VariantArrayValue::DateArr
SOPC_DateTime * DateArr
Definition: sopc_builtintypes.h:311
SOPC_NodeId::IdentifierType
SOPC_IdentifierType IdentifierType
Definition: sopc_builtintypes.h:188
SOPC_Boolean
SOPC_Byte SOPC_Boolean
Definition: sopc_builtintypes.h:141
SOPC_Guid_CopyAux
SOPC_ReturnStatus SOPC_Guid_CopyAux(void *dest, const void *src)
SOPC_AttributeId_UserAccessLevel
@ SOPC_AttributeId_UserAccessLevel
Definition: sopc_builtintypes.h:91
SOPC_DateTime_Clear
void SOPC_DateTime_Clear(SOPC_DateTime *dateTime)
SOPC_Float_Id
@ SOPC_Float_Id
Definition: sopc_builtintypes.h:120
SOPC_VariantArrayValue::Uint64Arr
uint64_t * Uint64Arr
Definition: sopc_builtintypes.h:307
SOPC_UInt16_CompareAux
SOPC_ReturnStatus SOPC_UInt16_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_VariantValue::DataValue
struct SOPC_DataValue * DataValue
Definition: sopc_builtintypes.h:353
SOPC_DiagnosticInfo::LocalizedText
int32_t LocalizedText
Definition: sopc_builtintypes.h:219
SOPC_VariantValue::Int16
int16_t Int16
Definition: sopc_builtintypes.h:334
SOPC_UInt16_InitializeAux
void SOPC_UInt16_InitializeAux(void *value)
SOPC_BuiltInType_Handling
struct SOPC_BuiltInType_Handling SOPC_BuiltInType_Handling
Built-in type handling. Provides all the generic service functions associated with a built-in type (e...
SOPC_ExtensionObject_Initialize
void SOPC_ExtensionObject_Initialize(SOPC_ExtensionObject *extObj)
SOPC_ExpandedNodeId_Clear
void SOPC_ExpandedNodeId_Clear(SOPC_ExpandedNodeId *expNodeId)
SOPC_Int32_Id
@ SOPC_Int32_Id
Definition: sopc_builtintypes.h:116
SOPC_VariantValue::Bstring
SOPC_ByteString Bstring
Definition: sopc_builtintypes.h:345
SOPC_SByte_ClearAux
void SOPC_SByte_ClearAux(void *value)
SOPC_QualifiedName_Copy
SOPC_ReturnStatus SOPC_QualifiedName_Copy(SOPC_QualifiedName *dest, const SOPC_QualifiedName *src)
SOPC_QualifiedName_ParseCString
SOPC_ReturnStatus SOPC_QualifiedName_ParseCString(SOPC_QualifiedName *qname, const char *str)
SOPC_DateTime_CompareAux
SOPC_ReturnStatus SOPC_DateTime_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_VariantArrayValue::DiagInfoArr
SOPC_DiagnosticInfo * DiagInfoArr
Definition: sopc_builtintypes.h:323
SOPC_ExtensionObject_CopyAux
SOPC_ReturnStatus SOPC_ExtensionObject_CopyAux(void *dest, const void *src)
SOPC_XmlElement_Id
@ SOPC_XmlElement_Id
Definition: sopc_builtintypes.h:126
SOPC_UInt32_InitializeAux
void SOPC_UInt32_InitializeAux(void *value)
SOPC_StatusCode_ClearAux
void SOPC_StatusCode_ClearAux(void *value)
SOPC_NodeId_CopyAux
SOPC_ReturnStatus SOPC_NodeId_CopyAux(void *dest, const void *src)
SOPC_AttributeId_UserWriteMask
@ SOPC_AttributeId_UserWriteMask
Definition: sopc_builtintypes.h:80
SOPC_Guid::Data1
uint32_t Data1
Definition: sopc_builtintypes.h:166
SOPC_UInt64_InitializeAux
void SOPC_UInt64_InitializeAux(void *value)
SOPC_ExpandedNodeId_Copy
SOPC_ReturnStatus SOPC_ExpandedNodeId_Copy(SOPC_ExpandedNodeId *dest, const SOPC_ExpandedNodeId *src)
SOPC_SLinkedList
struct SOPC_SLinkedList SOPC_SLinkedList
Singly linked list structure.
Definition: sopc_singly_linked_list.h:36
SOPC_Null_ClearAux
void SOPC_Null_ClearAux(void *value)
SOPC_String_Create
SOPC_String * SOPC_String_Create(void)
SOPC_String_Copy
SOPC_ReturnStatus SOPC_String_Copy(SOPC_String *dest, const SOPC_String *src)
Create a copy of src into dest.
SOPC_String::DoNotClear
bool DoNotClear
Definition: sopc_builtintypes.h:151
SOPC_Guid_ToCString
char * SOPC_Guid_ToCString(const SOPC_Guid *guid)
SOPC_DataValue
Each attribute in OPC UA has a DataValue caracterized by the following structure.
Definition: sopc_builtintypes.h:385
SOPC_DataValue::ServerTimestamp
SOPC_DateTime ServerTimestamp
Definition: sopc_builtintypes.h:389
SOPC_XmlElement_Compare
SOPC_ReturnStatus SOPC_XmlElement_Compare(const SOPC_XmlElement *left, const SOPC_XmlElement *right, int32_t *comparison)
SOPC_DiagnosticInfo
struct SOPC_DiagnosticInfo SOPC_DiagnosticInfo
This structure provides vendor specific diagnostic information.
SOPC_VariantValue::ArrayDimensions
int32_t * ArrayDimensions
Definition: sopc_builtintypes.h:364
SOPC_QualifiedName
Definition: sopc_builtintypes.h:226
SOPC_Variant_Clear
void SOPC_Variant_Clear(SOPC_Variant *variant)
SOPC_Comp_Array
SOPC_ReturnStatus SOPC_Comp_Array(int32_t noOfElts, const void *eltsArrayLeft, const void *eltsArrayRight, size_t sizeOfElt, SOPC_EncodeableObject_PfnComp *compFct, int32_t *comparisonResult)
SOPC_Variant_Compare
SOPC_ReturnStatus SOPC_Variant_Compare(const SOPC_Variant *left, const SOPC_Variant *right, int32_t *comparison)
SOPC_Guid_Copy
SOPC_ReturnStatus SOPC_Guid_Copy(SOPC_Guid *dest, const SOPC_Guid *src)
SOPC_Boolean_Clear
void SOPC_Boolean_Clear(SOPC_Boolean *b)
Clear the content of a specific builtintype pointer.
SOPC_UInt32_Clear
void SOPC_UInt32_Clear(uint32_t *uint)
SOPC_ExtensionObject::Encoding
SOPC_ExtObjectBodyEncoding Encoding
Definition: sopc_builtintypes.h:262
SOPC_UInt64_ClearAux
void SOPC_UInt64_ClearAux(void *value)
SOPC_EncodeableObject_PfnInitialize
void() SOPC_EncodeableObject_PfnInitialize(void *value)
Initialization function generic signature for an encodeable object.
Definition: sopc_encodeabletype.h:56
_SOPC_NumericRange
Definition: sopc_numeric_range.h:35
SOPC_VariantValue::Doublev
double Doublev
Definition: sopc_builtintypes.h:341
SOPC_VariantArrayValue::Int64Arr
int64_t * Int64Arr
Definition: sopc_builtintypes.h:306
SOPC_VariantValue::Content
SOPC_VariantArrayValue Content
Definition: sopc_builtintypes.h:358
SOPC_Variant::DoNotClear
bool DoNotClear
Definition: sopc_builtintypes.h:375
SOPC_String_GetCStringArray
char ** SOPC_String_GetCStringArray(int32_t nbOfStrings, SOPC_String *stringArray)
Returns a NULL terminated C-string array copying the strings.
SOPC_Variant_Get_SingleValue
const void * SOPC_Variant_Get_SingleValue(const SOPC_Variant *var, SOPC_BuiltinId builtInTypeId)
SOPC_DiagnosticInfo_Copy
SOPC_ReturnStatus SOPC_DiagnosticInfo_Copy(SOPC_DiagnosticInfo *dest, const SOPC_DiagnosticInfo *src)
SOPC_VariantArrayValue::DataValueArr
struct SOPC_DataValue * DataValueArr
Definition: sopc_builtintypes.h:321
SOPC_UInt64_Id
@ SOPC_UInt64_Id
Definition: sopc_builtintypes.h:119
SOPC_EncodeableObject_PfnCopy
SOPC_ReturnStatus() SOPC_EncodeableObject_PfnCopy(void *dest, const void *src)
Copy function generic signature for an encodeable object.
Definition: sopc_encodeabletype.h:104
SOPC_ExtensionObject::Length
int32_t Length
Definition: sopc_builtintypes.h:276
SOPC_UInt64_CopyAux
SOPC_ReturnStatus SOPC_UInt64_CopyAux(void *dest, const void *src)
SOPC_StatusCode_CopyAux
SOPC_ReturnStatus SOPC_StatusCode_CopyAux(void *dest, const void *src)
SOPC_Guid
struct SOPC_Guid SOPC_Guid
SOPC_Variant_InitializeAux
void SOPC_Variant_InitializeAux(void *value)
SOPC_StatusCode_Initialize
void SOPC_StatusCode_Initialize(SOPC_StatusCode *status)
SOPC_AttributeId_Symmetric
@ SOPC_AttributeId_Symmetric
Definition: sopc_builtintypes.h:82
SOPC_ByteString_InitializeFixedSize
SOPC_ReturnStatus SOPC_ByteString_InitializeFixedSize(SOPC_ByteString *bstring, uint32_t size)
Allocate a number of size bytes and initialize its content to "0", this allocation looks like calloc ...
SOPC_ByteString_Create
SOPC_ByteString * SOPC_ByteString_Create(void)
Create a valid specific builtintype pointer.
SOPC_SByte_Clear
void SOPC_SByte_Clear(SOPC_SByte *sbyte)
SOPC_EncodeableType_Struct
Encodeable object type structure definition. It provides all the services functions associated with t...
Definition: sopc_encodeabletype.h:161
SOPC_Guid_InitializeAux
void SOPC_Guid_InitializeAux(void *value)
SOPC_QualifiedName_ClearAux
void SOPC_QualifiedName_ClearAux(void *value)
SOPC_LocalizedText_Copy
SOPC_ReturnStatus SOPC_LocalizedText_Copy(SOPC_LocalizedText *dest, const SOPC_LocalizedText *src)
SOPC_Int16_InitializeAux
void SOPC_Int16_InitializeAux(void *value)
SOPC_Guid_CompareAux
SOPC_ReturnStatus SOPC_Guid_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_NodeId::Numeric
uint32_t Numeric
Definition: sopc_builtintypes.h:193
SOPC_AttributeId_InverseName
@ SOPC_AttributeId_InverseName
Definition: sopc_builtintypes.h:83
SOPC_NodeId_CompareAux
SOPC_ReturnStatus SOPC_NodeId_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_XmlElement_Initialize
void SOPC_XmlElement_Initialize(SOPC_XmlElement *xmlElt)
SOPC_Copy_Array
SOPC_ReturnStatus SOPC_Copy_Array(int32_t noOfElts, void *eltsArrayDest, const void *eltsArraySrc, size_t sizeOfElt, SOPC_EncodeableObject_PfnCopy *opFct)
SOPC_AttributeId_Description
@ SOPC_AttributeId_Description
Definition: sopc_builtintypes.h:78
SOPC_NodeId_Id
@ SOPC_NodeId_Id
Definition: sopc_builtintypes.h:127
SOPC_QualifiedName_CopyAux
SOPC_ReturnStatus SOPC_QualifiedName_CopyAux(void *dest, const void *src)
SOPC_ExpandedNodeId_InitializeAux
void SOPC_ExpandedNodeId_InitializeAux(void *value)
SOPC_Variant_Get_DataType
SOPC_NodeId * SOPC_Variant_Get_DataType(const SOPC_Variant *var)
Returns the DataType identifier of the given variant as a newly allocated NodeId For built-in types e...
SOPC_NodeId_Compare
SOPC_ReturnStatus SOPC_NodeId_Compare(const SOPC_NodeId *left, const SOPC_NodeId *right, int32_t *comparison)
SOPC_XmlElement_CompareAux
SOPC_ReturnStatus SOPC_XmlElement_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_UInt32_CompareAux
SOPC_ReturnStatus SOPC_UInt32_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_VariantValue::NodeId
SOPC_NodeId * NodeId
Definition: sopc_builtintypes.h:347
SOPC_Boolean_ClearAux
void SOPC_Boolean_ClearAux(void *value)
Clear the content of a generic pointer.
SOPC_Boolean_InitializeAux
void SOPC_Boolean_InitializeAux(void *value)
Initialize a generic pointer using cast method.
SOPC_NodeId::Bstring
SOPC_ByteString Bstring
Definition: sopc_builtintypes.h:196
SOPC_DataValue_ClearAux
void SOPC_DataValue_ClearAux(void *value)
SOPC_ExpandedNodeId_CompareAux
SOPC_ReturnStatus SOPC_ExpandedNodeId_CompareAux(const void *left, const void *right, int32_t *comparison)
SOPC_VariantArrayValue::BooleanArr
SOPC_Boolean * BooleanArr
Definition: sopc_builtintypes.h:299
SOPC_Byte_Id
@ SOPC_Byte_Id
Definition: sopc_builtintypes.h:113
SOPC_Int32_ClearAux
void SOPC_Int32_ClearAux(void *value)
SOPC_ReturnStatus
SOPC_ReturnStatus
Definition: libs2opc_client.h:64