|
@@ -70,6 +70,7 @@ typedef struct UA_ClientConfig {
|
|
|
|
|
|
/* Callback function */
|
|
|
UA_ClientStateCallback stateCallback;
|
|
|
+ void *clientContext;
|
|
|
} UA_ClientConfig;
|
|
|
|
|
|
|
|
@@ -81,6 +82,10 @@ UA_Client_new(UA_ClientConfig config);
|
|
|
UA_ClientState UA_EXPORT
|
|
|
UA_Client_getState(UA_Client *client);
|
|
|
|
|
|
+/* Get the client context */
|
|
|
+void UA_EXPORT *
|
|
|
+UA_Client_getContext(UA_Client *client);
|
|
|
+
|
|
|
/* Reset a client */
|
|
|
void UA_EXPORT
|
|
|
UA_Client_reset(UA_Client *client);
|