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 
277 
279 {
280  SOPC_VariantArrayValueFlag = 128, // 2^7 => bit 7
281  SOPC_VariantArrayDimensionsFlag = 64 // 2^6 => bit 6
283 
284 // Binary compatible types
286 {
291 
296 {
300  int16_t* Int16Arr;
301  uint16_t* Uint16Arr;
302  int32_t* Int32Arr;
303  uint32_t* Uint32Arr;
304  int64_t* Int64Arr;
305  uint64_t* Uint64Arr;
306  float* FloatvArr;
307  double* DoublevArr;
321  SOPC_DiagnosticInfo* DiagInfoArr; // TODO: not present ?
323 
327 typedef union SOPC_VariantValue
328 {
332  int16_t Int16;
333  uint16_t Uint16;
334  int32_t Int32;
335  uint32_t Uint32;
336  int64_t Int64;
337  uint64_t Uint64;
338  float Floatv;
339  double Doublev;
352  SOPC_DiagnosticInfo* DiagInfo; // TODO: not present ?
353  struct
354  {
355  int32_t Length;
357  } Array;
358  struct
359  {
360  int32_t Dimensions;
361  int32_t*
362  ArrayDimensions; // Product of dimensions must be <= INT32_MAX ! (binary arrayLength valid for matrix too)
365 
367 
371 typedef struct SOPC_Variant
372 {
373  bool DoNotClear; // flag indicating if variant content must be freed
378 
382 typedef struct SOPC_DataValue
383 {
386  SOPC_DateTime SourceTimestamp; // 100 nanoseconds
387  SOPC_DateTime ServerTimestamp; // 100 nanoseconds
388  uint16_t SourcePicoSeconds; // 10 picoseconds
389  uint16_t ServerPicoSeconds; // 10 picoseconds
391 
393 
394 // Macro to retrieve a pointer on the first value in array/matrix for any variant array/matrix content
395 // e.g. SOPC_VARIANT_GET_ARRAY_VALUES_PTR(&myVariant, ExtObject)
396 // note: BuiltInTypeId shall be consistant with requested type and returns NULL if variant is a single value
397 #define SOPC_VARIANT_GET_ARRAY_VALUES_PTR(pVar, eltTypeName) \
398  (SOPC_VariantArrayType_Array == pVar->ArrayType \
399  ? pVar->Value.Array.Content.eltTypeName##Arr \
400  : (SOPC_VariantArrayType_Matrix == pVar->ArrayType ? pVar->Value.Matrix.Content.eltTypeName##Arr : NULL))
401 
402 #define SECURITY_POLICY_NONE "http://opcfoundation.org/UA/SecurityPolicy#None"
403 #define SECURITY_POLICY_BASIC128RSA15 "http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15"
404 #define SECURITY_POLICY_BASIC256 "http://opcfoundation.org/UA/SecurityPolicy#Basic256"
405 #define SECURITY_POLICY_BASIC256SHA256 "http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256"
406 
407 /**** BOOLEAN ****/
419 
427 void SOPC_Boolean_InitializeAux(void* value);
428 
442 SOPC_ReturnStatus SOPC_Boolean_CopyAux(void* dest, const void* src);
443 
460 SOPC_ReturnStatus SOPC_Boolean_CompareAux(const void* left, const void* right, int32_t* comparison);
471 
481 void SOPC_Boolean_ClearAux(void* value);
482 
483 /**** SByte ****/
486 void SOPC_SByte_InitializeAux(void* value);
487 SOPC_ReturnStatus SOPC_SByte_CopyAux(void* dest, const void* src);
488 SOPC_ReturnStatus SOPC_SByte_CompareAux(const void* left, const void* right, int32_t* comparison);
490 void SOPC_SByte_ClearAux(void* value);
491 
492 /**** Byte ****/
495 void SOPC_Byte_InitializeAux(void* value);
496 SOPC_ReturnStatus SOPC_Byte_CopyAux(void* dest, const void* src);
497 SOPC_ReturnStatus SOPC_Byte_CompareAux(const void* left, const void* right, int32_t* comparison);
499 void SOPC_Byte_ClearAux(void* value);
500 
501 /**** Int16 ****/
503 void SOPC_Int16_Initialize(int16_t* intv);
504 void SOPC_Int16_InitializeAux(void* value);
505 SOPC_ReturnStatus SOPC_Int16_CopyAux(void* dest, const void* src);
506 SOPC_ReturnStatus SOPC_Int16_CompareAux(const void* left, const void* right, int32_t* comparison);
507 void SOPC_Int16_Clear(int16_t* intv);
508 void SOPC_Int16_ClearAux(void* value);
509 
510 /**** UInt16 ****/
512 void SOPC_UInt16_Initialize(uint16_t* uint);
513 void SOPC_UInt16_InitializeAux(void* value);
514 SOPC_ReturnStatus SOPC_UInt16_CopyAux(void* dest, const void* src);
515 SOPC_ReturnStatus SOPC_UInt16_CompareAux(const void* left, const void* right, int32_t* comparison);
516 void SOPC_UInt16_Clear(uint16_t* uint);
517 void SOPC_UInt16_ClearAux(void* value);
518 
519 /**** Int32 ****/
521 void SOPC_Int32_Initialize(int32_t* intv);
522 void SOPC_Int32_InitializeAux(void* value);
523 SOPC_ReturnStatus SOPC_Int32_CopyAux(void* dest, const void* src);
524 SOPC_ReturnStatus SOPC_Int32_CompareAux(const void* left, const void* right, int32_t* comparison);
525 void SOPC_Int32_Clear(int32_t* intv);
526 void SOPC_Int32_ClearAux(void* value);
527 
528 /**** UInt32 ****/
530 void SOPC_UInt32_Initialize(uint32_t* uint);
531 void SOPC_UInt32_InitializeAux(void* value);
532 SOPC_ReturnStatus SOPC_UInt32_CopyAux(void* dest, const void* src);
533 SOPC_ReturnStatus SOPC_UInt32_CompareAux(const void* left, const void* right, int32_t* comparison);
534 void SOPC_UInt32_Clear(uint32_t* uint);
535 void SOPC_UInt32_ClearAux(void* value);
536 
537 /**** Int64 ****/
539 void SOPC_Int64_Initialize(int64_t* intv);
540 void SOPC_Int64_InitializeAux(void* value);
541 SOPC_ReturnStatus SOPC_Int64_CopyAux(void* dest, const void* src);
542 SOPC_ReturnStatus SOPC_Int64_CompareAux(const void* left, const void* right, int32_t* comparison);
543 void SOPC_Int64_Clear(int64_t* intv);
544 void SOPC_Int64_ClearAux(void* value);
545 
546 /**** UInt64 ****/
548 void SOPC_UInt64_Initialize(uint64_t* uint);
549 void SOPC_UInt64_InitializeAux(void* value);
550 SOPC_ReturnStatus SOPC_UInt64_CopyAux(void* dest, const void* src);
551 SOPC_ReturnStatus SOPC_UInt64_CompareAux(const void* left, const void* right, int32_t* comparison);
552 void SOPC_UInt64_Clear(uint64_t* uint);
553 void SOPC_UInt64_ClearAux(void* value);
554 
555 /**** Float ****/
557 void SOPC_Float_Initialize(float* f);
558 void SOPC_Float_InitializeAux(void* value);
559 SOPC_ReturnStatus SOPC_Float_CopyAux(void* dest, const void* src);
560 SOPC_ReturnStatus SOPC_Float_CompareAux(const void* left, const void* right, int32_t* comparison);
561 void SOPC_Float_Clear(float* f);
562 void SOPC_Float_ClearAux(void* value);
563 
564 /**** Double ****/
566 void SOPC_Double_Initialize(double* d);
567 void SOPC_Double_InitializeAux(void* value);
568 SOPC_ReturnStatus SOPC_Double_CopyAux(void* dest, const void* src);
569 SOPC_ReturnStatus SOPC_Double_CompareAux(const void* left, const void* right, int32_t* comparison);
570 void SOPC_Double_Clear(double* d);
571 void SOPC_Double_ClearAux(void* value);
572 
573 /**** ByteString ****/
577 
590 
605 
614 
618 SOPC_ReturnStatus SOPC_ByteString_CopyAux(void* dest, const void* src);
622 void SOPC_ByteString_ClearAux(void* value);
623 
635 
638  const SOPC_ByteString* right,
639  int32_t* comparison);
641 SOPC_ReturnStatus SOPC_ByteString_CompareAux(const void* left, const void* right, int32_t* comparison);
642 
652 bool SOPC_ByteString_Equal(const SOPC_ByteString* left, const SOPC_ByteString* right);
653 
657 void SOPC_String_InitializeAux(void* value);
660 
669 SOPC_ReturnStatus SOPC_String_CopyAux(void* dest, const void* src);
670 
682 
689 char* SOPC_String_GetCString(const SOPC_String* string);
690 
701 const char* SOPC_String_GetRawCString(const SOPC_String* string);
702 
710 
719 
735 void SOPC_String_ClearAux(void* value);
738 
756  const SOPC_String* right,
757  bool ignoreCase,
758  int32_t* comparison);
759 SOPC_ReturnStatus SOPC_String_CompareAux(const void* left, const void* right, int32_t* comparison);
760 
761 bool SOPC_String_Equal(const SOPC_String* left, const SOPC_String* right);
762 
776 const char** SOPC_String_GetRawCStringArray(int32_t nbOfStrings, SOPC_String* stringArray);
777 
789 char** SOPC_String_GetCStringArray(int32_t nbOfStrings, SOPC_String* stringArray);
790 
791 /**** XmlElement ****/
796 SOPC_ReturnStatus SOPC_XmlElement_CopyAux(void* dest, const void* src);
798  const SOPC_XmlElement* right,
799  int32_t* comparison);
800 SOPC_ReturnStatus SOPC_XmlElement_CompareAux(const void* left, const void* right, int32_t* comparison);
802 void SOPC_XmlElement_ClearAux(void* value);
803 
804 /**** DateTime ****/
807 void SOPC_DateTime_InitializeAux(void* value);
808 SOPC_ReturnStatus SOPC_DateTime_CopyAux(void* dest, const void* src);
809 SOPC_ReturnStatus SOPC_DateTime_Compare(const SOPC_DateTime* left, const SOPC_DateTime* right, int32_t* comparison);
810 SOPC_ReturnStatus SOPC_DateTime_CompareAux(const void* left, const void* right, int32_t* comparison);
812 void SOPC_DateTime_ClearAux(void* value);
813 
814 /**** Guid ****/
817 void SOPC_Guid_InitializeAux(void* value);
818 SOPC_ReturnStatus SOPC_Guid_FromCString(SOPC_Guid* guid, const char* str, size_t len);
819 char* SOPC_Guid_ToCString(const SOPC_Guid* guid);
821 SOPC_ReturnStatus SOPC_Guid_CompareAux(const void* left, const void* right, int32_t* comparison);
822 SOPC_ReturnStatus SOPC_Guid_CopyAux(void* dest, const void* src);
823 SOPC_ReturnStatus SOPC_Guid_Compare(const SOPC_Guid* left, const SOPC_Guid* right, int32_t* comparison);
825 void SOPC_Guid_ClearAux(void* value);
826 
827 /**** NodeId ****/
830 void SOPC_NodeId_InitializeAux(void* value);
832 SOPC_ReturnStatus SOPC_NodeId_CopyAux(void* dest, const void* src);
834 void SOPC_NodeId_ClearAux(void* value);
835 
836 SOPC_ReturnStatus SOPC_NodeId_Compare(const SOPC_NodeId* left, const SOPC_NodeId* right, int32_t* comparison);
837 SOPC_ReturnStatus SOPC_NodeId_CompareAux(const void* left, const void* right, int32_t* comparison);
838 bool SOPC_NodeId_Equal(const SOPC_NodeId* left, const SOPC_NodeId* right);
839 bool SOPC_NodeId_IsNull(const SOPC_NodeId* nodeId);
840 
841 void SOPC_NodeId_Hash(const SOPC_NodeId* nodeId, uint64_t* hash);
842 
845 char* SOPC_NodeId_ToCString(const SOPC_NodeId* nodeId);
847 SOPC_ReturnStatus SOPC_NodeId_InitializeFromCString(SOPC_NodeId* pNid, const char* cString, int32_t len);
849 SOPC_NodeId* SOPC_NodeId_FromCString(const char* cString, int32_t len);
855 
856 #define SOPC_NS0_NUMERIC_NODEID(opcUaId) \
857  { \
858  SOPC_IdentifierType_Numeric, 0, .Data.Numeric = opcUaId \
859  }
860 
861 /**** ExpandedNodeId ****/
866 SOPC_ReturnStatus SOPC_ExpandedNodeId_CopyAux(void* dest, const void* src);
868  const SOPC_ExpandedNodeId* right,
869  int32_t* comparison);
870 SOPC_ReturnStatus SOPC_ExpandedNodeId_CompareAux(const void* left, const void* right, int32_t* comparison);
873 
874 /**** StatusCode ****/
878 SOPC_ReturnStatus SOPC_StatusCode_CopyAux(void* dest, const void* src);
879 SOPC_ReturnStatus SOPC_StatusCode_CompareAux(const void* left, const void* right, int32_t* comparison);
881 void SOPC_StatusCode_ClearAux(void* value);
882 
883 /**** DiagnosticInfo ****/
888 SOPC_ReturnStatus SOPC_DiagnosticInfo_CopyAux(void* dest, const void* src);
890  const SOPC_DiagnosticInfo* right,
891  int32_t* comparison);
892 SOPC_ReturnStatus SOPC_DiagnosticInfo_CompareAux(const void* left, const void* right, int32_t* comparison);
895 
896 /**** QualifiedName ****/
901 SOPC_ReturnStatus SOPC_QualifiedName_CopyAux(void* dest, const void* src);
903  const SOPC_QualifiedName* right,
904  int32_t* comparison);
905 SOPC_ReturnStatus SOPC_QualifiedName_CompareAux(const void* left, const void* right, int32_t* comparison);
907 void SOPC_QualifiedName_ClearAux(void* value);
909 
910 /**** LocalizedText ****/
915 SOPC_ReturnStatus SOPC_LocalizedText_CopyAux(void* dest, const void* src);
917  const SOPC_LocalizedText* right,
918  int32_t* comparison);
919 SOPC_ReturnStatus SOPC_LocalizedText_CompareAux(const void* left, const void* right, int32_t* comparison);
921 void SOPC_LocalizedText_ClearAux(void* value);
922 
937  int32_t nbElts,
938  const SOPC_LocalizedText* srcArrayOfLt);
939 
951  int32_t* nbElts,
952  const SOPC_LocalizedText* srcSetOfLt);
953 
968  char** supportedLocaleIds,
969  const SOPC_LocalizedText* src);
970 
988  char** preferredLocaleIds,
989  const SOPC_LocalizedText* srcSetOfLt);
990 
991 /* Same as SOPC_LocalizedText_GetPreferredLocale but using an array of single LocalizedText as source */
993  char** preferredLocaleIds,
994  int32_t nbLocalizedText,
995  const SOPC_LocalizedText* srcArray);
996 
997 /**** ExtensionObject ****/
1001 
1002 /* Copy returned is encoded version of the extension object if its representation was an Object.
1003  * i.e.: if src contains an Object, dest contains a ByteString with encoded object. In other case the ByteString or
1004  * XmlElement content is just copied.
1005  *
1006  * Note: reason is we do not have a copy method for Object type but we have an encoder
1007  */
1009 /* Move extension object content from src to dest.
1010  * Note: this function is provided to allow to keep the object format when no copy is needed
1011  * (since copy encode the object)
1012  */
1016  const SOPC_ExtensionObject* right,
1017  int32_t* comparison);
1018 SOPC_ReturnStatus SOPC_ExtensionObject_CompareAux(const void* left, const void* right, int32_t* comparison);
1021 
1022 /**** Variant ****/
1023 
1040 typedef SOPC_ReturnStatus(SOPC_VariantValue_PfnCompCustom)(const void* customContext,
1041  SOPC_BuiltinId builtInTypeId,
1042  const void* left,
1043  const void* right,
1044  int32_t* compResult);
1045 
1052 bool SOPC_Variant_Initialize_Array(SOPC_Variant* var, SOPC_BuiltinId builtInId, int32_t length);
1053 void SOPC_Null_ClearAux(void* value);
1054 SOPC_ReturnStatus SOPC_Null_CompareAux(const void* dest, const void* src, int32_t* comparison);
1055 SOPC_ReturnStatus SOPC_Null_CopyAux(void* dest, const void* src);
1056 void SOPC_Variant_InitializeAux(void* value);
1058 SOPC_ReturnStatus SOPC_Variant_CopyAux(void* dest, const void* src);
1059 
1083  const SOPC_NumericRange* range,
1084  bool fullRange,
1085  bool* hasRange);
1088 
1089 // Raw copy of structure content without new allocation: destination variant content will not be freed on clear
1091 
1092 // Does a shallow copy from src to dst, transfering the ownership to dst.
1093 //
1094 // The value of DoNotClear is transfered from src to dst, and src->DoNotClear is
1095 // set to true after this function returns (since the ownership of the data moved
1096 // to dst).
1098 
1099 SOPC_ReturnStatus SOPC_Variant_Compare(const SOPC_Variant* left, const SOPC_Variant* right, int32_t* comparison);
1100 SOPC_ReturnStatus SOPC_Variant_CompareAux(const void* left, const void* right, int32_t* comparison);
1102  const void* compCustomContext,
1103  const SOPC_Variant* left,
1104  const SOPC_Variant* right,
1105  int32_t* comparison);
1107  const SOPC_Variant* right,
1108  const SOPC_NumericRange* range,
1109  int32_t* comparison);
1110 
1112  const void* compCustomContext,
1113  const SOPC_Variant* left,
1114  const SOPC_Variant* right,
1115  const SOPC_NumericRange* range,
1116  int32_t* comparison);
1117 
1119 void SOPC_Variant_ClearAux(void* value);
1121 
1122 // Raw function to print a variant on standard output. Do not display array or matrix.
1124 
1138 const void* SOPC_Variant_Get_SingleValue(const SOPC_Variant* var, SOPC_BuiltinId builtInTypeId);
1139 const void* SOPC_Variant_Get_ArrayValue(const SOPC_Variant* var, SOPC_BuiltinId builtInTypeId, int32_t index);
1141  SOPC_BuiltinId builtInTypeId,
1142  int32_t index,
1143  const void* value);
1144 
1165 bool SOPC_ValueRank_IsAssignableInto(int32_t dest_ValueRank, int32_t src_valueRank);
1166 
1167 /**** DataValue ****/
1172 SOPC_ReturnStatus SOPC_DataValue_CopyAux(void* dest, const void* src);
1173 SOPC_ReturnStatus SOPC_DataValue_Compare(const SOPC_DataValue* left, const SOPC_DataValue* right, int32_t* comparison);
1174 SOPC_ReturnStatus SOPC_DataValue_CompareAux(const void* left, const void* right, int32_t* comparison);
1176  const SOPC_DataValue* right,
1177  const SOPC_NumericRange* range,
1178  int32_t* comparison);
1180 void SOPC_DataValue_ClearAux(void* value);
1181 
1182 void SOPC_Initialize_Array(int32_t noOfElts,
1183  void* eltsArray,
1184  size_t sizeOfElt,
1187  void* eltsArrayDest,
1188  const void* eltsArraySrc,
1189  size_t sizeOfElt,
1192  const void* eltsArrayLeft,
1193  const void* eltsArrayRight,
1194  size_t sizeOfElt,
1196  int32_t* comparisonResult);
1198  const void* eltsArrayLeft,
1199  const void* eltsArrayRight,
1200  size_t sizeOfElt,
1201  SOPC_VariantValue_PfnCompCustom* compCustomFct,
1202  const void* customCompContext,
1203  SOPC_BuiltinId builtInId,
1204  int32_t* comparisonResult);
1205 void SOPC_Clear_Array(int32_t* noOfElts, void** eltsArray, size_t sizeOfElt, SOPC_EncodeableObject_PfnClear* clearFct);
1206 
1214 {
1215  size_t size;
1221 
1228 
1229 #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:316
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:329
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:384
SOPC_Variant::ArrayType
SOPC_VariantArrayType ArrayType
Definition: sopc_builtintypes.h:375
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:328
SOPC_BuiltInType_Handling::size
size_t size
Definition: sopc_builtintypes.h:1215
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:374
SOPC_VariantArrayValue::Int32Arr
int32_t * Int32Arr
Definition: sopc_builtintypes.h:302
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:298
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:348
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:360
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:303
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:317
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:306
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:1217
SOPC_AttributeId_Historizing
@ SOPC_AttributeId_Historizing
Definition: sopc_builtintypes.h:93
SOPC_VariantValue::DiagInfo
SOPC_DiagnosticInfo * DiagInfo
Definition: sopc_builtintypes.h:352
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:342
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:350
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:289
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:318
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:1216
SOPC_Double_Id
@ SOPC_Double_Id
Definition: sopc_builtintypes.h:121
SOPC_DataValue::SourcePicoSeconds
uint16_t SourcePicoSeconds
Definition: sopc_builtintypes.h:388
SOPC_VariantValue::Length
int32_t Length
Definition: sopc_builtintypes.h:355
SOPC_DateTime_InitializeAux
void SOPC_DateTime_InitializeAux(void *value)
SOPC_VariantValue::Byte
SOPC_Byte Byte
Definition: sopc_builtintypes.h:331
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:313
SOPC_VariantArrayValueFlag
@ SOPC_VariantArrayValueFlag
Definition: sopc_builtintypes.h:280
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:296
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:338
SOPC_VariantValue::String
SOPC_String String
Definition: sopc_builtintypes.h:340
sopc_encodeabletype.h
EncodeableType and services on encodeable object.
SOPC_VariantArrayValue::DoublevArr
double * DoublevArr
Definition: sopc_builtintypes.h:307
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:376
SOPC_UInt32_ClearAux
void SOPC_UInt32_ClearAux(void *value)
SOPC_VariantValue::Status
SOPC_StatusCode Status
Definition: sopc_builtintypes.h:347
SOPC_VariantValue::Int32
int32_t Int32
Definition: sopc_builtintypes.h:334
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:1040
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:346
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:311
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:385
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:337
SOPC_XmlElement_CopyAux
SOPC_ReturnStatus SOPC_XmlElement_CopyAux(void *dest, const void *src)
SOPC_VariantArrayType
SOPC_VariantArrayType
Definition: sopc_builtintypes.h:286
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:320
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:349
SOPC_DataValue::SourceTimestamp
SOPC_DateTime SourceTimestamp
Definition: sopc_builtintypes.h:386
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:335
SOPC_VariantArrayValue::Uint16Arr
uint16_t * Uint16Arr
Definition: sopc_builtintypes.h:301
SOPC_DataValue::ServerPicoSeconds
uint16_t ServerPicoSeconds
Definition: sopc_builtintypes.h:389
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:308
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:1219
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:333
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:315
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:281
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:314
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:344
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:372
SOPC_VariantValue::Sbyte
SOPC_SByte Sbyte
Definition: sopc_builtintypes.h:330
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:288
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:279
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:1218
SOPC_VariantValue::Int64
int64_t Int64
Definition: sopc_builtintypes.h:336
SOPC_VariantArrayValue::XmlEltArr
SOPC_XmlElement * XmlEltArr
Definition: sopc_builtintypes.h:312
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:1214
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:299
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:341
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:300
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:287
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:310
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:309
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:305
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:351
SOPC_DiagnosticInfo::LocalizedText
int32_t LocalizedText
Definition: sopc_builtintypes.h:219
SOPC_VariantValue::Int16
int16_t Int16
Definition: sopc_builtintypes.h:332
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:343
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:321
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:383
SOPC_DataValue::ServerTimestamp
SOPC_DateTime ServerTimestamp
Definition: sopc_builtintypes.h:387
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:362
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:339
SOPC_VariantArrayValue::Int64Arr
int64_t * Int64Arr
Definition: sopc_builtintypes.h:304
SOPC_VariantValue::Content
SOPC_VariantArrayValue Content
Definition: sopc_builtintypes.h:356
SOPC_Variant::DoNotClear
bool DoNotClear
Definition: sopc_builtintypes.h:373
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:319
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_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:345
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:297
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