-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgroup__reauth.html
511 lines (476 loc) · 32.4 KB
/
group__reauth.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CommsChampion Ecosystem MQTT v5 Client: "Re-authenticate Operation Data Type and Functions"</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">CommsChampion Ecosystem MQTT v5 Client
</div>
<div id="projectbrief">MQTT v5 Client Library.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#typedef-members">Typedefs</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">"Re-authenticate Operation Data Type and Functions"</div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga4b0e66010307e1cb3e0c7ddfe0cba84c" id="r_ga4b0e66010307e1cb3e0c7ddfe0cba84c"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#ga4b0e66010307e1cb3e0c7ddfe0cba84c">CC_Mqtt5ReauthCompleteCb</a>) (void *data, <a class="el" href="group__global.html#gabd56266bda747f19e4c6669fa0da021d">CC_Mqtt5AsyncOpStatus</a> status, const <a class="el" href="structCC__Mqtt5AuthInfo.html">CC_Mqtt5AuthInfo</a> *response)</td></tr>
<tr class="memdesc:ga4b0e66010307e1cb3e0c7ddfe0cba84c"><td class="mdescLeft"> </td><td class="mdescRight">Callback used to report completion of the "reauth" operation. <br /></td></tr>
<tr class="separator:ga4b0e66010307e1cb3e0c7ddfe0cba84c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5ecb0c9d4cec28d43dbfa1fc6ce74627" id="r_ga5ecb0c9d4cec28d43dbfa1fc6ce74627"><td class="memItemLeft" align="right" valign="top">typedef struct CC_Mqtt5Reauth * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a></td></tr>
<tr class="memdesc:ga5ecb0c9d4cec28d43dbfa1fc6ce74627"><td class="mdescLeft"> </td><td class="mdescRight">Handle for "reauth" operation. <br /></td></tr>
<tr class="separator:ga5ecb0c9d4cec28d43dbfa1fc6ce74627"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaae103ca80d83357bab6cb5b100acd8da" id="r_gaae103ca80d83357bab6cb5b100acd8da"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#gaae103ca80d83357bab6cb5b100acd8da">cc_mqtt5_client_reauth</a> (<a class="el" href="group__client.html#ga6c225736aebda7ec79fca5701036ed15">CC_Mqtt5ClientHandle</a> handle, const <a class="el" href="structCC__Mqtt5AuthConfig.html">CC_Mqtt5AuthConfig</a> *config, <a class="el" href="group__reauth.html#ga4b0e66010307e1cb3e0c7ddfe0cba84c">CC_Mqtt5ReauthCompleteCb</a> cb, void *cbData)</td></tr>
<tr class="memdesc:gaae103ca80d83357bab6cb5b100acd8da"><td class="mdescLeft"> </td><td class="mdescRight">Prepare, configure, and send "reauth" request in one go. <br /></td></tr>
<tr class="separator:gaae103ca80d83357bab6cb5b100acd8da"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaaa6840ae288f91589cc61fcae7d882f1" id="r_gaaa6840ae288f91589cc61fcae7d882f1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#gaaa6840ae288f91589cc61fcae7d882f1">cc_mqtt5_client_reauth_add_user_prop</a> (<a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> handle, const <a class="el" href="structCC__Mqtt5UserProp.html">CC_Mqtt5UserProp</a> *prop)</td></tr>
<tr class="memdesc:gaaa6840ae288f91589cc61fcae7d882f1"><td class="mdescLeft"> </td><td class="mdescRight">Add user property to the configuration of the "reauth" operation. <br /></td></tr>
<tr class="separator:gaaa6840ae288f91589cc61fcae7d882f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9956e7644c5b3efdb601099c1ec404ba" id="r_ga9956e7644c5b3efdb601099c1ec404ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#ga9956e7644c5b3efdb601099c1ec404ba">cc_mqtt5_client_reauth_cancel</a> (<a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> handle)</td></tr>
<tr class="memdesc:ga9956e7644c5b3efdb601099c1ec404ba"><td class="mdescLeft"> </td><td class="mdescRight">Cancel the allocated "reauth" operation. <br /></td></tr>
<tr class="separator:ga9956e7644c5b3efdb601099c1ec404ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaee6d78cdb2f37aa3c600c46510ec01bc" id="r_gaee6d78cdb2f37aa3c600c46510ec01bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#gaee6d78cdb2f37aa3c600c46510ec01bc">cc_mqtt5_client_reauth_config_auth</a> (<a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> handle, const <a class="el" href="structCC__Mqtt5AuthConfig.html">CC_Mqtt5AuthConfig</a> *config)</td></tr>
<tr class="memdesc:gaee6d78cdb2f37aa3c600c46510ec01bc"><td class="mdescLeft"> </td><td class="mdescRight">Perform authentication handshake configuration of the "reauth" operation. <br /></td></tr>
<tr class="separator:gaee6d78cdb2f37aa3c600c46510ec01bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gadb9234ca939d08c080644c5883b799a9" id="r_gadb9234ca939d08c080644c5883b799a9"><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#gadb9234ca939d08c080644c5883b799a9">cc_mqtt5_client_reauth_get_response_timeout</a> (<a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> handle)</td></tr>
<tr class="memdesc:gadb9234ca939d08c080644c5883b799a9"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the configured the broker response timeout for the "reauth" operation. <br /></td></tr>
<tr class="separator:gadb9234ca939d08c080644c5883b799a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab85d168a8a25d7efed6690c9bd32abb4" id="r_gab85d168a8a25d7efed6690c9bd32abb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#gab85d168a8a25d7efed6690c9bd32abb4">cc_mqtt5_client_reauth_init_config_auth</a> (<a class="el" href="structCC__Mqtt5AuthConfig.html">CC_Mqtt5AuthConfig</a> *config)</td></tr>
<tr class="memdesc:gab85d168a8a25d7efed6690c9bd32abb4"><td class="mdescLeft"> </td><td class="mdescRight">Intialize the <a class="el" href="structCC__Mqtt5AuthConfig.html">CC_Mqtt5AuthConfig</a> configuration structure. <br /></td></tr>
<tr class="separator:gab85d168a8a25d7efed6690c9bd32abb4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa5a8c695cd0963130334b89dd8a8c87a" id="r_gaa5a8c695cd0963130334b89dd8a8c87a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a">cc_mqtt5_client_reauth_prepare</a> (<a class="el" href="group__client.html#ga6c225736aebda7ec79fca5701036ed15">CC_Mqtt5ClientHandle</a> handle, <a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> *ec)</td></tr>
<tr class="memdesc:gaa5a8c695cd0963130334b89dd8a8c87a"><td class="mdescLeft"> </td><td class="mdescRight">Prepare "reauth" operation. <br /></td></tr>
<tr class="separator:gaa5a8c695cd0963130334b89dd8a8c87a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0d0be616c870c39e8b6be117911dc92d" id="r_ga0d0be616c870c39e8b6be117911dc92d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#ga0d0be616c870c39e8b6be117911dc92d">cc_mqtt5_client_reauth_send</a> (<a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> handle, <a class="el" href="group__reauth.html#ga4b0e66010307e1cb3e0c7ddfe0cba84c">CC_Mqtt5ReauthCompleteCb</a> cb, void *cbData)</td></tr>
<tr class="memdesc:ga0d0be616c870c39e8b6be117911dc92d"><td class="mdescLeft"> </td><td class="mdescRight">Send the configured "reauth" operation to broker. <br /></td></tr>
<tr class="separator:ga0d0be616c870c39e8b6be117911dc92d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabb6c81659a1b8ba4bd8962452dafddad" id="r_gabb6c81659a1b8ba4bd8962452dafddad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__reauth.html#gabb6c81659a1b8ba4bd8962452dafddad">cc_mqtt5_client_reauth_set_response_timeout</a> (<a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> handle, unsigned ms)</td></tr>
<tr class="memdesc:gabb6c81659a1b8ba4bd8962452dafddad"><td class="mdescLeft"> </td><td class="mdescRight">Configure the broker response timeout for the "reauth" operation. <br /></td></tr>
<tr class="separator:gabb6c81659a1b8ba4bd8962452dafddad"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga4b0e66010307e1cb3e0c7ddfe0cba84c" name="ga4b0e66010307e1cb3e0c7ddfe0cba84c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4b0e66010307e1cb3e0c7ddfe0cba84c">◆ </a></span>CC_Mqtt5ReauthCompleteCb</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef void(* CC_Mqtt5ReauthCompleteCb) (void *data, <a class="el" href="group__global.html#gabd56266bda747f19e4c6669fa0da021d">CC_Mqtt5AsyncOpStatus</a> status, const <a class="el" href="structCC__Mqtt5AuthInfo.html">CC_Mqtt5AuthInfo</a> *response)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Callback used to report completion of the "reauth" operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Pointer to user data object passed as last parameter to the <b><a class="el" href="group__reauth.html#ga0d0be616c870c39e8b6be117911dc92d" title="Send the configured "reauth" operation to broker.">cc_mqtt5_client_reauth_send()</a></b>. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">status</td><td>Status of the "reauth" operation. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">response</td><td>Response information from the broker. Not-NULL is reported <b>if and onfly if</b> the "status" is equal to <a class="el" href="group__global.html#ggabd56266bda747f19e4c6669fa0da021da1612bd223303ddf181264c196d24855d">CC_Mqtt5AsyncOpStatus_Complete</a>. </td></tr>
</table>
</dd>
</dl>
<dl class="section post"><dt>Postcondition</dt><dd>The data members of the reported response can NOT be accessed after the function returns. </dd></dl>
</div>
</div>
<a id="ga5ecb0c9d4cec28d43dbfa1fc6ce74627" name="ga5ecb0c9d4cec28d43dbfa1fc6ce74627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">◆ </a></span>CC_Mqtt5ReauthHandle</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct CC_Mqtt5Reauth* <a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Handle for "reauth" operation. </p>
<p>Returned by <a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a" title="Prepare "reauth" operation.">cc_mqtt5_client_reauth_prepare()</a> function. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gaae103ca80d83357bab6cb5b100acd8da" name="gaae103ca80d83357bab6cb5b100acd8da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae103ca80d83357bab6cb5b100acd8da">◆ </a></span>cc_mqtt5_client_reauth()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> cc_mqtt5_client_reauth </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__client.html#ga6c225736aebda7ec79fca5701036ed15">CC_Mqtt5ClientHandle</a> </td>
<td class="paramname"><em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structCC__Mqtt5AuthConfig.html">CC_Mqtt5AuthConfig</a> * </td>
<td class="paramname"><em>config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__reauth.html#ga4b0e66010307e1cb3e0c7ddfe0cba84c">CC_Mqtt5ReauthCompleteCb</a> </td>
<td class="paramname"><em>cb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>cbData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Prepare, configure, and send "reauth" request in one go. </p>
<p>Abstracts away sequence of the following functions invocation: </p><ul>
<li><a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a">cc_mqtt5_client_reauth_prepare()</a> </li>
<li><a class="el" href="group__reauth.html#gaee6d78cdb2f37aa3c600c46510ec01bc">cc_mqtt5_client_reauth_config_auth()</a> </li>
<li><a class="el" href="group__reauth.html#ga0d0be616c870c39e8b6be117911dc92d">cc_mqtt5_client_reauth_send()</a></li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>Handle returned by <a class="el" href="group__client.html#gaa955f88ddca4c7b695074312b5a8cbee">cc_mqtt5_client_alloc()</a> function. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">config</td><td>Auth configuration. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cb</td><td>Callback to be invoked when "reauth" operation is complete. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cbData</td><td>Pointer to any user data structure. It will passed as one of the parameters in callback invocation. May be NULL. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result code of the call. </dd></dl>
</div>
</div>
<a id="gaaa6840ae288f91589cc61fcae7d882f1" name="gaaa6840ae288f91589cc61fcae7d882f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaa6840ae288f91589cc61fcae7d882f1">◆ </a></span>cc_mqtt5_client_reauth_add_user_prop()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> cc_mqtt5_client_reauth_add_user_prop </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> </td>
<td class="paramname"><em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structCC__Mqtt5UserProp.html">CC_Mqtt5UserProp</a> * </td>
<td class="paramname"><em>prop</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add user property to the configuration of the "reauth" operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>Handle returned by <a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a">cc_mqtt5_client_reauth_prepare()</a> function. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">prop</td><td>Single user property info. Must NOT be NULL. Does not need to be preserved after invocation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result code of the call. </dd></dl>
</div>
</div>
<a id="ga9956e7644c5b3efdb601099c1ec404ba" name="ga9956e7644c5b3efdb601099c1ec404ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9956e7644c5b3efdb601099c1ec404ba">◆ </a></span>cc_mqtt5_client_reauth_cancel()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> cc_mqtt5_client_reauth_cancel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> </td>
<td class="paramname"><em>handle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Cancel the allocated "reauth" operation. </p>
<p>In case the <a class="el" href="group__reauth.html#ga0d0be616c870c39e8b6be117911dc92d">cc_mqtt5_client_reauth_send()</a> function was successfully called before, the operation is cancelled <b>without</b> callback invocation. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>Handle returned by <a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a">cc_mqtt5_client_reauth_prepare()</a> function. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result code of the call. </dd></dl>
<dl class="section post"><dt>Postcondition</dt><dd>The handle of the "reauth" operation is no longer valid and must be discarded. </dd></dl>
</div>
</div>
<a id="gaee6d78cdb2f37aa3c600c46510ec01bc" name="gaee6d78cdb2f37aa3c600c46510ec01bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaee6d78cdb2f37aa3c600c46510ec01bc">◆ </a></span>cc_mqtt5_client_reauth_config_auth()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> cc_mqtt5_client_reauth_config_auth </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> </td>
<td class="paramname"><em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structCC__Mqtt5AuthConfig.html">CC_Mqtt5AuthConfig</a> * </td>
<td class="paramname"><em>config</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Perform authentication handshake configuration of the "reauth" operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>Handle returned by <a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a">cc_mqtt5_client_reauth_prepare()</a> function. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">config</td><td>Authentication configuration structure. Must NOT be NULL. Does not need to be preserved after invocation. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result code of the call. </dd></dl>
<dl class="section pre"><dt>Precondition</dt><dd>Mustn't be called more than once for a single "reauth" operation. </dd></dl>
<dl class="section post"><dt>Postcondition</dt><dd>Some of the properties can get assigned regardless of the return value. </dd></dl>
</div>
</div>
<a id="gadb9234ca939d08c080644c5883b799a9" name="gadb9234ca939d08c080644c5883b799a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadb9234ca939d08c080644c5883b799a9">◆ </a></span>cc_mqtt5_client_reauth_get_response_timeout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned cc_mqtt5_client_reauth_get_response_timeout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> </td>
<td class="paramname"><em>handle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve the configured the broker response timeout for the "reauth" operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>Handle returned by <a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a">cc_mqtt5_client_reauth_prepare()</a> function. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Response timeout duration in <b>milliseconds</b>. </dd></dl>
</div>
</div>
<a id="gab85d168a8a25d7efed6690c9bd32abb4" name="gab85d168a8a25d7efed6690c9bd32abb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab85d168a8a25d7efed6690c9bd32abb4">◆ </a></span>cc_mqtt5_client_reauth_init_config_auth()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void cc_mqtt5_client_reauth_init_config_auth </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structCC__Mqtt5AuthConfig.html">CC_Mqtt5AuthConfig</a> * </td>
<td class="paramname"><em>config</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Intialize the <a class="el" href="structCC__Mqtt5AuthConfig.html">CC_Mqtt5AuthConfig</a> configuration structure. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">config</td><td>Configuration structure. Must not be NULL. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="gaa5a8c695cd0963130334b89dd8a8c87a" name="gaa5a8c695cd0963130334b89dd8a8c87a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa5a8c695cd0963130334b89dd8a8c87a">◆ </a></span>cc_mqtt5_client_reauth_prepare()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> cc_mqtt5_client_reauth_prepare </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__client.html#ga6c225736aebda7ec79fca5701036ed15">CC_Mqtt5ClientHandle</a> </td>
<td class="paramname"><em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> * </td>
<td class="paramname"><em>ec</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Prepare "reauth" operation. </p>
<p>For successful operation the client needs to be in the "connected" state and there is no other incomplete "reauth" operation. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>Handle returned by <a class="el" href="group__client.html#gaa955f88ddca4c7b695074312b5a8cbee">cc_mqtt5_client_alloc()</a> function. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">ec</td><td>Error code reporting result of the operation. Can be NULL. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Handle of the "reauth" operation, will be NULL in case of failure. To analyze the reason failure use "ec" output parameter. </dd></dl>
<dl class="section post"><dt>Postcondition</dt><dd>The "reauth" operation is allocated, use either <a class="el" href="group__reauth.html#ga0d0be616c870c39e8b6be117911dc92d">cc_mqtt5_client_reauth_send()</a> or <a class="el" href="group__reauth.html#ga9956e7644c5b3efdb601099c1ec404ba">cc_mqtt5_client_reauth_cancel()</a> to prevent memory leaks. </dd></dl>
</div>
</div>
<a id="ga0d0be616c870c39e8b6be117911dc92d" name="ga0d0be616c870c39e8b6be117911dc92d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d0be616c870c39e8b6be117911dc92d">◆ </a></span>cc_mqtt5_client_reauth_send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> cc_mqtt5_client_reauth_send </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> </td>
<td class="paramname"><em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__reauth.html#ga4b0e66010307e1cb3e0c7ddfe0cba84c">CC_Mqtt5ReauthCompleteCb</a> </td>
<td class="paramname"><em>cb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>cbData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Send the configured "reauth" operation to broker. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>Handle returned by <a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a">cc_mqtt5_client_reauth_prepare()</a> function. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cb</td><td>Callback to be invoked when "reauth" operation is complete. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">cbData</td><td>Pointer to any user data structure. It will passed as one of the parameters in callback invocation. May be NULL. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result code of the call. </dd></dl>
<dl class="section post"><dt>Postcondition</dt><dd>The handle of the "reauth" operation can be discarded. </dd>
<dd>
The provided callback will be invoked when the "reauth" operation is complete <b> if and only if</b> the function returns <a class="el" href="group__global.html#ggac9c64dc7d5a785e8b22d7faaaf6f9beaa8f6454b1f4f259f82322e3b5517a4d63">CC_Mqtt5ErrorCode_Success</a>. </dd></dl>
</div>
</div>
<a id="gabb6c81659a1b8ba4bd8962452dafddad" name="gabb6c81659a1b8ba4bd8962452dafddad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb6c81659a1b8ba4bd8962452dafddad">◆ </a></span>cc_mqtt5_client_reauth_set_response_timeout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__global.html#gac9c64dc7d5a785e8b22d7faaaf6f9bea">CC_Mqtt5ErrorCode</a> cc_mqtt5_client_reauth_set_response_timeout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__reauth.html#ga5ecb0c9d4cec28d43dbfa1fc6ce74627">CC_Mqtt5ReauthHandle</a> </td>
<td class="paramname"><em>handle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned </td>
<td class="paramname"><em>ms</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Configure the broker response timeout for the "reauth" operation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">handle</td><td>Handle returned by <a class="el" href="group__reauth.html#gaa5a8c695cd0963130334b89dd8a8c87a">cc_mqtt5_client_reauth_prepare()</a> function. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">ms</td><td>Response timeout duration in <b>milliseconds</b>. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result code of the call. </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>