|
@@ -120,20 +120,20 @@ typedef struct {
|
|
UA_Variant connectionTransportSettings;
|
|
UA_Variant connectionTransportSettings;
|
|
} UA_PubSubConnectionConfig;
|
|
} UA_PubSubConnectionConfig;
|
|
|
|
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_addPubSubConnection(UA_Server *server,
|
|
UA_Server_addPubSubConnection(UA_Server *server,
|
|
const UA_PubSubConnectionConfig *connectionConfig,
|
|
const UA_PubSubConnectionConfig *connectionConfig,
|
|
UA_NodeId *connectionIdentifier);
|
|
UA_NodeId *connectionIdentifier);
|
|
|
|
|
|
/* Returns a deep copy of the config */
|
|
/* Returns a deep copy of the config */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_getPubSubConnectionConfig(UA_Server *server,
|
|
UA_Server_getPubSubConnectionConfig(UA_Server *server,
|
|
const UA_NodeId connection,
|
|
const UA_NodeId connection,
|
|
UA_PubSubConnectionConfig *config);
|
|
UA_PubSubConnectionConfig *config);
|
|
|
|
|
|
/* Remove Connection, identified by the NodeId. Deletion of Connection
|
|
/* Remove Connection, identified by the NodeId. Deletion of Connection
|
|
* removes all contained WriterGroups and Writers. */
|
|
* removes all contained WriterGroups and Writers. */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_removePubSubConnection(UA_Server *server, const UA_NodeId connection);
|
|
UA_Server_removePubSubConnection(UA_Server *server, const UA_NodeId connection);
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -188,7 +188,7 @@ typedef struct {
|
|
} config;
|
|
} config;
|
|
} UA_PublishedDataSetConfig;
|
|
} UA_PublishedDataSetConfig;
|
|
|
|
|
|
-void
|
|
|
|
|
|
+void UA_EXPORT
|
|
UA_PublishedDataSetConfig_deleteMembers(UA_PublishedDataSetConfig *pdsConfig);
|
|
UA_PublishedDataSetConfig_deleteMembers(UA_PublishedDataSetConfig *pdsConfig);
|
|
|
|
|
|
typedef struct {
|
|
typedef struct {
|
|
@@ -198,20 +198,20 @@ typedef struct {
|
|
UA_ConfigurationVersionDataType configurationVersion;
|
|
UA_ConfigurationVersionDataType configurationVersion;
|
|
} UA_AddPublishedDataSetResult;
|
|
} UA_AddPublishedDataSetResult;
|
|
|
|
|
|
-UA_AddPublishedDataSetResult
|
|
|
|
|
|
+UA_AddPublishedDataSetResult UA_EXPORT
|
|
UA_Server_addPublishedDataSet(UA_Server *server,
|
|
UA_Server_addPublishedDataSet(UA_Server *server,
|
|
const UA_PublishedDataSetConfig *publishedDataSetConfig,
|
|
const UA_PublishedDataSetConfig *publishedDataSetConfig,
|
|
UA_NodeId *pdsIdentifier);
|
|
UA_NodeId *pdsIdentifier);
|
|
|
|
|
|
/* Returns a deep copy of the config */
|
|
/* Returns a deep copy of the config */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_getPublishedDataSetConfig(UA_Server *server, const UA_NodeId pds,
|
|
UA_Server_getPublishedDataSetConfig(UA_Server *server, const UA_NodeId pds,
|
|
UA_PublishedDataSetConfig *config);
|
|
UA_PublishedDataSetConfig *config);
|
|
|
|
|
|
/* Remove PublishedDataSet, identified by the NodeId. Deletion of PDS removes
|
|
/* Remove PublishedDataSet, identified by the NodeId. Deletion of PDS removes
|
|
* all contained and linked PDS Fields. Connected WriterGroups will be also
|
|
* all contained and linked PDS Fields. Connected WriterGroups will be also
|
|
* removed. */
|
|
* removed. */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_removePublishedDataSet(UA_Server *server, const UA_NodeId pds);
|
|
UA_Server_removePublishedDataSet(UA_Server *server, const UA_NodeId pds);
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -242,7 +242,7 @@ typedef struct {
|
|
} field;
|
|
} field;
|
|
} UA_DataSetFieldConfig;
|
|
} UA_DataSetFieldConfig;
|
|
|
|
|
|
-void
|
|
|
|
|
|
+void UA_EXPORT
|
|
UA_DataSetFieldConfig_deleteMembers(UA_DataSetFieldConfig *dataSetFieldConfig);
|
|
UA_DataSetFieldConfig_deleteMembers(UA_DataSetFieldConfig *dataSetFieldConfig);
|
|
|
|
|
|
typedef struct {
|
|
typedef struct {
|
|
@@ -250,18 +250,18 @@ typedef struct {
|
|
UA_ConfigurationVersionDataType configurationVersion;
|
|
UA_ConfigurationVersionDataType configurationVersion;
|
|
} UA_DataSetFieldResult;
|
|
} UA_DataSetFieldResult;
|
|
|
|
|
|
-UA_DataSetFieldResult
|
|
|
|
|
|
+UA_DataSetFieldResult UA_EXPORT
|
|
UA_Server_addDataSetField(UA_Server *server,
|
|
UA_Server_addDataSetField(UA_Server *server,
|
|
const UA_NodeId publishedDataSet,
|
|
const UA_NodeId publishedDataSet,
|
|
const UA_DataSetFieldConfig *fieldConfig,
|
|
const UA_DataSetFieldConfig *fieldConfig,
|
|
UA_NodeId *fieldIdentifier);
|
|
UA_NodeId *fieldIdentifier);
|
|
|
|
|
|
/* Returns a deep copy of the config */
|
|
/* Returns a deep copy of the config */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_getDataSetFieldConfig(UA_Server *server, const UA_NodeId dsf,
|
|
UA_Server_getDataSetFieldConfig(UA_Server *server, const UA_NodeId dsf,
|
|
UA_DataSetFieldConfig *config);
|
|
UA_DataSetFieldConfig *config);
|
|
|
|
|
|
-UA_DataSetFieldResult
|
|
|
|
|
|
+UA_DataSetFieldResult UA_EXPORT
|
|
UA_Server_removeDataSetField(UA_Server *server, const UA_NodeId dsf);
|
|
UA_Server_removeDataSetField(UA_Server *server, const UA_NodeId dsf);
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -299,25 +299,25 @@ typedef struct {
|
|
UA_UInt16 maxEncapsulatedDataSetMessageCount;
|
|
UA_UInt16 maxEncapsulatedDataSetMessageCount;
|
|
} UA_WriterGroupConfig;
|
|
} UA_WriterGroupConfig;
|
|
|
|
|
|
-void
|
|
|
|
|
|
+void UA_EXPORT
|
|
UA_WriterGroupConfig_deleteMembers(UA_WriterGroupConfig *writerGroupConfig);
|
|
UA_WriterGroupConfig_deleteMembers(UA_WriterGroupConfig *writerGroupConfig);
|
|
|
|
|
|
/* Add a new WriterGroup to an existing Connection */
|
|
/* Add a new WriterGroup to an existing Connection */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_addWriterGroup(UA_Server *server, const UA_NodeId connection,
|
|
UA_Server_addWriterGroup(UA_Server *server, const UA_NodeId connection,
|
|
const UA_WriterGroupConfig *writerGroupConfig,
|
|
const UA_WriterGroupConfig *writerGroupConfig,
|
|
UA_NodeId *writerGroupIdentifier);
|
|
UA_NodeId *writerGroupIdentifier);
|
|
|
|
|
|
/* Returns a deep copy of the config */
|
|
/* Returns a deep copy of the config */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_getWriterGroupConfig(UA_Server *server, const UA_NodeId writerGroup,
|
|
UA_Server_getWriterGroupConfig(UA_Server *server, const UA_NodeId writerGroup,
|
|
UA_WriterGroupConfig *config);
|
|
UA_WriterGroupConfig *config);
|
|
|
|
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_updateWriterGroupConfig(UA_Server *server, UA_NodeId writerGroupIdentifier,
|
|
UA_Server_updateWriterGroupConfig(UA_Server *server, UA_NodeId writerGroupIdentifier,
|
|
const UA_WriterGroupConfig *config);
|
|
const UA_WriterGroupConfig *config);
|
|
|
|
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_removeWriterGroup(UA_Server *server, const UA_NodeId writerGroup);
|
|
UA_Server_removeWriterGroup(UA_Server *server, const UA_NodeId writerGroup);
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -342,7 +342,7 @@ typedef struct {
|
|
UA_KeyValuePair *dataSetWriterProperties;
|
|
UA_KeyValuePair *dataSetWriterProperties;
|
|
} UA_DataSetWriterConfig;
|
|
} UA_DataSetWriterConfig;
|
|
|
|
|
|
-void
|
|
|
|
|
|
+void UA_EXPORT
|
|
UA_DataSetWriterConfig_deleteMembers(UA_DataSetWriterConfig *pdsConfig);
|
|
UA_DataSetWriterConfig_deleteMembers(UA_DataSetWriterConfig *pdsConfig);
|
|
|
|
|
|
/* Add a new DataSetWriter to a existing WriterGroup. The DataSetWriter must be
|
|
/* Add a new DataSetWriter to a existing WriterGroup. The DataSetWriter must be
|
|
@@ -351,18 +351,18 @@ UA_DataSetWriterConfig_deleteMembers(UA_DataSetWriterConfig *pdsConfig);
|
|
* Part 14, 7.1.5.2.1 defines: The link between the PublishedDataSet and
|
|
* Part 14, 7.1.5.2.1 defines: The link between the PublishedDataSet and
|
|
* DataSetWriter shall be created when an instance of the DataSetWriterType is
|
|
* DataSetWriter shall be created when an instance of the DataSetWriterType is
|
|
* created. */
|
|
* created. */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_addDataSetWriter(UA_Server *server,
|
|
UA_Server_addDataSetWriter(UA_Server *server,
|
|
const UA_NodeId writerGroup, const UA_NodeId dataSet,
|
|
const UA_NodeId writerGroup, const UA_NodeId dataSet,
|
|
const UA_DataSetWriterConfig *dataSetWriterConfig,
|
|
const UA_DataSetWriterConfig *dataSetWriterConfig,
|
|
UA_NodeId *writerIdentifier);
|
|
UA_NodeId *writerIdentifier);
|
|
|
|
|
|
/* Returns a deep copy of the config */
|
|
/* Returns a deep copy of the config */
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_getDataSetWriterConfig(UA_Server *server, const UA_NodeId dsw,
|
|
UA_Server_getDataSetWriterConfig(UA_Server *server, const UA_NodeId dsw,
|
|
UA_DataSetWriterConfig *config);
|
|
UA_DataSetWriterConfig *config);
|
|
|
|
|
|
-UA_StatusCode
|
|
|
|
|
|
+UA_StatusCode UA_EXPORT
|
|
UA_Server_removeDataSetWriter(UA_Server *server, const UA_NodeId dsw);
|
|
UA_Server_removeDataSetWriter(UA_Server *server, const UA_NodeId dsw);
|
|
|
|
|
|
#endif /* UA_ENABLE_PUBSUB */
|
|
#endif /* UA_ENABLE_PUBSUB */
|