client.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4. *
  5. * Copyright 2015-2017 (c) Fraunhofer IOSB (Author: Julius Pfrommer)
  6. * Copyright 2015-2016 (c) Sten Grüner
  7. * Copyright 2015-2016 (c) Chris Iatrou
  8. * Copyright 2015-2017 (c) Florian Palm
  9. * Copyright 2015 (c) Holger Jeromin
  10. * Copyright 2015 (c) Oleksiy Vasylyev
  11. * Copyright 2017 (c) Stefan Profanter, fortiss GmbH
  12. * Copyright 2017 (c) Mark Giraud, Fraunhofer IOSB
  13. * Copyright 2018 (c) Thomas Stalder, Blue Time Concept SA
  14. * Copyright 2018 (c) Kalycito Infotech Private Limited
  15. */
  16. #ifndef UA_CLIENT_H_
  17. #define UA_CLIENT_H_
  18. #include <open62541/client_config.h>
  19. #include <open62541/nodeids.h>
  20. #include <open62541/types.h>
  21. #include <open62541/types_generated.h>
  22. #include <open62541/types_generated_handling.h>
  23. _UA_BEGIN_DECLS
  24. /**
  25. * .. _client:
  26. *
  27. * Client
  28. * ======
  29. *
  30. * The client implementation allows remote access to all OPC UA services. For
  31. * convenience, some functionality has been wrapped in :ref:`high-level
  32. * abstractions <client-highlevel>`.
  33. *
  34. * **However**: At this time, the client does not yet contain its own thread or
  35. * event-driven main-loop. So the client will not perform any actions
  36. * automatically in the background. This is especially relevant for
  37. * subscriptions. The user will have to periodically call
  38. * `UA_Client_Subscriptions_manuallySendPublishRequest`. See also :ref:`here
  39. * <client-subscriptions>`.
  40. *
  41. *
  42. * .. include:: client_config.rst
  43. *
  44. * Client Lifecycle
  45. * ---------------- */
  46. /* Create a new client */
  47. UA_Client UA_EXPORT *
  48. UA_Client_new(void);
  49. /* Get the client connection status */
  50. UA_ClientState UA_EXPORT
  51. UA_Client_getState(UA_Client *client);
  52. /* Get the client configuration */
  53. UA_EXPORT UA_ClientConfig *
  54. UA_Client_getConfig(UA_Client *client);
  55. /* Get the client context */
  56. static UA_INLINE void *
  57. UA_Client_getContext(UA_Client *client) {
  58. UA_ClientConfig *config = UA_Client_getConfig(client); /* Cannot fail */
  59. return config->clientContext;
  60. }
  61. /* Reset a client */
  62. void UA_EXPORT
  63. UA_Client_reset(UA_Client *client);
  64. /* Delete a client */
  65. void UA_EXPORT
  66. UA_Client_delete(UA_Client *client);
  67. /**
  68. * Connect to a Server
  69. * ------------------- */
  70. typedef void (*UA_ClientAsyncServiceCallback)(UA_Client *client, void *userdata,
  71. UA_UInt32 requestId, void *response);
  72. /* Connect to the server
  73. *
  74. * @param client to use
  75. * @param endpointURL to connect (for example "opc.tcp://localhost:4840")
  76. * @return Indicates whether the operation succeeded or returns an error code */
  77. UA_StatusCode UA_EXPORT
  78. UA_Client_connect(UA_Client *client, const char *endpointUrl);
  79. UA_StatusCode UA_EXPORT
  80. UA_Client_connect_async(UA_Client *client, const char *endpointUrl,
  81. UA_ClientAsyncServiceCallback callback,
  82. void *userdata);
  83. /* Connect to the server without creating a session
  84. *
  85. * @param client to use
  86. * @param endpointURL to connect (for example "opc.tcp://localhost:4840")
  87. * @return Indicates whether the operation succeeded or returns an error code */
  88. UA_StatusCode UA_EXPORT
  89. UA_Client_connect_noSession(UA_Client *client, const char *endpointUrl);
  90. /* Connect to the selected server with the given username and password
  91. *
  92. * @param client to use
  93. * @param endpointURL to connect (for example "opc.tcp://localhost:4840")
  94. * @param username
  95. * @param password
  96. * @return Indicates whether the operation succeeded or returns an error code */
  97. UA_StatusCode UA_EXPORT
  98. UA_Client_connect_username(UA_Client *client, const char *endpointUrl,
  99. const char *username, const char *password);
  100. /* Disconnect and close a connection to the selected server */
  101. UA_StatusCode UA_EXPORT
  102. UA_Client_disconnect(UA_Client *client);
  103. UA_StatusCode UA_EXPORT
  104. UA_Client_disconnect_async(UA_Client *client, UA_UInt32 *requestId);
  105. /* Close a connection to the selected server */
  106. UA_DEPRECATED static UA_INLINE UA_StatusCode
  107. UA_Client_close(UA_Client *client) {
  108. return UA_Client_disconnect(client);
  109. }
  110. /**
  111. * Discovery
  112. * --------- */
  113. /* Gets a list of endpoints of a server
  114. *
  115. * @param client to use. Must be connected to the same endpoint given in
  116. * serverUrl or otherwise in disconnected state.
  117. * @param serverUrl url to connect (for example "opc.tcp://localhost:4840")
  118. * @param endpointDescriptionsSize size of the array of endpoint descriptions
  119. * @param endpointDescriptions array of endpoint descriptions that is allocated
  120. * by the function (you need to free manually)
  121. * @return Indicates whether the operation succeeded or returns an error code */
  122. UA_StatusCode UA_EXPORT
  123. UA_Client_getEndpoints(UA_Client *client, const char *serverUrl,
  124. size_t* endpointDescriptionsSize,
  125. UA_EndpointDescription** endpointDescriptions);
  126. /* Gets a list of all registered servers at the given server.
  127. *
  128. * You can pass an optional filter for serverUris. If the given server is not registered,
  129. * an empty array will be returned. If the server is registered, only that application
  130. * description will be returned.
  131. *
  132. * Additionally you can optionally indicate which locale you want for the server name
  133. * in the returned application description. The array indicates the order of preference.
  134. * A server may have localized names.
  135. *
  136. * @param client to use. Must be connected to the same endpoint given in
  137. * serverUrl or otherwise in disconnected state.
  138. * @param serverUrl url to connect (for example "opc.tcp://localhost:4840")
  139. * @param serverUrisSize Optional filter for specific server uris
  140. * @param serverUris Optional filter for specific server uris
  141. * @param localeIdsSize Optional indication which locale you prefer
  142. * @param localeIds Optional indication which locale you prefer
  143. * @param registeredServersSize size of returned array, i.e., number of found/registered servers
  144. * @param registeredServers array containing found/registered servers
  145. * @return Indicates whether the operation succeeded or returns an error code */
  146. UA_StatusCode UA_EXPORT
  147. UA_Client_findServers(UA_Client *client, const char *serverUrl,
  148. size_t serverUrisSize, UA_String *serverUris,
  149. size_t localeIdsSize, UA_String *localeIds,
  150. size_t *registeredServersSize,
  151. UA_ApplicationDescription **registeredServers);
  152. #ifdef UA_ENABLE_DISCOVERY
  153. /* Get a list of all known server in the network. Only supported by LDS servers.
  154. *
  155. * @param client to use. Must be connected to the same endpoint given in
  156. * serverUrl or otherwise in disconnected state.
  157. * @param serverUrl url to connect (for example "opc.tcp://localhost:4840")
  158. * @param startingRecordId optional. Only return the records with an ID higher
  159. * or equal the given. Can be used for pagination to only get a subset of
  160. * the full list
  161. * @param maxRecordsToReturn optional. Only return this number of records
  162. * @param serverCapabilityFilterSize optional. Filter the returned list to only
  163. * get servers with given capabilities, e.g. "LDS"
  164. * @param serverCapabilityFilter optional. Filter the returned list to only get
  165. * servers with given capabilities, e.g. "LDS"
  166. * @param serverOnNetworkSize size of returned array, i.e., number of
  167. * known/registered servers
  168. * @param serverOnNetwork array containing known/registered servers
  169. * @return Indicates whether the operation succeeded or returns an error code */
  170. UA_StatusCode UA_EXPORT
  171. UA_Client_findServersOnNetwork(UA_Client *client, const char *serverUrl,
  172. UA_UInt32 startingRecordId, UA_UInt32 maxRecordsToReturn,
  173. size_t serverCapabilityFilterSize, UA_String *serverCapabilityFilter,
  174. size_t *serverOnNetworkSize, UA_ServerOnNetwork **serverOnNetwork);
  175. #endif
  176. /**
  177. * .. _client-services:
  178. *
  179. * Services
  180. * --------
  181. *
  182. * The raw OPC UA services are exposed to the client. But most of them time, it
  183. * is better to use the convenience functions from ``ua_client_highlevel.h``
  184. * that wrap the raw services. */
  185. /* Don't use this function. Use the type versions below instead. */
  186. void UA_EXPORT
  187. __UA_Client_Service(UA_Client *client, const void *request,
  188. const UA_DataType *requestType, void *response,
  189. const UA_DataType *responseType);
  190. /*
  191. * Attribute Service Set
  192. * ^^^^^^^^^^^^^^^^^^^^^ */
  193. static UA_INLINE UA_ReadResponse
  194. UA_Client_Service_read(UA_Client *client, const UA_ReadRequest request) {
  195. UA_ReadResponse response;
  196. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_READREQUEST],
  197. &response, &UA_TYPES[UA_TYPES_READRESPONSE]);
  198. return response;
  199. }
  200. static UA_INLINE UA_WriteResponse
  201. UA_Client_Service_write(UA_Client *client, const UA_WriteRequest request) {
  202. UA_WriteResponse response;
  203. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_WRITEREQUEST],
  204. &response, &UA_TYPES[UA_TYPES_WRITERESPONSE]);
  205. return response;
  206. }
  207. /*
  208. * Historical Access Service Set
  209. * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
  210. #ifdef UA_ENABLE_HISTORIZING
  211. static UA_INLINE UA_HistoryReadResponse
  212. UA_Client_Service_historyRead(UA_Client *client, const UA_HistoryReadRequest request) {
  213. UA_HistoryReadResponse response;
  214. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_HISTORYREADREQUEST],
  215. &response, &UA_TYPES[UA_TYPES_HISTORYREADRESPONSE]);
  216. return response;
  217. }
  218. static UA_INLINE UA_HistoryUpdateResponse
  219. UA_Client_Service_historyUpdate(UA_Client *client, const UA_HistoryUpdateRequest request) {
  220. UA_HistoryUpdateResponse response;
  221. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_HISTORYUPDATEREQUEST],
  222. &response, &UA_TYPES[UA_TYPES_HISTORYUPDATERESPONSE]);
  223. return response;
  224. }
  225. #endif
  226. /*
  227. * Method Service Set
  228. * ^^^^^^^^^^^^^^^^^^ */
  229. #ifdef UA_ENABLE_METHODCALLS
  230. static UA_INLINE UA_CallResponse
  231. UA_Client_Service_call(UA_Client *client, const UA_CallRequest request) {
  232. UA_CallResponse response;
  233. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_CALLREQUEST],
  234. &response, &UA_TYPES[UA_TYPES_CALLRESPONSE]);
  235. return response;
  236. }
  237. #endif
  238. /*
  239. * NodeManagement Service Set
  240. * ^^^^^^^^^^^^^^^^^^^^^^^^^^ */
  241. static UA_INLINE UA_AddNodesResponse
  242. UA_Client_Service_addNodes(UA_Client *client, const UA_AddNodesRequest request) {
  243. UA_AddNodesResponse response;
  244. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_ADDNODESREQUEST],
  245. &response, &UA_TYPES[UA_TYPES_ADDNODESRESPONSE]);
  246. return response;
  247. }
  248. static UA_INLINE UA_AddReferencesResponse
  249. UA_Client_Service_addReferences(UA_Client *client,
  250. const UA_AddReferencesRequest request) {
  251. UA_AddReferencesResponse response;
  252. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_ADDREFERENCESREQUEST],
  253. &response, &UA_TYPES[UA_TYPES_ADDREFERENCESRESPONSE]);
  254. return response;
  255. }
  256. static UA_INLINE UA_DeleteNodesResponse
  257. UA_Client_Service_deleteNodes(UA_Client *client,
  258. const UA_DeleteNodesRequest request) {
  259. UA_DeleteNodesResponse response;
  260. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_DELETENODESREQUEST],
  261. &response, &UA_TYPES[UA_TYPES_DELETENODESRESPONSE]);
  262. return response;
  263. }
  264. static UA_INLINE UA_DeleteReferencesResponse
  265. UA_Client_Service_deleteReferences(UA_Client *client,
  266. const UA_DeleteReferencesRequest request) {
  267. UA_DeleteReferencesResponse response;
  268. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_DELETEREFERENCESREQUEST],
  269. &response, &UA_TYPES[UA_TYPES_DELETEREFERENCESRESPONSE]);
  270. return response;
  271. }
  272. /*
  273. * View Service Set
  274. * ^^^^^^^^^^^^^^^^ */
  275. static UA_INLINE UA_BrowseResponse
  276. UA_Client_Service_browse(UA_Client *client, const UA_BrowseRequest request) {
  277. UA_BrowseResponse response;
  278. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_BROWSEREQUEST],
  279. &response, &UA_TYPES[UA_TYPES_BROWSERESPONSE]);
  280. return response;
  281. }
  282. static UA_INLINE UA_BrowseNextResponse
  283. UA_Client_Service_browseNext(UA_Client *client,
  284. const UA_BrowseNextRequest request) {
  285. UA_BrowseNextResponse response;
  286. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_BROWSENEXTREQUEST],
  287. &response, &UA_TYPES[UA_TYPES_BROWSENEXTRESPONSE]);
  288. return response;
  289. }
  290. static UA_INLINE UA_TranslateBrowsePathsToNodeIdsResponse
  291. UA_Client_Service_translateBrowsePathsToNodeIds(UA_Client *client,
  292. const UA_TranslateBrowsePathsToNodeIdsRequest request) {
  293. UA_TranslateBrowsePathsToNodeIdsResponse response;
  294. __UA_Client_Service(client, &request,
  295. &UA_TYPES[UA_TYPES_TRANSLATEBROWSEPATHSTONODEIDSREQUEST],
  296. &response,
  297. &UA_TYPES[UA_TYPES_TRANSLATEBROWSEPATHSTONODEIDSRESPONSE]);
  298. return response;
  299. }
  300. static UA_INLINE UA_RegisterNodesResponse
  301. UA_Client_Service_registerNodes(UA_Client *client,
  302. const UA_RegisterNodesRequest request) {
  303. UA_RegisterNodesResponse response;
  304. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_REGISTERNODESREQUEST],
  305. &response, &UA_TYPES[UA_TYPES_REGISTERNODESRESPONSE]);
  306. return response;
  307. }
  308. static UA_INLINE UA_UnregisterNodesResponse
  309. UA_Client_Service_unregisterNodes(UA_Client *client,
  310. const UA_UnregisterNodesRequest request) {
  311. UA_UnregisterNodesResponse response;
  312. __UA_Client_Service(client, &request,
  313. &UA_TYPES[UA_TYPES_UNREGISTERNODESREQUEST],
  314. &response, &UA_TYPES[UA_TYPES_UNREGISTERNODESRESPONSE]);
  315. return response;
  316. }
  317. /*
  318. * Query Service Set
  319. * ^^^^^^^^^^^^^^^^^ */
  320. #ifdef UA_ENABLE_QUERY
  321. static UA_INLINE UA_QueryFirstResponse
  322. UA_Client_Service_queryFirst(UA_Client *client,
  323. const UA_QueryFirstRequest request) {
  324. UA_QueryFirstResponse response;
  325. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_QUERYFIRSTREQUEST],
  326. &response, &UA_TYPES[UA_TYPES_QUERYFIRSTRESPONSE]);
  327. return response;
  328. }
  329. static UA_INLINE UA_QueryNextResponse
  330. UA_Client_Service_queryNext(UA_Client *client,
  331. const UA_QueryNextRequest request) {
  332. UA_QueryNextResponse response;
  333. __UA_Client_Service(client, &request, &UA_TYPES[UA_TYPES_QUERYFIRSTREQUEST],
  334. &response, &UA_TYPES[UA_TYPES_QUERYFIRSTRESPONSE]);
  335. return response;
  336. }
  337. #endif
  338. /**
  339. * .. _client-async-services:
  340. *
  341. * Asynchronous Services
  342. * ---------------------
  343. * All OPC UA services are asynchronous in nature. So several service calls can
  344. * be made without waiting for a response first. Responess may come in a
  345. * different ordering. */
  346. /* Use the type versions of this method. See below. However, the general
  347. * mechanism of async service calls is explained here.
  348. *
  349. * We say that an async service call has been dispatched once this method
  350. * returns UA_STATUSCODE_GOOD. If there is an error after an async service has
  351. * been dispatched, the callback is called with an "empty" response where the
  352. * statusCode has been set accordingly. This is also done if the client is
  353. * shutting down and the list of dispatched async services is emptied.
  354. *
  355. * The statusCode received when the client is shutting down is
  356. * UA_STATUSCODE_BADSHUTDOWN.
  357. *
  358. * The statusCode received when the client don't receive response
  359. * after specified config->timeout (in ms) is
  360. * UA_STATUSCODE_BADTIMEOUT.
  361. *
  362. * Instead, you can use __UA_Client_AsyncServiceEx to specify
  363. * a custom timeout
  364. *
  365. * The userdata and requestId arguments can be NULL. */
  366. UA_StatusCode UA_EXPORT
  367. __UA_Client_AsyncService(UA_Client *client, const void *request,
  368. const UA_DataType *requestType,
  369. UA_ClientAsyncServiceCallback callback,
  370. const UA_DataType *responseType,
  371. void *userdata, UA_UInt32 *requestId);
  372. UA_StatusCode UA_EXPORT
  373. UA_Client_sendAsyncRequest(UA_Client *client, const void *request,
  374. const UA_DataType *requestType, UA_ClientAsyncServiceCallback callback,
  375. const UA_DataType *responseType, void *userdata, UA_UInt32 *requestId);
  376. /* Listen on the network and process arriving asynchronous responses in the
  377. * background. Internal housekeeping, renewal of SecureChannels and subscription
  378. * management is done as well. */
  379. UA_StatusCode UA_EXPORT
  380. UA_Client_run_iterate(UA_Client *client, UA_UInt16 timeout);
  381. UA_DEPRECATED static UA_INLINE UA_StatusCode
  382. UA_Client_runAsync(UA_Client *client, UA_UInt16 timeout) {
  383. return UA_Client_run_iterate(client, timeout);
  384. }
  385. UA_DEPRECATED static UA_INLINE UA_StatusCode
  386. UA_Client_manuallyRenewSecureChannel(UA_Client *client) {
  387. return UA_Client_run_iterate(client, 0);
  388. }
  389. /* Use the type versions of this method. See below. However, the general
  390. * mechanism of async service calls is explained here.
  391. *
  392. * We say that an async service call has been dispatched once this method
  393. * returns UA_STATUSCODE_GOOD. If there is an error after an async service has
  394. * been dispatched, the callback is called with an "empty" response where the
  395. * statusCode has been set accordingly. This is also done if the client is
  396. * shutting down and the list of dispatched async services is emptied.
  397. *
  398. * The statusCode received when the client is shutting down is
  399. * UA_STATUSCODE_BADSHUTDOWN.
  400. *
  401. * The statusCode received when the client don't receive response
  402. * after specified timeout (in ms) is
  403. * UA_STATUSCODE_BADTIMEOUT.
  404. *
  405. * The timeout can be disabled by setting timeout to 0
  406. *
  407. * The userdata and requestId arguments can be NULL. */
  408. UA_StatusCode UA_EXPORT
  409. __UA_Client_AsyncServiceEx(UA_Client *client, const void *request,
  410. const UA_DataType *requestType,
  411. UA_ClientAsyncServiceCallback callback,
  412. const UA_DataType *responseType,
  413. void *userdata, UA_UInt32 *requestId,
  414. UA_UInt32 timeout);
  415. /**
  416. * Timed Callbacks
  417. * ---------------
  418. * Repeated callbacks can be attached to a client and will be executed in the
  419. * defined interval. */
  420. typedef void (*UA_ClientCallback)(UA_Client *client, void *data);
  421. /* Add a callback for execution at a specified time. If the indicated time lies
  422. * in the past, then the callback is executed at the next iteration of the
  423. * server's main loop.
  424. *
  425. * @param client The client object.
  426. * @param callback The callback that shall be added.
  427. * @param data Data that is forwarded to the callback.
  428. * @param date The timestamp for the execution time.
  429. * @param callbackId Set to the identifier of the repeated callback . This can
  430. * be used to cancel the callback later on. If the pointer is null, the
  431. * identifier is not set.
  432. * @return Upon success, UA_STATUSCODE_GOOD is returned. An error code
  433. * otherwise. */
  434. UA_StatusCode UA_EXPORT
  435. UA_Client_addTimedCallback(UA_Client *client, UA_ClientCallback callback,
  436. void *data, UA_DateTime date, UA_UInt64 *callbackId);
  437. /* Add a callback for cyclic repetition to the client.
  438. *
  439. * @param client The client object.
  440. * @param callback The callback that shall be added.
  441. * @param data Data that is forwarded to the callback.
  442. * @param interval_ms The callback shall be repeatedly executed with the given
  443. * interval (in ms). The interval must be positive. The first execution
  444. * occurs at now() + interval at the latest.
  445. * @param callbackId Set to the identifier of the repeated callback . This can
  446. * be used to cancel the callback later on. If the pointer is null, the
  447. * identifier is not set.
  448. * @return Upon success, UA_STATUSCODE_GOOD is returned. An error code
  449. * otherwise. */
  450. UA_StatusCode UA_EXPORT
  451. UA_Client_addRepeatedCallback(UA_Client *client, UA_ClientCallback callback,
  452. void *data, UA_Double interval_ms,
  453. UA_UInt64 *callbackId);
  454. UA_StatusCode UA_EXPORT
  455. UA_Client_changeRepeatedCallbackInterval(UA_Client *client,
  456. UA_UInt64 callbackId,
  457. UA_Double interval_ms);
  458. void UA_EXPORT
  459. UA_Client_removeCallback(UA_Client *client, UA_UInt64 callbackId);
  460. #define UA_Client_removeRepeatedCallback(client, callbackId) \
  461. UA_Client_removeCallback(client, callbackId)
  462. /**
  463. * .. toctree::
  464. *
  465. * client_highlevel
  466. * client_subscriptions */
  467. _UA_END_DECLS
  468. #endif /* UA_CLIENT_H_ */