libmqm_sys/pregen/x86_64-linux/exits.rs
1/* Generated with MQ client version 9.4.3.0 */
2
3pub type PPMQCHAR = *mut crate::PMQCHAR;
4pub type PPMQLONG = *mut crate::PMQLONG;
5pub type PMQIEP = *mut MQIEP;
6pub type PPMQIEP = *mut PMQIEP;
7pub type MQHCONFIG = PMQIEP;
8pub type PMQHCONFIG = *mut MQHCONFIG;
9pub type PPMQHCONN = *mut crate::PMQHCONN;
10pub type PPMQHOBJ = *mut crate::PMQHOBJ;
11pub type PPMQVOID = *mut crate::PMQVOID;
12pub type PPMQBO = *mut crate::PMQBO;
13pub type PPMQCBC = *mut crate::PMQCBC;
14pub type PPMQCBD = *mut crate::PMQCBD;
15pub type PPMQCTLO = *mut crate::PMQCTLO;
16pub type PPMQCNO = *mut crate::PMQCNO;
17pub type PPMQGMO = *mut crate::PMQGMO;
18pub type PPMQMD = *mut crate::PMQMD;
19pub type PPMQOD = *mut crate::PMQOD;
20pub type PPMQPMO = *mut crate::PMQPMO;
21pub type PPMQSD = *mut crate::PMQSD;
22pub type PPMQSRO = *mut crate::PMQSRO;
23pub type PPMQSTS = *mut crate::PMQSTS;
24/// Back Out Changes
25///
26/// # Arguments
27/// * `Hconn`: Connection handle
28/// * `CompCode` (Output): Completion code
29/// * `Reason` (Output): Reason code qualifying `CompCode`
30pub type MQ_BACK_CALL = ::std::option::Option<
31 unsafe extern "C" fn(
32 Hconn: crate::MQHCONN,
33 CompCode: &mut crate::MQLONG,
34 Reason: &mut crate::MQLONG,
35 ),
36>;
37pub type PMQ_BACK_CALL = MQ_BACK_CALL;
38/// Begin Unit of Work
39///
40/// # Arguments
41/// * `Hconn`: Connection handle
42/// * `BeginOptions` (Input/Output): Options that control the action of [`MQBEGIN`](crate::MQBEGIN)
43/// * `CompCode` (Output): Completion code
44/// * `Reason` (Output): Reason code qualifying `CompCode`
45pub type MQ_BEGIN_CALL = ::std::option::Option<
46 unsafe extern "C" fn(
47 Hconn: crate::MQHCONN,
48 BeginOptions: Option<&mut crate::MQBO>,
49 CompCode: &mut crate::MQLONG,
50 Reason: &mut crate::MQLONG,
51 ),
52>;
53pub type PMQ_BEGIN_CALL = MQ_BEGIN_CALL;
54/// Buffer To Message Handle
55///
56/// # Arguments
57/// * `Hconn`: Connection handle
58/// * `Hmsg`: Message handle
59/// * `BufMsgHOpts`: Options that control the action of [`MQBUFMH`](crate::MQBUFMH)
60/// * `MsgDesc` (Input/Output): Message descriptor
61/// * `BufferLength`: Length in bytes of the Buffer area
62/// * `Buffer` (Input/Output): Area to contain the message buffer
63/// * `DataLength` (Output): Length of the output buffer
64/// * `CompCode` (Output): Completion code
65/// * `Reason` (Output): Reason code qualifying `CompCode`
66pub type MQ_BUFMH_CALL = ::std::option::Option<
67 unsafe extern "C" fn(
68 Hconn: crate::MQHCONN,
69 Hmsg: crate::MQHMSG,
70 BufMsgHOpts: &crate::MQBMHO,
71 MsgDesc: crate::PMQVOID,
72 BufferLength: crate::MQLONG,
73 Buffer: crate::PMQVOID,
74 DataLength: &mut crate::MQLONG,
75 CompCode: &mut crate::MQLONG,
76 Reason: &mut crate::MQLONG,
77 ),
78>;
79pub type PMQ_BUFMH_CALL = MQ_BUFMH_CALL;
80/// Register Message consumer
81///
82/// # Arguments
83/// * `Hconn`: Connection handle
84/// * `Operation`: Operation
85/// * `CallbackDesc`: Callback descriptor
86/// * `Hobj`: Object handle
87/// * `MsgDesc`: Message Descriptor
88/// * `GetMsgOpts`: Get options
89/// * `CompCode` (Output): Completion code
90/// * `Reason` (Output): Reason code qualifying `CompCode`
91pub type MQ_CB_CALL = ::std::option::Option<
92 unsafe extern "C" fn(
93 Hconn: crate::MQHCONN,
94 Operation: crate::MQLONG,
95 CallbackDesc: Option<&crate::MQCBD>,
96 Hobj: crate::MQHOBJ,
97 MsgDesc: crate::PMQVOID,
98 GetMsgOpts: Option<&crate::MQGMO>,
99 CompCode: &mut crate::MQLONG,
100 Reason: &mut crate::MQLONG,
101 ),
102>;
103pub type PMQ_CB_CALL = MQ_CB_CALL;
104/// Close Object
105///
106/// # Arguments
107/// * `Hconn`: Connection handle
108/// * `Hobj` (Input/Output): Object handle
109/// * `Options`: Options that control the action of [`MQCLOSE`](crate::MQCLOSE)
110/// * `CompCode` (Output): Completion code
111/// * `Reason` (Output): Reason code qualifying `CompCode`
112pub type MQ_CLOSE_CALL = ::std::option::Option<
113 unsafe extern "C" fn(
114 Hconn: crate::MQHCONN,
115 Hobj: &mut crate::MQHOBJ,
116 Options: crate::MQLONG,
117 CompCode: &mut crate::MQLONG,
118 Reason: &mut crate::MQLONG,
119 ),
120>;
121pub type PMQ_CLOSE_CALL = MQ_CLOSE_CALL;
122/// Commit Changes
123///
124/// # Arguments
125/// * `Hconn`: Connection handle
126/// * `CompCode` (Output): Completion code
127/// * `Reason` (Output): Reason code qualifying `CompCode`
128pub type MQ_CMIT_CALL = ::std::option::Option<
129 unsafe extern "C" fn(
130 Hconn: crate::MQHCONN,
131 CompCode: &mut crate::MQLONG,
132 Reason: &mut crate::MQLONG,
133 ),
134>;
135pub type PMQ_CMIT_CALL = MQ_CMIT_CALL;
136/// Connect Queue Manager
137///
138/// # Arguments
139/// * `QMgrName`: Name of queue manager
140/// * `Hconn` (Output): Connection handle
141/// * `CompCode` (Output): Completion code
142/// * `Reason` (Output): Reason code qualifying `CompCode`
143pub type MQ_CONN_CALL = ::std::option::Option<
144 unsafe extern "C" fn(
145 QMgrName: &crate::MQCHAR48,
146 Hconn: &mut crate::MQHCONN,
147 CompCode: &mut crate::MQLONG,
148 Reason: &mut crate::MQLONG,
149 ),
150>;
151pub type PMQ_CONN_CALL = MQ_CONN_CALL;
152/// Connect Queue Manager (Extended)
153///
154/// # Arguments
155/// * `QMgrName`: Name of queue manager
156/// * `ConnectOpts` (Input/Output): Options that control the action of [`MQCONNX`](crate::MQCONNX)
157/// * `Hconn` (Output): Connection handle
158/// * `CompCode` (Output): Completion code
159/// * `Reason` (Output): Reason code qualifying `CompCode`
160pub type MQ_CONNX_CALL = ::std::option::Option<
161 unsafe extern "C" fn(
162 QMgrName: &crate::MQCHAR48,
163 ConnectOpts: &mut crate::MQCNO,
164 Hconn: &mut crate::MQHCONN,
165 CompCode: &mut crate::MQLONG,
166 Reason: &mut crate::MQLONG,
167 ),
168>;
169pub type PMQ_CONNX_CALL = MQ_CONNX_CALL;
170/// Create Message Handle
171///
172/// # Arguments
173/// * `Hconn`: Connection handle
174/// * `CrtMsgHOpts`: Options that control the action of [`MQCRTMH`](crate::MQCRTMH)
175/// * `Hmsg` (Output): Message handle
176/// * `CompCode` (Output): Completion code
177/// * `Reason` (Output): Reason code qualifying `CompCode`
178pub type MQ_CRTMH_CALL = ::std::option::Option<
179 unsafe extern "C" fn(
180 Hconn: crate::MQHCONN,
181 CrtMsgHOpts: &crate::MQCMHO,
182 Hmsg: &mut crate::MQHMSG,
183 CompCode: &mut crate::MQLONG,
184 Reason: &mut crate::MQLONG,
185 ),
186>;
187pub type PMQ_CRTMH_CALL = MQ_CRTMH_CALL;
188/// Control Consumer
189///
190/// # Arguments
191/// * `Hconn`: Connection handle
192/// * `Operation`: Operation
193/// * `ControlOpts`: Control options
194/// * `CompCode` (Output): Completion code
195/// * `Reason` (Output): Reason code qualifying `CompCode`
196pub type MQ_CTL_CALL = ::std::option::Option<
197 unsafe extern "C" fn(
198 Hconn: crate::MQHCONN,
199 Operation: crate::MQLONG,
200 ControlOpts: &crate::MQCTLO,
201 CompCode: &mut crate::MQLONG,
202 Reason: &mut crate::MQLONG,
203 ),
204>;
205pub type PMQ_CTL_CALL = MQ_CTL_CALL;
206/// Disconnect Queue Manager
207///
208/// # Arguments
209/// * `Hconn` (Input/Output): Connection handle
210/// * `CompCode` (Output): Completion code
211/// * `Reason` (Output): Reason code qualifying `CompCode`
212pub type MQ_DISC_CALL = ::std::option::Option<
213 unsafe extern "C" fn(
214 Hconn: &mut crate::MQHCONN,
215 CompCode: &mut crate::MQLONG,
216 Reason: &mut crate::MQLONG,
217 ),
218>;
219pub type PMQ_DISC_CALL = MQ_DISC_CALL;
220/// Delete Message Handle
221///
222/// # Arguments
223/// * `Hconn`: Connection handle
224/// * `Hmsg` (Input/Output): Message handle
225/// * `DltMsgHOpts`: Options that control the action of [`MQDLTMH`](crate::MQDLTMH)
226/// * `CompCode` (Output): Completion code
227/// * `Reason` (Output): Reason code qualifying `CompCode`
228pub type MQ_DLTMH_CALL = ::std::option::Option<
229 unsafe extern "C" fn(
230 Hconn: crate::MQHCONN,
231 Hmsg: &mut crate::MQHMSG,
232 DltMsgHOpts: &crate::MQDMHO,
233 CompCode: &mut crate::MQLONG,
234 Reason: &mut crate::MQLONG,
235 ),
236>;
237pub type PMQ_DLTMH_CALL = MQ_DLTMH_CALL;
238/// Delete Message Property
239///
240/// # Arguments
241/// * `Hconn`: Connection handle
242/// * `Hmsg`: Message handle
243/// * `DltPropOpts`: Options that control the action of [`MQDLTMP`](crate::MQDLTMP)
244/// * `Name`: Property name
245/// * `CompCode` (Output): Completion code
246/// * `Reason` (Output): Reason code qualifying `CompCode`
247pub type MQ_DLTMP_CALL = ::std::option::Option<
248 unsafe extern "C" fn(
249 Hconn: crate::MQHCONN,
250 Hmsg: crate::MQHMSG,
251 DltPropOpts: &crate::MQDMPO,
252 Name: &crate::MQCHARV,
253 CompCode: &mut crate::MQLONG,
254 Reason: &mut crate::MQLONG,
255 ),
256>;
257pub type PMQ_DLTMP_CALL = MQ_DLTMP_CALL;
258/// Get Message
259///
260/// # Arguments
261/// * `Hconn`: Connection handle
262/// * `Hobj`: Object handle
263/// * `MsgDesc` (Input/Output): Message descriptor
264/// * `GetMsgOpts` (Input/Output): Options that control the action of [`MQGET`](crate::MQGET)
265/// * `BufferLength`: Length in bytes of the Buffer area
266/// * `Buffer` (Output): Area to contain the message data
267/// * `DataLength` (Output): Length of the message
268/// * `CompCode` (Output): Completion code
269/// * `Reason` (Output): Reason code qualifying `CompCode`
270pub type MQ_GET_CALL = ::std::option::Option<
271 unsafe extern "C" fn(
272 Hconn: crate::MQHCONN,
273 Hobj: crate::MQHOBJ,
274 MsgDesc: crate::PMQVOID,
275 GetMsgOpts: &mut crate::MQGMO,
276 BufferLength: crate::MQLONG,
277 Buffer: crate::PMQVOID,
278 DataLength: &mut crate::MQLONG,
279 CompCode: &mut crate::MQLONG,
280 Reason: &mut crate::MQLONG,
281 ),
282>;
283pub type PMQ_GET_CALL = MQ_GET_CALL;
284/// Inquire Object Attributes
285///
286/// # Arguments
287/// * `Hconn`: Connection handle
288/// * `Hobj`: Object handle
289/// * `SelectorCount`: Count of selectors
290/// * `Selectors`: Array of attribute selectors
291/// * `IntAttrCount`: Count of integer attributes
292/// * `IntAttrs` (Output): Array of integer attributes
293/// * `CharAttrLength`: Length of character attributes buffer
294/// * `CharAttrs` (Output): Character attributes
295/// * `CompCode` (Output): Completion code
296/// * `Reason` (Output): Reason code qualifying `CompCode`
297pub type MQ_INQ_CALL = ::std::option::Option<
298 unsafe extern "C" fn(
299 Hconn: crate::MQHCONN,
300 Hobj: crate::MQHOBJ,
301 SelectorCount: crate::MQLONG,
302 Selectors: crate::PMQLONG,
303 IntAttrCount: crate::MQLONG,
304 IntAttrs: crate::PMQLONG,
305 CharAttrLength: crate::MQLONG,
306 CharAttrs: crate::PMQCHAR,
307 CompCode: &mut crate::MQLONG,
308 Reason: &mut crate::MQLONG,
309 ),
310>;
311pub type PMQ_INQ_CALL = MQ_INQ_CALL;
312/// Inquire Message Property
313///
314/// # Arguments
315/// * `Hconn`: Connection handle
316/// * `Hmsg`: Message handle
317/// * `InqPropOpts`: Options that control the action of [`MQINQMP`](crate::MQINQMP)
318/// * `Name`: Property name
319/// * `PropDesc` (Output): Property descriptor
320/// * `Type` (Input/Output): Property data type
321/// * `ValueLength`: Length in bytes of the Value area
322/// * `Value` (Output): Property value
323/// * `DataLength` (Output): Length of the property value
324/// * `CompCode` (Output): Completion code
325/// * `Reason` (Output): Reason code qualifying `CompCode`
326pub type MQ_INQMP_CALL = ::std::option::Option<
327 unsafe extern "C" fn(
328 Hconn: crate::MQHCONN,
329 Hmsg: crate::MQHMSG,
330 InqPropOpts: &mut crate::MQIMPO,
331 Name: &crate::MQCHARV,
332 PropDesc: &mut crate::MQPD,
333 Type: &mut crate::MQLONG,
334 ValueLength: crate::MQLONG,
335 Value: crate::PMQVOID,
336 DataLength: &mut crate::MQLONG,
337 CompCode: &mut crate::MQLONG,
338 Reason: &mut crate::MQLONG,
339 ),
340>;
341pub type PMQ_INQMP_CALL = MQ_INQMP_CALL;
342/// Message Handle To Buffer
343///
344/// # Arguments
345/// * `Hconn`: Connection handle
346/// * `Hmsg`: Message handle
347/// * `MsgHBufOpts`: Options that control the action of [`MQMHBUF`](crate::MQMHBUF)
348/// * `Name`: Property name
349/// * `MsgDesc` (Input/Output): Message descriptor
350/// * `BufferLength`: Length in bytes of the Buffer area
351/// * `Buffer` (Output): Area to contain the properties
352/// * `DataLength` (Output): Length of the properties
353/// * `CompCode` (Output): Completion code
354/// * `Reason` (Output): Reason code qualifying `CompCode`
355pub type MQ_MHBUF_CALL = ::std::option::Option<
356 unsafe extern "C" fn(
357 Hconn: crate::MQHCONN,
358 Hmsg: crate::MQHMSG,
359 MsgHBufOpts: &crate::MQMHBO,
360 Name: &crate::MQCHARV,
361 MsgDesc: crate::PMQVOID,
362 BufferLength: crate::MQLONG,
363 Buffer: crate::PMQVOID,
364 DataLength: &mut crate::MQLONG,
365 CompCode: &mut crate::MQLONG,
366 Reason: &mut crate::MQLONG,
367 ),
368>;
369pub type PMQ_MHBUF_CALL = MQ_MHBUF_CALL;
370/// Open Object
371///
372/// # Arguments
373/// * `Hconn`: Connection handle
374/// * `ObjDesc` (Input/Output): Object descriptor
375/// * `Options`: Options that control the action of [`MQOPEN`](crate::MQOPEN)
376/// * `Hobj` (Output): Object handle
377/// * `CompCode` (Output): Completion code
378/// * `Reason` (Output): Reason code qualifying `CompCode`
379pub type MQ_OPEN_CALL = ::std::option::Option<
380 unsafe extern "C" fn(
381 Hconn: crate::MQHCONN,
382 ObjDesc: &mut crate::MQOD,
383 Options: crate::MQLONG,
384 Hobj: &mut crate::MQHOBJ,
385 CompCode: &mut crate::MQLONG,
386 Reason: &mut crate::MQLONG,
387 ),
388>;
389pub type PMQ_OPEN_CALL = MQ_OPEN_CALL;
390/// Put Message
391///
392/// # Arguments
393/// * `Hconn`: Connection handle
394/// * `Hobj`: Object handle
395/// * `MsgDesc` (Input/Output): Message descriptor
396/// * `PutMsgOpts` (Input/Output): Options that control the action of [`MQPUT`](crate::MQPUT)
397/// * `BufferLength`: Length of the message in Buffer
398/// * `Buffer`: Message data
399/// * `CompCode` (Output): Completion code
400/// * `Reason` (Output): Reason code qualifying `CompCode`
401pub type MQ_PUT_CALL = ::std::option::Option<
402 unsafe extern "C" fn(
403 Hconn: crate::MQHCONN,
404 Hobj: crate::MQHOBJ,
405 MsgDesc: crate::PMQVOID,
406 PutMsgOpts: &mut crate::MQPMO,
407 BufferLength: crate::MQLONG,
408 Buffer: crate::PMQVOID,
409 CompCode: &mut crate::MQLONG,
410 Reason: &mut crate::MQLONG,
411 ),
412>;
413pub type PMQ_PUT_CALL = MQ_PUT_CALL;
414/// Put One Message
415///
416/// # Arguments
417/// * `Hconn`: Connection handle
418/// * `ObjDesc` (Input/Output): Object descriptor
419/// * `MsgDesc` (Input/Output): Message descriptor
420/// * `PutMsgOpts` (Input/Output): Options that control the action of [`MQPUT1`](crate::MQPUT1)
421/// * `BufferLength`: Length of the message in Buffer
422/// * `Buffer`: Message data
423/// * `CompCode` (Output): Completion code
424/// * `Reason` (Output): Reason code qualifying `CompCode`
425pub type MQ_PUT1_CALL = ::std::option::Option<
426 unsafe extern "C" fn(
427 Hconn: crate::MQHCONN,
428 ObjDesc: &mut crate::MQOD,
429 MsgDesc: crate::PMQVOID,
430 PutMsgOpts: &mut crate::MQPMO,
431 BufferLength: crate::MQLONG,
432 Buffer: crate::PMQVOID,
433 CompCode: &mut crate::MQLONG,
434 Reason: &mut crate::MQLONG,
435 ),
436>;
437pub type PMQ_PUT1_CALL = MQ_PUT1_CALL;
438/// Set Object Attributes
439///
440/// # Arguments
441/// * `Hconn`: Connection handle
442/// * `Hobj`: Object handle
443/// * `SelectorCount`: Count of selectors
444/// * `Selectors`: Array of attribute selectors
445/// * `IntAttrCount`: Count of integer attributes
446/// * `IntAttrs`: Array of integer attributes
447/// * `CharAttrLength`: Length of character attributes buffer
448/// * `CharAttrs`: Character attributes
449/// * `CompCode` (Output): Completion code
450/// * `Reason` (Output): Reason code qualifying `CompCode`
451pub type MQ_SET_CALL = ::std::option::Option<
452 unsafe extern "C" fn(
453 Hconn: crate::MQHCONN,
454 Hobj: crate::MQHOBJ,
455 SelectorCount: crate::MQLONG,
456 Selectors: crate::PMQLONG,
457 IntAttrCount: crate::MQLONG,
458 IntAttrs: crate::PMQLONG,
459 CharAttrLength: crate::MQLONG,
460 CharAttrs: crate::PMQCHAR,
461 CompCode: &mut crate::MQLONG,
462 Reason: &mut crate::MQLONG,
463 ),
464>;
465pub type PMQ_SET_CALL = MQ_SET_CALL;
466/// Set Message Property
467///
468/// # Arguments
469/// * `Hconn`: Connection handle
470/// * `Hmsg`: Message handle
471/// * `SetPropOpts`: Options that control the action of [`MQSETMP`](crate::MQSETMP)
472/// * `Name`: Property name
473/// * `PropDesc` (Input/Output): Property descriptor
474/// * `Type`: Property data type
475/// * `ValueLength`: Length of the Value area
476/// * `Value`: Property value
477/// * `CompCode` (Output): Completion code
478/// * `Reason` (Output): Reason code qualifying `CompCode`
479pub type MQ_SETMP_CALL = ::std::option::Option<
480 unsafe extern "C" fn(
481 Hconn: crate::MQHCONN,
482 Hmsg: crate::MQHMSG,
483 SetPropOpts: &crate::MQSMPO,
484 Name: &crate::MQCHARV,
485 PropDesc: &mut crate::MQPD,
486 Type: crate::MQLONG,
487 ValueLength: crate::MQLONG,
488 Value: crate::PMQVOID,
489 CompCode: &mut crate::MQLONG,
490 Reason: &mut crate::MQLONG,
491 ),
492>;
493pub type PMQ_SETMP_CALL = MQ_SETMP_CALL;
494/// Get Status Information
495///
496/// # Arguments
497/// * `Hconn`: Connection handle
498/// * `Type`: Status information type
499/// * `Status` (Input/Output): Status information
500/// * `CompCode` (Output): Completion code
501/// * `Reason` (Output): Reason code qualifying `CompCode`
502pub type MQ_STAT_CALL = ::std::option::Option<
503 unsafe extern "C" fn(
504 Hconn: crate::MQHCONN,
505 Type: crate::MQLONG,
506 Status: &mut crate::MQSTS,
507 CompCode: &mut crate::MQLONG,
508 Reason: &mut crate::MQLONG,
509 ),
510>;
511pub type PMQ_STAT_CALL = MQ_STAT_CALL;
512/// Subscribe to topic
513///
514/// # Arguments
515/// * `Hconn`: Connection handle
516/// * `SubDesc` (Input/Output): Subscription descriptor
517/// * `Hobj` (Input/Output): Object handle for queue
518/// * `Hsub` (Output): Subscription object handle
519/// * `CompCode` (Output): Completion code
520/// * `Reason` (Output): Reason code qualifying `CompCode`
521pub type MQ_SUB_CALL = ::std::option::Option<
522 unsafe extern "C" fn(
523 Hconn: crate::MQHCONN,
524 SubDesc: &mut crate::MQSD,
525 Hobj: Option<&mut crate::MQHOBJ>,
526 Hsub: &mut crate::MQHOBJ,
527 CompCode: &mut crate::MQLONG,
528 Reason: &mut crate::MQLONG,
529 ),
530>;
531pub type PMQ_SUB_CALL = MQ_SUB_CALL;
532/// Subscription Request
533///
534/// # Arguments
535/// * `Hconn`: Connection handle
536/// * `Hsub`: Subscription handle
537/// * `Action`: Action requested on the subscription
538/// * `SubRqOpts` (Input/Output): Subscription Request Options
539/// * `CompCode` (Output): Completion code
540/// * `Reason` (Output): Reason code qualifying `CompCode`
541pub type MQ_SUBRQ_CALL = ::std::option::Option<
542 unsafe extern "C" fn(
543 Hconn: crate::MQHCONN,
544 Hsub: crate::MQHOBJ,
545 Action: crate::MQLONG,
546 SubRqOpts: Option<&mut crate::MQSRO>,
547 CompCode: &mut crate::MQLONG,
548 Reason: &mut crate::MQLONG,
549 ),
550>;
551pub type PMQ_SUBRQ_CALL = MQ_SUBRQ_CALL;
552pub type PMQACH = *mut MQACH;
553pub type PMQAXC = *mut MQAXC;
554pub type PMQAXP = *mut MQAXP;
555pub type PMQCXP = *mut MQCXP;
556pub type PMQDXP = *mut MQDXP;
557pub type PMQNXP = *mut MQNXP;
558pub type PMQPBC = *mut MQPBC;
559pub type PMQPSXP = *mut MQPSXP;
560pub type PMQSBC = *mut MQSBC;
561pub type PMQWCR = *mut MQWCR;
562pub type PMQWDR = *mut MQWDR;
563pub type PPMQWDR = *mut PMQWDR;
564pub type PMQWDR1 = *mut MQWDR1;
565pub type PMQWDR2 = *mut MQWDR2;
566pub type PMQWQR = *mut MQWQR;
567pub type PPMQWQR = *mut PMQWQR;
568pub type PMQWQR1 = *mut MQWQR1;
569pub type PMQWQR2 = *mut MQWQR2;
570pub type PMQWQR3 = *mut MQWQR3;
571pub type PMQWQR4 = *mut MQWQR4;
572pub type PMQWXP = *mut MQWXP;
573pub type PMQWXP1 = *mut MQWXP1;
574pub type PMQWXP2 = *mut MQWXP2;
575pub type PMQWXP3 = *mut MQWXP3;
576pub type PMQWXP4 = *mut MQWXP4;
577pub type PMQXEPO = *mut MQXEPO;
578/// Register Entry Point
579///
580/// # Arguments
581/// * `Hconfig`: Configuration handle
582/// * `ExitReason`: Exit reason
583/// * `Function`: Function identifier
584/// * `EntryPoint`: Exit function entry point
585/// * `ExitOpts`: Options that control the action of [`MQXEP`]
586/// * `CompCode` (Output): Completion code
587/// * `Reason` (Output): Reason code qualifying `CompCode`
588pub type MQ_XEP_CALL = ::std::option::Option<
589 unsafe extern "C" fn(
590 Hconfig: MQHCONFIG,
591 ExitReason: crate::MQLONG,
592 Function: crate::MQLONG,
593 EntryPoint: crate::PMQFUNC,
594 ExitOpts: Option<&MQXEPO>,
595 CompCode: &mut crate::MQLONG,
596 Reason: &mut crate::MQLONG,
597 ),
598>;
599pub type PMQ_XEP_CALL = MQ_XEP_CALL;
600/// Back Out Changes Exit
601///
602/// # Arguments
603/// * `ExitParms` (Input/Output): Exit parameter structure
604/// * `ExitContext` (Input/Output): Exit context structure
605/// * `Hconn` (Input/Output): Connection handle
606/// * `CompCode` (Output): Completion code
607/// * `Reason` (Output): Reason code qualifying `CompCode`
608///
609/// # References
610/// * [IBM `MQ_BACK_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109700_.html)
611pub type MQ_BACK_EXIT = ::std::option::Option<
612 unsafe extern "C" fn(
613 ExitParms: &mut MQAXP,
614 ExitContext: &mut MQAXC,
615 Hconn: &mut crate::MQHCONN,
616 CompCode: &mut crate::MQLONG,
617 Reason: &mut crate::MQLONG,
618 ),
619>;
620pub type PMQ_BACK_EXIT = MQ_BACK_EXIT;
621/// Begin Unit of Work Exit
622///
623/// # Arguments
624/// * `ExitParms` (Input/Output): Exit parameter structure
625/// * `ExitContext` (Input/Output): Exit context structure
626/// * `Hconn` (Input/Output): Connection handle
627/// * `BeginOptions` (Input/Output): Options that control the action of [`MQBEGIN`](crate::MQBEGIN)
628/// * `CompCode` (Output): Completion code
629/// * `Reason` (Output): Reason code qualifying `CompCode`
630///
631/// # References
632/// * [IBM `MQ_BEGIN_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109710_.html)
633pub type MQ_BEGIN_EXIT = ::std::option::Option<
634 unsafe extern "C" fn(
635 ExitParms: &mut MQAXP,
636 ExitContext: &mut MQAXC,
637 Hconn: &mut crate::MQHCONN,
638 BeginOptions: PPMQBO,
639 CompCode: &mut crate::MQLONG,
640 Reason: &mut crate::MQLONG,
641 ),
642>;
643pub type PMQ_BEGIN_EXIT = MQ_BEGIN_EXIT;
644/// Callback Function Exit
645///
646/// # Arguments
647/// * `ExitParms` (Input/Output): Exit parameter structure
648/// * `ExitContext` (Input/Output): Exit context structure
649/// * `Hconn` (Input/Output): Connection handle
650/// * `MsgDesc` (Input/Output): Message descriptor
651/// * `GetMsgOpts` (Input/Output): Options that define the operation of the consumer
652/// * `Buffer` (Input/Output): Area to contain the message data
653/// * `MQCBContext` (Input/Output): Context data for the callback
654///
655/// # References
656/// * [IBM `MQ_CALLBACK_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109720_.html)
657pub type MQ_CALLBACK_EXIT = ::std::option::Option<
658 unsafe extern "C" fn(
659 ExitParms: &mut MQAXP,
660 ExitContext: &mut MQAXC,
661 Hconn: &mut crate::MQHCONN,
662 MsgDesc: PPMQMD,
663 GetMsgOpts: PPMQGMO,
664 Buffer: PPMQVOID,
665 MQCBContext: PPMQCBC,
666 ),
667>;
668pub type PMQ_CALLBACK_EXIT = MQ_CALLBACK_EXIT;
669/// Register Callback Exit
670///
671/// # Arguments
672/// * `ExitParms` (Input/Output): Exit parameter structure
673/// * `ExitContext` (Input/Output): Exit context structure
674/// * `Hconn` (Input/Output): Connection handle
675/// * `Operation` (Input/Output): Operation
676/// * `CallbackDesc` (Input/Output): Callback descriptor
677/// * `Hobj` (Input/Output): Object handle
678/// * `MsgDesc` (Input/Output): Message descriptor
679/// * `GetMsgOpts` (Input/Output): Get message options
680/// * `CompCode` (Output): Completion code
681/// * `Reason` (Output): Reason code qualifying `CompCode`
682///
683/// # References
684/// * [IBM `MQ_CB_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109730_.html)
685pub type MQ_CB_EXIT = ::std::option::Option<
686 unsafe extern "C" fn(
687 ExitParms: &mut MQAXP,
688 ExitContext: &mut MQAXC,
689 Hconn: &mut crate::MQHCONN,
690 Operation: crate::PMQLONG,
691 CallbackDesc: PPMQCBD,
692 Hobj: &mut crate::MQHOBJ,
693 MsgDesc: PPMQMD,
694 GetMsgOpts: PPMQGMO,
695 CompCode: &mut crate::MQLONG,
696 Reason: &mut crate::MQLONG,
697 ),
698>;
699pub type PMQ_CB_EXIT = MQ_CB_EXIT;
700/// Close Object Exit
701///
702/// # Arguments
703/// * `ExitParms` (Input/Output): Exit parameter structure
704/// * `ExitContext` (Input/Output): Exit context structure
705/// * `Hconn` (Input/Output): Connection handle
706/// * `Hobj` (Input/Output): Object handle
707/// * `Options` (Input/Output): Options that control the action of [`MQCLOSE`](crate::MQCLOSE)
708/// * `CompCode` (Output): Completion code
709/// * `Reason` (Output): Reason code qualifying `CompCode`
710///
711/// # References
712/// * [IBM `MQ_CLOSE_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109740_.html)
713pub type MQ_CLOSE_EXIT = ::std::option::Option<
714 unsafe extern "C" fn(
715 ExitParms: &mut MQAXP,
716 ExitContext: &mut MQAXC,
717 Hconn: &mut crate::MQHCONN,
718 Hobj: PPMQHOBJ,
719 Options: crate::PMQLONG,
720 CompCode: &mut crate::MQLONG,
721 Reason: &mut crate::MQLONG,
722 ),
723>;
724pub type PMQ_CLOSE_EXIT = MQ_CLOSE_EXIT;
725/// Commit Changes Exit
726///
727/// # Arguments
728/// * `ExitParms` (Input/Output): Exit parameter structure
729/// * `ExitContext` (Input/Output): Exit context structure
730/// * `Hconn` (Input/Output): Connection handle
731/// * `CompCode` (Output): Completion code
732/// * `Reason` (Output): Reason code qualifying `CompCode`
733///
734/// # References
735/// * [IBM `MQ_CMIT_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109750_.html)
736pub type MQ_CMIT_EXIT = ::std::option::Option<
737 unsafe extern "C" fn(
738 ExitParms: &mut MQAXP,
739 ExitContext: &mut MQAXC,
740 Hconn: &mut crate::MQHCONN,
741 CompCode: &mut crate::MQLONG,
742 Reason: &mut crate::MQLONG,
743 ),
744>;
745pub type PMQ_CMIT_EXIT = MQ_CMIT_EXIT;
746/// Connect Queue Manager Exit
747///
748/// # Arguments
749/// * `ExitParms` (Input/Output): Exit parameter structure
750/// * `ExitContext` (Input/Output): Exit context structure
751/// * `QMgrName` (Input/Output): Name of queue manager
752/// * `ConnectOpts` (Input/Output): Options that control the action of [`MQCONNX`](crate::MQCONNX)
753/// * `Hconn` (Input/Output): Connection handle
754/// * `CompCode` (Output): Completion code
755/// * `Reason` (Output): Reason code qualifying `CompCode`
756///
757/// # References
758/// * [IBM `MQ_CONNX_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109760_.html)
759pub type MQ_CONNX_EXIT = ::std::option::Option<
760 unsafe extern "C" fn(
761 ExitParms: &mut MQAXP,
762 ExitContext: &mut MQAXC,
763 QMgrName: crate::PMQCHAR,
764 ConnectOpts: PPMQCNO,
765 Hconn: PPMQHCONN,
766 CompCode: &mut crate::MQLONG,
767 Reason: &mut crate::MQLONG,
768 ),
769>;
770pub type PMQ_CONNX_EXIT = MQ_CONNX_EXIT;
771/// Control Asynchronous Operations Exit
772///
773/// # Arguments
774/// * `ExitParms` (Input/Output): Exit parameter structure
775/// * `ExitContext` (Input/Output): Exit context structure
776/// * `Hconn` (Input/Output): Connection handle
777/// * `Operation` (Input/Output): Operation
778/// * `CtlOpts` (Input/Output): Control options
779/// * `CompCode` (Output): Completion code
780/// * `Reason` (Output): Reason code qualifying `CompCode`
781///
782/// # References
783/// * [IBM `MQ_CTL_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109770_.html)
784pub type MQ_CTL_EXIT = ::std::option::Option<
785 unsafe extern "C" fn(
786 ExitParms: &mut MQAXP,
787 ExitContext: &mut MQAXC,
788 Hconn: &mut crate::MQHCONN,
789 Operation: crate::PMQLONG,
790 CtlOpts: PPMQCTLO,
791 CompCode: &mut crate::MQLONG,
792 Reason: &mut crate::MQLONG,
793 ),
794>;
795pub type PMQ_CTL_EXIT = MQ_CTL_EXIT;
796/// Disconnect Queue Manager Exit
797///
798/// # Arguments
799/// * `ExitParms` (Input/Output): Exit parameter structure
800/// * `ExitContext` (Input/Output): Exit context structure
801/// * `Hconn` (Input/Output): Connection handle
802/// * `CompCode` (Output): Completion code
803/// * `Reason` (Output): Reason code qualifying `CompCode`
804///
805/// # References
806/// * [IBM `MQ_DISC_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109780_.html)
807pub type MQ_DISC_EXIT = ::std::option::Option<
808 unsafe extern "C" fn(
809 ExitParms: &mut MQAXP,
810 ExitContext: &mut MQAXC,
811 Hconn: PPMQHCONN,
812 CompCode: &mut crate::MQLONG,
813 Reason: &mut crate::MQLONG,
814 ),
815>;
816pub type PMQ_DISC_EXIT = MQ_DISC_EXIT;
817/// Get Message Exit
818///
819/// # Arguments
820/// * `ExitParms` (Input/Output): Exit parameter structure
821/// * `ExitContext` (Input/Output): Exit context structure
822/// * `Hconn` (Input/Output): Connection handle
823/// * `Hobj` (Input/Output): Object handle
824/// * `MsgDesc` (Input/Output): Message descriptor
825/// * `GetMsgOpts` (Input/Output): Options that control the action of [`MQGET`](crate::MQGET)
826/// * `BufferLength` (Input/Output): Length in bytes of pBuffer area
827/// * `Buffer` (Input/Output): Area to contain the message data
828/// * `DataLength` (Output): Length of the message
829/// * `CompCode` (Output): Completion code
830/// * `Reason` (Output): Reason code qualifying `CompCode`
831///
832/// # References
833/// * [IBM `MQ_GET_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109790_.html)
834pub type MQ_GET_EXIT = ::std::option::Option<
835 unsafe extern "C" fn(
836 ExitParms: &mut MQAXP,
837 ExitContext: &mut MQAXC,
838 Hconn: &mut crate::MQHCONN,
839 Hobj: &mut crate::MQHOBJ,
840 MsgDesc: PPMQMD,
841 GetMsgOpts: PPMQGMO,
842 BufferLength: crate::PMQLONG,
843 Buffer: PPMQVOID,
844 DataLength: PPMQLONG,
845 CompCode: &mut crate::MQLONG,
846 Reason: &mut crate::MQLONG,
847 ),
848>;
849pub type PMQ_GET_EXIT = MQ_GET_EXIT;
850/// Initialization Exit
851///
852/// # Arguments
853/// * `ExitParms` (Input/Output): Exit parameter structure
854/// * `ExitContext` (Input/Output): Exit context structure
855/// * `CompCode` (Output): Completion code
856/// * `Reason` (Output): Reason code qualifying `CompCode`
857///
858/// # References
859/// * [IBM `MQ_INIT_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109810_.html)
860pub type MQ_INIT_EXIT = ::std::option::Option<
861 unsafe extern "C" fn(
862 ExitParms: &mut MQAXP,
863 ExitContext: &mut MQAXC,
864 CompCode: &mut crate::MQLONG,
865 Reason: &mut crate::MQLONG,
866 ),
867>;
868pub type PMQ_INIT_EXIT = MQ_INIT_EXIT;
869/// Inquire Object Attributes Exit
870///
871/// # Arguments
872/// * `ExitParms` (Input/Output): Exit parameter structure
873/// * `ExitContext` (Input/Output): Exit context structure
874/// * `Hconn` (Input/Output): Connection handle
875/// * `Hobj` (Input/Output): Object handle
876/// * `SelectorCount` (Input/Output): Count of selectors
877/// * `Selectors` (Input/Output): Array of attribute selectors
878/// * `IntAttrCount` (Input/Output): Count of integer attributes
879/// * `IntAttrs` (Input/Output): Array of integer attributes
880/// * `CharAttrLength` (Output): Length of character attributes
881/// * `CharAttrs` (Output): Character attributes
882/// * `CompCode` (Output): Completion code
883/// * `Reason` (Output): Reason code qualifying `CompCode`
884///
885/// # References
886/// * [IBM `MQ_INQ_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109820_.html)
887pub type MQ_INQ_EXIT = ::std::option::Option<
888 unsafe extern "C" fn(
889 ExitParms: &mut MQAXP,
890 ExitContext: &mut MQAXC,
891 Hconn: &mut crate::MQHCONN,
892 Hobj: &mut crate::MQHOBJ,
893 SelectorCount: crate::PMQLONG,
894 Selectors: PPMQLONG,
895 IntAttrCount: crate::PMQLONG,
896 IntAttrs: PPMQLONG,
897 CharAttrLength: crate::PMQLONG,
898 CharAttrs: PPMQCHAR,
899 CompCode: &mut crate::MQLONG,
900 Reason: &mut crate::MQLONG,
901 ),
902>;
903pub type PMQ_INQ_EXIT = MQ_INQ_EXIT;
904/// Open Object Exit
905///
906/// # Arguments
907/// * `ExitParms` (Input/Output): Exit parameter structure
908/// * `ExitContext` (Input/Output): Exit context structure
909/// * `Hconn` (Input/Output): Connection handle
910/// * `ObjDesc` (Input/Output): Object descriptor
911/// * `Options` (Input/Output): Options that control the action of [`MQOPEN`](crate::MQOPEN)
912/// * `Hobj` (Input/Output): Object handle
913/// * `CompCode` (Output): Completion code
914/// * `Reason` (Output): Reason code qualifying `CompCode`
915///
916/// # References
917/// * [IBM `MQ_OPEN_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109830_.html)
918pub type MQ_OPEN_EXIT = ::std::option::Option<
919 unsafe extern "C" fn(
920 ExitParms: &mut MQAXP,
921 ExitContext: &mut MQAXC,
922 Hconn: &mut crate::MQHCONN,
923 ObjDesc: PPMQOD,
924 Options: crate::PMQLONG,
925 Hobj: PPMQHOBJ,
926 CompCode: &mut crate::MQLONG,
927 Reason: &mut crate::MQLONG,
928 ),
929>;
930pub type PMQ_OPEN_EXIT = MQ_OPEN_EXIT;
931/// Put Message Exit
932///
933/// # Arguments
934/// * `ExitParms` (Input/Output): Exit parameter structure
935/// * `ExitContext` (Input/Output): Exit context structure
936/// * `Hconn` (Input/Output): Connection handle
937/// * `Hobj` (Input/Output): Object handle
938/// * `MsgDesc` (Input/Output): Message descriptor
939/// * `PutMsgOpts` (Input/Output): Options that control the action of [`MQPUT`](crate::MQPUT)
940/// * `BufferLength` (Input/Output): Length of the message in pBuffer
941/// * `Buffer` (Input/Output): Message data
942/// * `CompCode` (Output): Completion code
943/// * `Reason` (Output): Reason code qualifying `CompCode`
944///
945/// # References
946/// * [IBM `MQ_PUT_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109840_.html)
947pub type MQ_PUT_EXIT = ::std::option::Option<
948 unsafe extern "C" fn(
949 ExitParms: &mut MQAXP,
950 ExitContext: &mut MQAXC,
951 Hconn: &mut crate::MQHCONN,
952 Hobj: &mut crate::MQHOBJ,
953 MsgDesc: PPMQMD,
954 PutMsgOpts: PPMQPMO,
955 BufferLength: crate::PMQLONG,
956 Buffer: PPMQVOID,
957 CompCode: &mut crate::MQLONG,
958 Reason: &mut crate::MQLONG,
959 ),
960>;
961pub type PMQ_PUT_EXIT = MQ_PUT_EXIT;
962/// Put One Message Exit
963///
964/// # Arguments
965/// * `ExitParms` (Input/Output): Exit parameter structure
966/// * `ExitContext` (Input/Output): Exit context structure
967/// * `Hconn` (Input/Output): Connection handle
968/// * `ObjDesc` (Input/Output): Object descriptor
969/// * `MsgDesc` (Input/Output): Message descriptor
970/// * `PutMsgOpts` (Input/Output): Options that control the action of [`MQPUT1`](crate::MQPUT1)
971/// * `BufferLength` (Input/Output): Length of the message in pBuffer
972/// * `Buffer` (Input/Output): Message data
973/// * `CompCode` (Output): Completion code
974/// * `Reason` (Output): Reason code qualifying `CompCode`
975///
976/// # References
977/// * [IBM `MQ_PUT1_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109850_.html)
978pub type MQ_PUT1_EXIT = ::std::option::Option<
979 unsafe extern "C" fn(
980 ExitParms: &mut MQAXP,
981 ExitContext: &mut MQAXC,
982 Hconn: &mut crate::MQHCONN,
983 ObjDesc: PPMQOD,
984 MsgDesc: PPMQMD,
985 PutMsgOpts: PPMQPMO,
986 BufferLength: crate::PMQLONG,
987 Buffer: PPMQVOID,
988 CompCode: &mut crate::MQLONG,
989 Reason: &mut crate::MQLONG,
990 ),
991>;
992pub type PMQ_PUT1_EXIT = MQ_PUT1_EXIT;
993/// Set Object Attributes Exit
994///
995/// # Arguments
996/// * `ExitParms` (Input/Output): Exit parameter structure
997/// * `ExitContext` (Input/Output): Exit context structure
998/// * `Hconn` (Input/Output): Connection handle
999/// * `Hobj` (Input/Output): Object handle
1000/// * `SelectorCount` (Input/Output): Count of selectors
1001/// * `Selectors` (Input/Output): Array of attribute selectors
1002/// * `IntAttrCount` (Input/Output): Count of integer attributes
1003/// * `IntAttrs` (Input/Output): Array of integer attributes
1004/// * `CharAttrLength` (Output): Length of character attributes buffer
1005/// * `CharAttrs` (Output): Character attributes
1006/// * `CompCode` (Output): Completion code
1007/// * `Reason` (Output): Reason code qualifying `CompCode`
1008///
1009/// # References
1010/// * [IBM `MQ_SET_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109860_.html)
1011pub type MQ_SET_EXIT = ::std::option::Option<
1012 unsafe extern "C" fn(
1013 ExitParms: &mut MQAXP,
1014 ExitContext: &mut MQAXC,
1015 Hconn: &mut crate::MQHCONN,
1016 Hobj: &mut crate::MQHOBJ,
1017 SelectorCount: crate::PMQLONG,
1018 Selectors: PPMQLONG,
1019 IntAttrCount: crate::PMQLONG,
1020 IntAttrs: PPMQLONG,
1021 CharAttrLength: crate::PMQLONG,
1022 CharAttrs: PPMQCHAR,
1023 CompCode: &mut crate::MQLONG,
1024 Reason: &mut crate::MQLONG,
1025 ),
1026>;
1027pub type PMQ_SET_EXIT = MQ_SET_EXIT;
1028/// Get Status Exit
1029///
1030/// # Arguments
1031/// * `ExitParms` (Input/Output): Exit parameter structure
1032/// * `ExitContext` (Input/Output): Exit context structure
1033/// * `Hconn` (Input/Output): Connection handle
1034/// * `Type` (Input/Output): Status Type
1035/// * `Status` (Input/Output): Status Buffer
1036/// * `CompCode` (Output): Completion code
1037/// * `Reason` (Output): Reason code qualifying `CompCode`
1038///
1039/// # References
1040/// * [IBM `MQ_STAT_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109870_.html)
1041pub type MQ_STAT_EXIT = ::std::option::Option<
1042 unsafe extern "C" fn(
1043 ExitParms: &mut MQAXP,
1044 ExitContext: &mut MQAXC,
1045 Hconn: &mut crate::MQHCONN,
1046 Type: crate::PMQLONG,
1047 Status: PPMQSTS,
1048 CompCode: &mut crate::MQLONG,
1049 Reason: &mut crate::MQLONG,
1050 ),
1051>;
1052pub type PMQ_STAT_EXIT = MQ_STAT_EXIT;
1053/// Subscribe Exit
1054///
1055/// # Arguments
1056/// * `ExitParms` (Input/Output): Exit parameter structure
1057/// * `ExitContext` (Input/Output): Exit context structure
1058/// * `Hconn` (Input/Output): Connection handle
1059/// * `Hsub` (Input/Output): Subscription handle
1060/// * `Action` (Input/Output): Request action
1061/// * `SubRqOpts` (Input/Output): Subscription Request options
1062/// * `CompCode` (Output): Completion code
1063/// * `Reason` (Output): Reason code qualifying `CompCode`
1064///
1065/// # References
1066/// * [IBM `MQ_SUBRQ_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109900_.html)
1067pub type MQ_SUBRQ_EXIT = ::std::option::Option<
1068 unsafe extern "C" fn(
1069 ExitParms: &mut MQAXP,
1070 ExitContext: &mut MQAXC,
1071 Hconn: &mut crate::MQHCONN,
1072 Hsub: crate::PMQHOBJ,
1073 Action: crate::PMQLONG,
1074 SubRqOpts: PPMQSRO,
1075 CompCode: &mut crate::MQLONG,
1076 Reason: &mut crate::MQLONG,
1077 ),
1078>;
1079pub type PMQ_SUBRQ_EXIT = MQ_SUBRQ_EXIT;
1080/// Subscribe Exit
1081///
1082/// # Arguments
1083/// * `ExitParms` (Input/Output): Exit parameter structure
1084/// * `ExitContext` (Input/Output): Exit context structure
1085/// * `Hconn` (Input/Output): Connection handle
1086/// * `SubDesc` (Input/Output): Subscription descriptor
1087/// * `Hobj` (Input/Output): Queue object handle
1088/// * `Hsub` (Input/Output): Subscription object handle
1089/// * `CompCode` (Output): Completion code
1090/// * `Reason` (Output): Reason code qualifying `CompCode`
1091///
1092/// # References
1093/// * [IBM `MQ_SUB_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109890_.html)
1094pub type MQ_SUB_EXIT = ::std::option::Option<
1095 unsafe extern "C" fn(
1096 ExitParms: &mut MQAXP,
1097 ExitContext: &mut MQAXC,
1098 Hconn: &mut crate::MQHCONN,
1099 SubDesc: PPMQSD,
1100 Hobj: PPMQHOBJ,
1101 Hsub: PPMQHOBJ,
1102 CompCode: &mut crate::MQLONG,
1103 Reason: &mut crate::MQLONG,
1104 ),
1105>;
1106pub type PMQ_SUB_EXIT = MQ_SUB_EXIT;
1107/// Termination Exit
1108///
1109/// # Arguments
1110/// * `ExitParms` (Input/Output): Exit parameter structure
1111/// * `ExitContext` (Input/Output): Exit context structure
1112/// * `CompCode` (Output): Completion code
1113/// * `Reason` (Output): Reason code qualifying `CompCode`
1114///
1115/// # References
1116/// * [IBM `MQ_TERM_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109880_.html)
1117pub type MQ_TERM_EXIT = ::std::option::Option<
1118 unsafe extern "C" fn(
1119 ExitParms: &mut MQAXP,
1120 ExitContext: &mut MQAXC,
1121 CompCode: &mut crate::MQLONG,
1122 Reason: &mut crate::MQLONG,
1123 ),
1124>;
1125pub type PMQ_TERM_EXIT = MQ_TERM_EXIT;
1126/// Channel Exit
1127///
1128/// # Arguments
1129/// * `ChannelExitParms` (Input/Output): Channel exit parameter block
1130/// * `ChannelDefinition` (Input/Output): Channel definition
1131/// * `DataLength` (Input/Output): Length of data
1132/// * `AgentBufferLength`: Length of agent buffer
1133/// * `AgentBuffer` (Input/Output): Agent buffer
1134/// * `ExitBufferLength` (Input/Output): Length of exit buffer
1135/// * `ExitBufferAddr` (Input/Output): Address of exit buffer
1136///
1137/// # References
1138/// * [IBM `MQ_CHANNEL_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q108180_.html)
1139pub type MQ_CHANNEL_EXIT = ::std::option::Option<
1140 unsafe extern "C" fn(
1141 ChannelExitParms: crate::PMQVOID,
1142 ChannelDefinition: crate::PMQVOID,
1143 DataLength: &mut crate::MQLONG,
1144 AgentBufferLength: crate::PMQLONG,
1145 AgentBuffer: crate::PMQVOID,
1146 ExitBufferLength: crate::PMQLONG,
1147 ExitBufferAddr: crate::PMQPTR,
1148 ),
1149>;
1150pub type PMQ_CHANNEL_EXIT = MQ_CHANNEL_EXIT;
1151/// Channel Auto Definition Exit
1152///
1153/// # Arguments
1154/// * `ChannelExitParms` (Input/Output): Channel exit parameter block
1155/// * `ChannelDefinition` (Input/Output): Channel definition
1156///
1157/// # References
1158/// * [IBM `MQ_CHANNEL_AUTO_DEF_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q108190_.html)
1159pub type MQ_CHANNEL_AUTO_DEF_EXIT = ::std::option::Option<
1160 unsafe extern "C" fn(
1161 ChannelExitParms: crate::PMQVOID,
1162 ChannelDefinition: crate::PMQVOID,
1163 ),
1164>;
1165pub type PMQ_CHANNEL_AUTO_DEF_EXIT = MQ_CHANNEL_AUTO_DEF_EXIT;
1166/// Cluster Workload Exit
1167///
1168/// # Arguments
1169/// * `ExitParms` (Input/Output): Exit parameter block
1170///
1171/// # References
1172/// * [IBM `MQ_CLUSTER_WORKLOAD_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q082500_.html)
1173pub type MQ_CLUSTER_WORKLOAD_EXIT = ::std::option::Option<
1174 unsafe extern "C" fn(ExitParms: &mut MQWXP),
1175>;
1176pub type PMQ_CLUSTER_WORKLOAD_EXIT = MQ_CLUSTER_WORKLOAD_EXIT;
1177/// Data Conversion Exit
1178///
1179/// # Arguments
1180/// * `DataConvExitParms` (Input/Output): Data-conversion exit parameter block
1181/// * `MsgDesc` (Input/Output): Message descriptor
1182/// * `InBufferLength`: Length in bytes of `InBuffer`
1183/// * `InBuffer`: Buffer containing the unconverted message
1184/// * `OutBufferLength`: Length in bytes of `OutBuffer`
1185/// * `OutBuffer` (Output): Buffer containing the converted message
1186///
1187/// # References
1188/// * [IBM `MQ_DATA_CONV_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q104120_.html)
1189pub type MQ_DATA_CONV_EXIT = ::std::option::Option<
1190 unsafe extern "C" fn(
1191 DataConvExitParms: PMQDXP,
1192 MsgDesc: crate::PMQMD,
1193 InBufferLength: crate::MQLONG,
1194 InBuffer: crate::PMQVOID,
1195 OutBufferLength: crate::MQLONG,
1196 OutBuffer: crate::PMQVOID,
1197 ),
1198>;
1199pub type PMQ_DATA_CONV_EXIT = MQ_DATA_CONV_EXIT;
1200/// Publish Exit
1201///
1202/// # Arguments
1203/// * `ExitParms` (Input/Output): Exit parameter block
1204/// * `PubContext`: Publication context structure
1205/// * `SubContext`: Subscription context structure
1206///
1207/// # References
1208/// * [IBM `MQ_PUBLISH_EXIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q108130_.html)
1209pub type MQ_PUBLISH_EXIT = ::std::option::Option<
1210 unsafe extern "C" fn(ExitParms: &mut MQPSXP, PubContext: PMQPBC, SubContext: PMQSBC),
1211>;
1212pub type PMQ_PUBLISH_EXIT = MQ_PUBLISH_EXIT;
1213/// Transport Retry Exit
1214///
1215/// # Arguments
1216/// * `ExitParms` (Input/Output): Exit parameter block
1217/// * `DestAddressLength`: Length in bytes of destination IP address
1218/// * `DestAddress`: Destination IP address
1219pub type MQ_TRANSPORT_EXIT = ::std::option::Option<
1220 unsafe extern "C" fn(
1221 ExitParms: crate::PMQVOID,
1222 DestAddressLength: crate::MQLONG,
1223 DestAddress: crate::PMQCHAR,
1224 ),
1225>;
1226pub type PMQ_TRANSPORT_EXIT = MQ_TRANSPORT_EXIT;
1227/// Preconnect Exit
1228///
1229/// # Arguments
1230/// * `ExitParms` (Input/Output): Exit parameter structure
1231/// * `QMgrName` (Input/Output): Name of queue manager
1232/// * `ConnectOpts` (Input/Output): Options that control the action of [`MQCONNX`](crate::MQCONNX)
1233/// * `CompCode` (Output): Completion code
1234/// * `Reason` (Output): Reason code qualifying `CompCode`
1235pub type MQ_PRECONNECT_EXIT = ::std::option::Option<
1236 unsafe extern "C" fn(
1237 ExitParms: &mut MQNXP,
1238 QMgrName: crate::PMQCHAR,
1239 ConnectOpts: PPMQCNO,
1240 CompCode: &mut crate::MQLONG,
1241 Reason: &mut crate::MQLONG,
1242 ),
1243>;
1244pub type PMQ_PRECONNECT_EXIT = MQ_PRECONNECT_EXIT;
1245/// Cluster Workload Navigate Records
1246///
1247/// # Arguments
1248/// * `ExitParms` (Input/Output): Exit parameter structure
1249/// * `CurrentRecord`: Address of current record
1250/// * `NextOffset`: Offset of next record
1251/// * `NextRecord` (Output): Address of next record or structure
1252/// * `CompCode` (Output): Completion code
1253/// * `Reason` (Output): Reason code qualifying `CompCode`
1254pub type MQ_XCLWLN_CALL = ::std::option::Option<
1255 unsafe extern "C" fn(
1256 ExitParms: &mut MQWXP,
1257 CurrentRecord: crate::MQPTR,
1258 NextOffset: crate::MQLONG,
1259 NextRecord: &mut crate::MQPTR,
1260 CompCode: &mut crate::MQLONG,
1261 Reason: &mut crate::MQLONG,
1262 ),
1263>;
1264pub type PMQ_XCLWLN_CALL = MQ_XCLWLN_CALL;
1265/// Convert Characters
1266///
1267/// # Arguments
1268/// * `Hconn`: Connection handle
1269/// * `Options`: Options that control the action of [`MQXCNVC`](crate::MQXCNVC)
1270/// * `SourceCCSID`: Coded character set identifier of string before conversion
1271/// * `SourceLength`: Length of string before conversion
1272/// * `SourceBuffer`: String to be converted
1273/// * `TargetCCSID`: Coded character set identifier of string after conversion
1274/// * `TargetLength`: Length of output buffer
1275/// * `TargetBuffer` (Output): String after conversion
1276/// * `DataLength` (Output): Length of output string
1277/// * `CompCode` (Output): Completion code
1278/// * `Reason` (Output): Reason code qualifying `CompCode`
1279pub type MQ_XCNVC_CALL = ::std::option::Option<
1280 unsafe extern "C" fn(
1281 Hconn: crate::MQHCONN,
1282 Options: crate::MQLONG,
1283 SourceCCSID: crate::MQLONG,
1284 SourceLength: crate::MQLONG,
1285 SourceBuffer: crate::PMQCHAR,
1286 TargetCCSID: crate::MQLONG,
1287 TargetLength: crate::MQLONG,
1288 TargetBuffer: crate::PMQCHAR,
1289 DataLength: &mut crate::MQLONG,
1290 CompCode: &mut crate::MQLONG,
1291 Reason: &mut crate::MQLONG,
1292 ),
1293>;
1294pub type PMQ_XCNVC_CALL = MQ_XCNVC_CALL;
1295/// Convert Message Data
1296///
1297/// # Arguments
1298/// * `DataConvExitParms` (Input/Output): Data-conversion exit parameter block
1299/// * `MsgDesc` (Input/Output): Message descriptor
1300/// * `InBufferLength`: Length in bytes of `InBuffer`
1301/// * `InBuffer`: Buffer containing the unconverted message
1302/// * `OutBufferLength`: Length in bytes of `OutBuffer`
1303/// * `OutBuffer` (Output): Buffer containing the converted message
1304pub type MQ_XDX_CALL = ::std::option::Option<
1305 unsafe extern "C" fn(
1306 DataConvExitParms: PMQDXP,
1307 MsgDesc: crate::PMQMD,
1308 InBufferLength: crate::MQLONG,
1309 InBuffer: crate::PMQVOID,
1310 OutBufferLength: crate::MQLONG,
1311 OutBuffer: crate::PMQVOID,
1312 ),
1313>;
1314pub type PMQ_XDX_CALL = MQ_XDX_CALL;
1315pub type PMQZED = *mut MQZED;
1316pub type PMQZAC = *mut MQZAC;
1317pub type PMQZAD = *mut MQZAD;
1318pub type PMQZFP = *mut MQZFP;
1319pub type PMQZIC = *mut MQZIC;
1320/// Add Component Entry Point
1321///
1322/// # Arguments
1323/// * `Hconfig`: Configuration handle
1324/// * `Function`: Function identifier
1325/// * `EntryPoint`: Function entry point
1326/// * `CompCode` (Output): Completion code
1327/// * `Reason` (Output): Reason code qualifying `CompCode`
1328pub type MQ_ZEP_CALL = ::std::option::Option<
1329 unsafe extern "C" fn(
1330 Hconfig: MQHCONFIG,
1331 Function: crate::MQLONG,
1332 EntryPoint: crate::PMQFUNC,
1333 CompCode: &mut crate::MQLONG,
1334 Reason: &mut crate::MQLONG,
1335 ),
1336>;
1337pub type PMQ_ZEP_CALL = MQ_ZEP_CALL;
1338/// Initialize Authority-Services
1339///
1340/// # Arguments
1341/// * `Hconfig`: Configuration handle
1342/// * `Options`: Initialization options
1343/// * `QMgrName`: Queue manager name
1344/// * `ComponentDataLength`: Length of component data
1345/// * `ComponentData` (Input/Output): Component data
1346/// * `Version`: Version number
1347/// * `CompCode` (Output): Completion code
1348/// * `Reason` (Output): Reason code qualifying `CompCode`
1349///
1350/// # References
1351/// * [IBM `MQZ_INIT_AUTHORITY` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110210_.html)
1352pub type MQZ_INIT_AUTHORITY = ::std::option::Option<
1353 unsafe extern "C" fn(
1354 Hconfig: MQHCONFIG,
1355 Options: crate::MQLONG,
1356 QMgrName: crate::PMQCHAR,
1357 ComponentDataLength: crate::MQLONG,
1358 ComponentData: crate::PMQBYTE,
1359 Version: crate::PMQLONG,
1360 CompCode: &mut crate::MQLONG,
1361 Reason: &mut crate::MQLONG,
1362 ),
1363>;
1364pub type PMQZ_INIT_AUTHORITY = MQZ_INIT_AUTHORITY;
1365/// Terminate Authority-Services
1366///
1367/// # Arguments
1368/// * `Hconfig`: Configuration handle
1369/// * `Options`: Termination options
1370/// * `QMgrName`: Queue manager name
1371/// * `ComponentData`: Component data
1372/// * `CompCode` (Output): Completion code
1373/// * `Reason` (Output): Reason code qualifying `CompCode`
1374///
1375/// # References
1376/// * [IBM `MQZ_TERM_AUTHORITY` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110260_.html)
1377pub type MQZ_TERM_AUTHORITY = ::std::option::Option<
1378 unsafe extern "C" fn(
1379 Hconfig: MQHCONFIG,
1380 Options: crate::MQLONG,
1381 QMgrName: crate::PMQCHAR,
1382 ComponentData: crate::PMQBYTE,
1383 CompCode: &mut crate::MQLONG,
1384 Reason: &mut crate::MQLONG,
1385 ),
1386>;
1387pub type PMQZ_TERM_AUTHORITY = MQZ_TERM_AUTHORITY;
1388/// Delete Authority
1389///
1390/// # Arguments
1391/// * `QMgrName`: Queue manager name
1392/// * `ObjectName`: Object name
1393/// * `ObjectType`: Object type
1394/// * `ComponentData` (Input/Output): Component data
1395/// * `Continuation` (Output): Continuation indicator set by component
1396/// * `CompCode` (Output): Completion code
1397/// * `Reason` (Output): Reason code qualifying `CompCode`
1398///
1399/// # References
1400/// * [IBM `MQZ_DELETE_AUTHORITY` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110140_.html)
1401pub type MQZ_DELETE_AUTHORITY = ::std::option::Option<
1402 unsafe extern "C" fn(
1403 QMgrName: crate::PMQCHAR,
1404 ObjectName: crate::PMQCHAR,
1405 ObjectType: crate::MQLONG,
1406 ComponentData: crate::PMQBYTE,
1407 Continuation: crate::PMQLONG,
1408 CompCode: &mut crate::MQLONG,
1409 Reason: &mut crate::MQLONG,
1410 ),
1411>;
1412pub type PMQZ_DELETE_AUTHORITY = MQZ_DELETE_AUTHORITY;
1413/// Get Authority
1414///
1415/// # Arguments
1416/// * `QMgrName`: Queue manager name
1417/// * `EntityName`: Entity name
1418/// * `EntityType`: Entity type
1419/// * `ObjectName`: Object name
1420/// * `ObjectType`: Object type
1421/// * `Authority` (Output): Authority of entity
1422/// * `ComponentData` (Input/Output): Component data
1423/// * `Continuation` (Output): Continuation indicator set by component
1424/// * `CompCode` (Output): Completion code
1425/// * `Reason` (Output): Reason code qualifying `CompCode`
1426///
1427/// # References
1428/// * [IBM `MQZ_GET_AUTHORITY` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110170_.html)
1429pub type MQZ_GET_AUTHORITY = ::std::option::Option<
1430 unsafe extern "C" fn(
1431 QMgrName: crate::PMQCHAR,
1432 EntityName: crate::PMQCHAR,
1433 EntityType: crate::MQLONG,
1434 ObjectName: crate::PMQCHAR,
1435 ObjectType: crate::MQLONG,
1436 Authority: crate::PMQLONG,
1437 ComponentData: crate::PMQBYTE,
1438 Continuation: crate::PMQLONG,
1439 CompCode: &mut crate::MQLONG,
1440 Reason: &mut crate::MQLONG,
1441 ),
1442>;
1443pub type PMQZ_GET_AUTHORITY = MQZ_GET_AUTHORITY;
1444/// Get Authority Version 2
1445///
1446/// # Arguments
1447/// * `QMgrName`: Queue manager name
1448/// * `EntityData`: Entity data
1449/// * `EntityType`: Entity type
1450/// * `ObjectName`: Object name
1451/// * `ObjectType`: Object type
1452/// * `Authority` (Output): Authority of entity
1453/// * `ComponentData` (Input/Output): Component data
1454/// * `Continuation` (Output): Continuation indicator set by component
1455/// * `CompCode` (Output): Completion code
1456/// * `Reason` (Output): Reason code qualifying `CompCode`
1457///
1458/// # References
1459/// * [IBM `MQZ_GET_AUTHORITY_2` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110180_.html)
1460pub type MQZ_GET_AUTHORITY_2 = ::std::option::Option<
1461 unsafe extern "C" fn(
1462 QMgrName: crate::PMQCHAR,
1463 EntityData: PMQZED,
1464 EntityType: crate::MQLONG,
1465 ObjectName: crate::PMQCHAR,
1466 ObjectType: crate::MQLONG,
1467 Authority: crate::PMQLONG,
1468 ComponentData: crate::PMQBYTE,
1469 Continuation: crate::PMQLONG,
1470 CompCode: &mut crate::MQLONG,
1471 Reason: &mut crate::MQLONG,
1472 ),
1473>;
1474pub type PMQZ_GET_AUTHORITY_2 = MQZ_GET_AUTHORITY_2;
1475/// Get Explicit Authority
1476///
1477/// # Arguments
1478/// * `QMgrName`: Queue manager name
1479/// * `EntityName`: Entity name
1480/// * `EntityType`: Entity type
1481/// * `ObjectName`: Object name
1482/// * `ObjectType`: Object type
1483/// * `Authority` (Output): Authority of entity
1484/// * `ComponentData` (Input/Output): Component data
1485/// * `Continuation` (Output): Continuation indicator set by component
1486/// * `CompCode` (Output): Completion code
1487/// * `Reason` (Output): Reason code qualifying `CompCode`
1488///
1489/// # References
1490/// * [IBM `MQZ_GET_EXPLICIT_AUTHORITY` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110190_.html)
1491pub type MQZ_GET_EXPLICIT_AUTHORITY = ::std::option::Option<
1492 unsafe extern "C" fn(
1493 QMgrName: crate::PMQCHAR,
1494 EntityName: crate::PMQCHAR,
1495 EntityType: crate::MQLONG,
1496 ObjectName: crate::PMQCHAR,
1497 ObjectType: crate::MQLONG,
1498 Authority: crate::PMQLONG,
1499 ComponentData: crate::PMQBYTE,
1500 Continuation: crate::PMQLONG,
1501 CompCode: &mut crate::MQLONG,
1502 Reason: &mut crate::MQLONG,
1503 ),
1504>;
1505pub type PMQZ_GET_EXPLICIT_AUTHORITY = MQZ_GET_EXPLICIT_AUTHORITY;
1506/// Get Explicit Authority Version 2
1507///
1508/// # Arguments
1509/// * `QMgrName`: Queue manager name
1510/// * `EntityData`: Entity data
1511/// * `EntityType`: Entity type
1512/// * `ObjectName`: Object name
1513/// * `ObjectType`: Object type
1514/// * `Authority` (Output): Authority of entity
1515/// * `ComponentData` (Input/Output): Component data
1516/// * `Continuation` (Output): Continuation indicator set by component
1517/// * `CompCode` (Output): Completion code
1518/// * `Reason` (Output): Reason code qualifying `CompCode`
1519///
1520/// # References
1521/// * [IBM `MQZ_GET_EXPLICIT_AUTHORITY_2` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110200_.html)
1522pub type MQZ_GET_EXPLICIT_AUTHORITY_2 = ::std::option::Option<
1523 unsafe extern "C" fn(
1524 QMgrName: crate::PMQCHAR,
1525 EntityData: PMQZED,
1526 EntityType: crate::MQLONG,
1527 ObjectName: crate::PMQCHAR,
1528 ObjectType: crate::MQLONG,
1529 Authority: crate::PMQLONG,
1530 ComponentData: crate::PMQBYTE,
1531 Continuation: crate::PMQLONG,
1532 CompCode: &mut crate::MQLONG,
1533 Reason: &mut crate::MQLONG,
1534 ),
1535>;
1536pub type PMQZ_GET_EXPLICIT_AUTHORITY_2 = MQZ_GET_EXPLICIT_AUTHORITY_2;
1537/// Enumerate Authority Data
1538///
1539/// # Arguments
1540/// * `QMgrName`: Queue manager name
1541/// * `StartEnumeration`: Flag indicating whether call should start enumeration
1542/// * `Filter`: Filter
1543/// * `AuthorityBufferLength`: Length of AuthorityBuffer
1544/// * `AuthorityBuffer` (Output): Authority data
1545/// * `AuthorityDataLength` (Output): Length of data returned in AuthorityBuffer
1546/// * `ComponentData` (Input/Output): Component data
1547/// * `Continuation` (Output): Continuation indicator set by component
1548/// * `CompCode` (Output): Completion code
1549/// * `Reason` (Output): Reason code qualifying `CompCode`
1550///
1551/// # References
1552/// * [IBM `MQZ_ENUMERATE_AUTHORITY_DATA` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110150_.html)
1553pub type MQZ_ENUMERATE_AUTHORITY_DATA = ::std::option::Option<
1554 unsafe extern "C" fn(
1555 QMgrName: crate::PMQCHAR,
1556 StartEnumeration: crate::MQLONG,
1557 Filter: PMQZAD,
1558 AuthorityBufferLength: crate::MQLONG,
1559 AuthorityBuffer: PMQZAD,
1560 AuthorityDataLength: crate::PMQLONG,
1561 ComponentData: crate::PMQBYTE,
1562 Continuation: crate::PMQLONG,
1563 CompCode: &mut crate::MQLONG,
1564 Reason: &mut crate::MQLONG,
1565 ),
1566>;
1567pub type PMQZ_ENUMERATE_AUTHORITY_DATA = MQZ_ENUMERATE_AUTHORITY_DATA;
1568/// Set Authority
1569///
1570/// # Arguments
1571/// * `QMgrName`: Queue manager name
1572/// * `EntityName`: Entity name
1573/// * `EntityType`: Entity type
1574/// * `ObjectName`: Object name
1575/// * `ObjectType`: Object type
1576/// * `Authority`: Authority to be checked
1577/// * `ComponentData` (Input/Output): Component data
1578/// * `Continuation` (Output): Continuation indicator set by component
1579/// * `CompCode` (Output): Completion code
1580/// * `Reason` (Output): Reason code qualifying `CompCode`
1581///
1582/// # References
1583/// * [IBM `MQZ_SET_AUTHORITY` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110240_.html)
1584pub type MQZ_SET_AUTHORITY = ::std::option::Option<
1585 unsafe extern "C" fn(
1586 QMgrName: crate::PMQCHAR,
1587 EntityName: crate::PMQCHAR,
1588 EntityType: crate::MQLONG,
1589 ObjectName: crate::PMQCHAR,
1590 ObjectType: crate::MQLONG,
1591 Authority: crate::MQLONG,
1592 ComponentData: crate::PMQBYTE,
1593 Continuation: crate::PMQLONG,
1594 CompCode: &mut crate::MQLONG,
1595 Reason: &mut crate::MQLONG,
1596 ),
1597>;
1598pub type PMQZ_SET_AUTHORITY = MQZ_SET_AUTHORITY;
1599/// Set Authority Version 2
1600///
1601/// # Arguments
1602/// * `QMgrName`: Queue manager name
1603/// * `EntityData`: Entity data
1604/// * `EntityType`: Entity type
1605/// * `ObjectName`: Object name
1606/// * `ObjectType`: Object type
1607/// * `Authority`: Authority to be checked
1608/// * `ComponentData` (Input/Output): Component data
1609/// * `Continuation` (Output): Continuation indicator set by component
1610/// * `CompCode` (Output): Completion code
1611/// * `Reason` (Output): Reason code qualifying `CompCode`
1612///
1613/// # References
1614/// * [IBM `MQZ_SET_AUTHORITY_2` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110250_.html)
1615pub type MQZ_SET_AUTHORITY_2 = ::std::option::Option<
1616 unsafe extern "C" fn(
1617 QMgrName: crate::PMQCHAR,
1618 EntityData: PMQZED,
1619 EntityType: crate::MQLONG,
1620 ObjectName: crate::PMQCHAR,
1621 ObjectType: crate::MQLONG,
1622 Authority: crate::MQLONG,
1623 ComponentData: crate::PMQBYTE,
1624 Continuation: crate::PMQLONG,
1625 CompCode: &mut crate::MQLONG,
1626 Reason: &mut crate::MQLONG,
1627 ),
1628>;
1629pub type PMQZ_SET_AUTHORITY_2 = MQZ_SET_AUTHORITY_2;
1630/// Copy All Authority
1631///
1632/// # Arguments
1633/// * `QMgrName`: Queue manager name
1634/// * `RefObjectName`: Reference object name
1635/// * `ObjectName`: Object name
1636/// * `ObjectType`: Object type
1637/// * `ComponentData` (Input/Output): Component data
1638/// * `Continuation` (Output): Continuation indicator set by component
1639/// * `CompCode` (Output): Completion code
1640/// * `Reason` (Output): Reason code qualifying `CompCode`
1641///
1642/// # References
1643/// * [IBM `MQZ_COPY_ALL_AUTHORITY` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110130_.html)
1644pub type MQZ_COPY_ALL_AUTHORITY = ::std::option::Option<
1645 unsafe extern "C" fn(
1646 QMgrName: crate::PMQCHAR,
1647 RefObjectName: crate::PMQCHAR,
1648 ObjectName: crate::PMQCHAR,
1649 ObjectType: crate::MQLONG,
1650 ComponentData: crate::PMQBYTE,
1651 Continuation: crate::PMQLONG,
1652 CompCode: &mut crate::MQLONG,
1653 Reason: &mut crate::MQLONG,
1654 ),
1655>;
1656pub type PMQZ_COPY_ALL_AUTHORITY = MQZ_COPY_ALL_AUTHORITY;
1657/// Check Authority
1658///
1659/// # Arguments
1660/// * `QMgrName`: Queue manager name
1661/// * `EntityName`: Entity name
1662/// * `EntityType`: Entity type
1663/// * `ObjectName`: Object name
1664/// * `ObjectType`: Object type
1665/// * `Authority`: Authority to be checked
1666/// * `ComponentData` (Input/Output): Component data
1667/// * `Continuation` (Output): Continuation indicator set by component
1668/// * `CompCode` (Output): Completion code
1669/// * `Reason` (Output): Reason code qualifying `CompCode`
1670///
1671/// # References
1672/// * [IBM `MQZ_CHECK_AUTHORITY` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110100_.html)
1673pub type MQZ_CHECK_AUTHORITY = ::std::option::Option<
1674 unsafe extern "C" fn(
1675 QMgrName: crate::PMQCHAR,
1676 EntityName: crate::PMQCHAR,
1677 EntityType: crate::MQLONG,
1678 ObjectName: crate::PMQCHAR,
1679 ObjectType: crate::MQLONG,
1680 Authority: crate::MQLONG,
1681 ComponentData: crate::PMQBYTE,
1682 Continuation: crate::PMQLONG,
1683 CompCode: &mut crate::MQLONG,
1684 Reason: &mut crate::MQLONG,
1685 ),
1686>;
1687pub type PMQZ_CHECK_AUTHORITY = MQZ_CHECK_AUTHORITY;
1688/// Check Authority Version 2
1689///
1690/// # Arguments
1691/// * `QMgrName`: Queue manager name
1692/// * `EntityData`: Entity data
1693/// * `EntityType`: Entity type
1694/// * `ObjectName`: Object name
1695/// * `ObjectType`: Object type
1696/// * `Authority`: Authority to be checked
1697/// * `ComponentData` (Input/Output): Component data
1698/// * `Continuation` (Output): Continuation indicator set by component
1699/// * `CompCode` (Output): Completion code
1700/// * `Reason` (Output): Reason code qualifying `CompCode`
1701///
1702/// # References
1703/// * [IBM `MQZ_CHECK_AUTHORITY_2` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110110_.html)
1704pub type MQZ_CHECK_AUTHORITY_2 = ::std::option::Option<
1705 unsafe extern "C" fn(
1706 QMgrName: crate::PMQCHAR,
1707 EntityData: PMQZED,
1708 EntityType: crate::MQLONG,
1709 ObjectName: crate::PMQCHAR,
1710 ObjectType: crate::MQLONG,
1711 Authority: crate::MQLONG,
1712 ComponentData: crate::PMQBYTE,
1713 Continuation: crate::PMQLONG,
1714 CompCode: &mut crate::MQLONG,
1715 Reason: &mut crate::MQLONG,
1716 ),
1717>;
1718pub type PMQZ_CHECK_AUTHORITY_2 = MQZ_CHECK_AUTHORITY_2;
1719/// Authenticate User
1720///
1721/// # Arguments
1722/// * `QMgrName`: Queue manager name
1723/// * `SecurityParms`: Security parameters
1724/// * `ApplicationContext`: Application context
1725/// * `IdentityContext`: Identity context
1726/// * `CorrelationPtr`: Correlation data
1727/// * `ComponentData` (Input/Output): Component data
1728/// * `Continuation` (Output): Continuation indicator set by component
1729/// * `CompCode` (Output): Completion code
1730/// * `Reason` (Output): Reason code qualifying `CompCode`
1731///
1732/// # References
1733/// * [IBM `MQZ_AUTHENTICATE_USER` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110090_.html)
1734pub type MQZ_AUTHENTICATE_USER = ::std::option::Option<
1735 unsafe extern "C" fn(
1736 QMgrName: crate::PMQCHAR,
1737 SecurityParms: crate::PMQCSP,
1738 ApplicationContext: PMQZAC,
1739 IdentityContext: PMQZIC,
1740 CorrelationPtr: crate::PMQPTR,
1741 ComponentData: crate::PMQBYTE,
1742 Continuation: crate::PMQLONG,
1743 CompCode: &mut crate::MQLONG,
1744 Reason: &mut crate::MQLONG,
1745 ),
1746>;
1747pub type PMQZ_AUTHENTICATE_USER = MQZ_AUTHENTICATE_USER;
1748/// Free User
1749///
1750/// # Arguments
1751/// * `QMgrName`: Queue manager name
1752/// * `FreeParms`: Free parameters
1753/// * `ComponentData` (Input/Output): Component data
1754/// * `Continuation` (Output): Continuation indicator set by component
1755/// * `CompCode` (Output): Completion code
1756/// * `Reason` (Output): Reason code qualifying `CompCode`
1757///
1758/// # References
1759/// * [IBM `MQZ_FREE_USER` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110160_.html)
1760pub type MQZ_FREE_USER = ::std::option::Option<
1761 unsafe extern "C" fn(
1762 QMgrName: crate::PMQCHAR,
1763 FreeParms: PMQZFP,
1764 ComponentData: crate::PMQBYTE,
1765 Continuation: crate::PMQLONG,
1766 CompCode: &mut crate::MQLONG,
1767 Reason: &mut crate::MQLONG,
1768 ),
1769>;
1770pub type PMQZ_FREE_USER = MQZ_FREE_USER;
1771/// Inquire
1772///
1773/// # Arguments
1774/// * `QMgrName`: Queue manager name
1775/// * `SelectorCount`: Count of selectors
1776/// * `Selectors`: Array of attribute selectors
1777/// * `IntAttrCount`: Count of integer attributes
1778/// * `IntAttrs`: Array of integer attributes
1779/// * `CharAttrLength`: Length of character attributes buffer
1780/// * `CharAttrs`: Character attributes
1781/// * `SelectorReturned` (Output): Array of returned selector indicators
1782/// * `ComponentData` (Input/Output): Component data
1783/// * `Continuation` (Output): Continuation indicator set by component
1784/// * `CompCode` (Output): Completion code
1785/// * `Reason` (Output): Reason code qualifying `CompCode`
1786///
1787/// # References
1788/// * [IBM `MQZ_INQUIRE` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110220_.html)
1789pub type MQZ_INQUIRE = ::std::option::Option<
1790 unsafe extern "C" fn(
1791 QMgrName: crate::PMQCHAR,
1792 SelectorCount: crate::MQLONG,
1793 Selectors: crate::PMQLONG,
1794 IntAttrCount: crate::MQLONG,
1795 IntAttrs: crate::PMQLONG,
1796 CharAttrLength: crate::MQLONG,
1797 CharAttrs: crate::PMQCHAR,
1798 SelectorReturned: crate::PMQLONG,
1799 ComponentData: crate::PMQBYTE,
1800 Continuation: crate::PMQLONG,
1801 CompCode: &mut crate::MQLONG,
1802 Reason: &mut crate::MQLONG,
1803 ),
1804>;
1805pub type PMQZ_INQUIRE = MQZ_INQUIRE;
1806/// Refresh Cache
1807///
1808/// # Arguments
1809/// * `QMgrName`: Queue manager name
1810/// * `ComponentData` (Input/Output): Component data
1811/// * `Continuation` (Output): Continuation indicator set by component
1812/// * `CompCode` (Output): Completion code
1813/// * `Reason` (Output): Reason code qualifying `CompCode`
1814///
1815/// # References
1816/// * [IBM `MQZ_REFRESH_CACHE` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110230_.html)
1817pub type MQZ_REFRESH_CACHE = ::std::option::Option<
1818 unsafe extern "C" fn(
1819 QMgrName: crate::PMQCHAR,
1820 ComponentData: crate::PMQBYTE,
1821 Continuation: crate::PMQLONG,
1822 CompCode: &mut crate::MQLONG,
1823 Reason: &mut crate::MQLONG,
1824 ),
1825>;
1826pub type PMQZ_REFRESH_CACHE = MQZ_REFRESH_CACHE;
1827/// Check if User is Privileged
1828///
1829/// # Arguments
1830/// * `QMgrName`: Queue manager name
1831/// * `EntityData`: Entity data
1832/// * `EntityType`: Entity type
1833/// * `ComponentData` (Input/Output): Component data
1834/// * `Continuation` (Output): Continuation indicator set by component
1835/// * `CompCode` (Output): Completion code
1836/// * `Reason` (Output): Reason code qualifying `CompCode`
1837///
1838/// # References
1839/// * [IBM `MQZ_CHECK_PRIVILEGED` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110120_.html)
1840pub type MQZ_CHECK_PRIVILEGED = ::std::option::Option<
1841 unsafe extern "C" fn(
1842 QMgrName: crate::PMQCHAR,
1843 EntityData: PMQZED,
1844 EntityType: crate::MQLONG,
1845 ComponentData: crate::PMQBYTE,
1846 Continuation: crate::PMQLONG,
1847 CompCode: &mut crate::MQLONG,
1848 Reason: &mut crate::MQLONG,
1849 ),
1850>;
1851pub type PMQZ_CHECK_PRIVILEGED = MQZ_CHECK_PRIVILEGED;
1852/// Initialize Name-Services
1853///
1854/// # Arguments
1855/// * `Hconfig`: Configuration handle
1856/// * `Options`: Initialization options
1857/// * `QMgrName`: Queue manager name
1858/// * `ComponentDataLength`: Length of component data
1859/// * `ComponentData` (Input/Output): Component data
1860/// * `Version`: Version number
1861/// * `CompCode` (Output): Completion code
1862/// * `Reason` (Output): Reason code qualifying `CompCode`
1863///
1864/// # References
1865/// * [IBM `MQZ_INIT_NAME` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110280_.html)
1866pub type MQZ_INIT_NAME = ::std::option::Option<
1867 unsafe extern "C" fn(
1868 Hconfig: MQHCONFIG,
1869 Options: crate::MQLONG,
1870 QMgrName: crate::PMQCHAR,
1871 ComponentDataLength: crate::MQLONG,
1872 ComponentData: crate::PMQBYTE,
1873 Version: crate::PMQLONG,
1874 CompCode: &mut crate::MQLONG,
1875 Reason: &mut crate::MQLONG,
1876 ),
1877>;
1878pub type PMQZ_INIT_NAME = MQZ_INIT_NAME;
1879/// Terminate Name-Services
1880///
1881/// # Arguments
1882/// * `Hconfig`: Configuration handle
1883/// * `Options`: Termination options
1884/// * `QMgrName`: Queue manager name
1885/// * `ComponentData`: Component data
1886/// * `CompCode` (Output): Completion code
1887/// * `Reason` (Output): Reason code qualifying `CompCode`
1888///
1889/// # References
1890/// * [IBM `MQZ_TERM_NAME` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110310_.html)
1891pub type MQZ_TERM_NAME = ::std::option::Option<
1892 unsafe extern "C" fn(
1893 Hconfig: MQHCONFIG,
1894 Options: crate::MQLONG,
1895 QMgrName: crate::PMQCHAR,
1896 ComponentData: crate::PMQBYTE,
1897 CompCode: &mut crate::MQLONG,
1898 Reason: &mut crate::MQLONG,
1899 ),
1900>;
1901pub type PMQZ_TERM_NAME = MQZ_TERM_NAME;
1902/// Look-Up Name
1903///
1904/// # Arguments
1905/// * `QMgrName`: Queue manager name
1906/// * `QName`: Queue name
1907/// * `ResolvedQMgrName`: Resolved queue manager name
1908/// * `ComponentData` (Input/Output): Component data
1909/// * `Continuation` (Output): Continuation indicator set by component
1910/// * `CompCode` (Output): Completion code
1911/// * `Reason` (Output): Reason code qualifying `CompCode`
1912///
1913/// # References
1914/// * [IBM `MQZ_LOOKUP_NAME` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110300_.html)
1915pub type MQZ_LOOKUP_NAME = ::std::option::Option<
1916 unsafe extern "C" fn(
1917 QMgrName: crate::PMQCHAR,
1918 QName: crate::PMQCHAR,
1919 ResolvedQMgrName: crate::PMQCHAR,
1920 ComponentData: crate::PMQBYTE,
1921 Continuation: crate::PMQLONG,
1922 CompCode: &mut crate::MQLONG,
1923 Reason: &mut crate::MQLONG,
1924 ),
1925>;
1926pub type PMQZ_LOOKUP_NAME = MQZ_LOOKUP_NAME;
1927/// Insert Name
1928///
1929/// # Arguments
1930/// * `QMgrName`: Queue manager name
1931/// * `QName`: Queue name
1932/// * `ResolvedQMgrName`: Resolved queue manager name
1933/// * `ComponentData` (Input/Output): Component data
1934/// * `Continuation` (Output): Continuation indicator set by component
1935/// * `CompCode` (Output): Completion code
1936/// * `Reason` (Output): Reason code qualifying `CompCode`
1937///
1938/// # References
1939/// * [IBM `MQZ_INSERT_NAME` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110290_.html)
1940pub type MQZ_INSERT_NAME = ::std::option::Option<
1941 unsafe extern "C" fn(
1942 QMgrName: crate::PMQCHAR,
1943 QName: crate::PMQCHAR,
1944 ResolvedQMgrName: crate::PMQCHAR,
1945 ComponentData: crate::PMQBYTE,
1946 Continuation: crate::PMQLONG,
1947 CompCode: &mut crate::MQLONG,
1948 Reason: &mut crate::MQLONG,
1949 ),
1950>;
1951pub type PMQZ_INSERT_NAME = MQZ_INSERT_NAME;
1952/// Delete Name
1953///
1954/// # Arguments
1955/// * `QMgrName`: Queue manager name
1956/// * `QName`: Queue name
1957/// * `ComponentData` (Input/Output): Component data
1958/// * `Continuation` (Output): Continuation indicator set by component
1959/// * `CompCode` (Output): Completion code
1960/// * `Reason` (Output): Reason code qualifying `CompCode`
1961///
1962/// # References
1963/// * [IBM `MQZ_DELETE_NAME` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110270_.html)
1964pub type MQZ_DELETE_NAME = ::std::option::Option<
1965 unsafe extern "C" fn(
1966 QMgrName: crate::PMQCHAR,
1967 QName: crate::PMQCHAR,
1968 ComponentData: crate::PMQBYTE,
1969 Continuation: crate::PMQLONG,
1970 CompCode: &mut crate::MQLONG,
1971 Reason: &mut crate::MQLONG,
1972 ),
1973>;
1974pub type PMQZ_DELETE_NAME = MQZ_DELETE_NAME;
1975/// Initialize Userid-Services
1976///
1977/// # Arguments
1978/// * `Hconfig`: Configuration handle
1979/// * `Options`: Initialization options
1980/// * `QMgrName`: Queue manager name
1981/// * `ComponentDataLength`: Length of component data
1982/// * `ComponentData` (Input/Output): Component data
1983/// * `Version`: Version number
1984/// * `CompCode` (Output): Completion code
1985/// * `Reason` (Output): Reason code qualifying `CompCode`
1986pub type MQZ_INIT_USERID = ::std::option::Option<
1987 unsafe extern "C" fn(
1988 Hconfig: MQHCONFIG,
1989 Options: crate::MQLONG,
1990 QMgrName: crate::PMQCHAR,
1991 ComponentDataLength: crate::MQLONG,
1992 ComponentData: crate::PMQBYTE,
1993 Version: crate::PMQLONG,
1994 CompCode: &mut crate::MQLONG,
1995 Reason: &mut crate::MQLONG,
1996 ),
1997>;
1998pub type PMQZ_INIT_USERID = MQZ_INIT_USERID;
1999/// Terminate Userid-Services
2000///
2001/// # Arguments
2002/// * `Hconfig`: Configuration handle
2003/// * `Options`: Termination options
2004/// * `QMgrName`: Queue manager name
2005/// * `ComponentData`: Component data
2006/// * `CompCode` (Output): Completion code
2007/// * `Reason` (Output): Reason code qualifying `CompCode`
2008pub type MQZ_TERM_USERID = ::std::option::Option<
2009 unsafe extern "C" fn(
2010 Hconfig: MQHCONFIG,
2011 Options: crate::MQLONG,
2012 QMgrName: crate::PMQCHAR,
2013 ComponentData: crate::PMQBYTE,
2014 CompCode: &mut crate::MQLONG,
2015 Reason: &mut crate::MQLONG,
2016 ),
2017>;
2018pub type PMQZ_TERM_USERID = MQZ_TERM_USERID;
2019/// Find Userid
2020///
2021/// # Arguments
2022/// * `QMgrName`: Queue manager name
2023/// * `UserId`: User identifier
2024/// * `Password`: Password
2025/// * `ComponentData` (Input/Output): Component data
2026/// * `Continuation` (Output): Continuation indicator set by component
2027/// * `CompCode` (Output): Completion code
2028/// * `Reason` (Output): Reason code qualifying `CompCode`
2029pub type MQZ_FIND_USERID = ::std::option::Option<
2030 unsafe extern "C" fn(
2031 QMgrName: crate::PMQCHAR,
2032 UserId: crate::PMQCHAR,
2033 Password: crate::PMQCHAR,
2034 ComponentData: crate::PMQBYTE,
2035 Continuation: crate::PMQLONG,
2036 CompCode: &mut crate::MQLONG,
2037 Reason: &mut crate::MQLONG,
2038 ),
2039>;
2040pub type PMQZ_FIND_USERID = MQZ_FIND_USERID;
2041/// [IBM `MQACH` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109630_.html)
2042#[repr(C)]
2043#[derive(Debug, Copy, Clone)]
2044pub struct MQACH {
2045 /// Structure identifier
2046 pub StrucId: crate::MQCHAR4,
2047 /// Structure version number
2048 pub Version: crate::MQLONG,
2049 /// Length of [`MQACH`] structure
2050 pub StrucLength: crate::MQLONG,
2051 /// Total length of chain area
2052 pub ChainAreaLength: crate::MQLONG,
2053 /// Exit information name
2054 pub ExitInfoName: crate::MQCHAR48,
2055 /// Address of next [`MQACH`] structure in chain
2056 pub NextChainAreaPtr: PMQACH,
2057}
2058/// API Exit Context
2059///
2060/// # References
2061/// * [IBM `MQAXC` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109620_.html)
2062#[repr(C)]
2063#[derive(Debug, Copy, Clone)]
2064pub struct MQAXC {
2065 /// Structure identifier
2066 pub StrucId: crate::MQCHAR4,
2067 /// Structure version number
2068 pub Version: crate::MQLONG,
2069 /// Environment
2070 pub Environment: crate::MQLONG,
2071 /// User identifier
2072 pub UserId: crate::MQCHAR12,
2073 /// Security identifier
2074 pub SecurityId: crate::MQBYTE40,
2075 /// Connection name
2076 pub ConnectionName: [crate::MQCHAR; 264usize],
2077 /// Length of long MCA user identifier
2078 pub LongMCAUserIdLength: crate::MQLONG,
2079 /// Length of long remote user identifier
2080 pub LongRemoteUserIdLength: crate::MQLONG,
2081 /// Address of long MCA user identifier
2082 pub LongMCAUserIdPtr: crate::MQPTR,
2083 /// Address of long remote user identifier
2084 pub LongRemoteUserIdPtr: crate::MQPTR,
2085 /// Application name
2086 pub ApplName: crate::MQCHAR28,
2087 /// Application type
2088 pub ApplType: crate::MQLONG,
2089 /// Process identifier
2090 pub ProcessId: crate::MQPID,
2091 /// Thread identifier
2092 pub ThreadId: crate::MQTID,
2093 /// Channel Name
2094 ///
2095 /// [`MQAXC::Version`] >= 2
2096 pub ChannelName: [crate::MQCHAR; 20usize],
2097 /// Reserved
2098 ///
2099 /// [`MQAXC::Version`] >= 2
2100 pub Reserved1: crate::MQBYTE4,
2101 /// Pointer to Channel Definition
2102 ///
2103 /// [`MQAXC::Version`] >= 2
2104 pub pChannelDefinition: crate::PMQCD,
2105}
2106/// API Exit Parameter
2107///
2108/// # References
2109/// * [IBM `MQAXP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109610_.html)
2110#[repr(C)]
2111#[derive(Debug, Copy, Clone)]
2112pub struct MQAXP {
2113 /// Structure identifier
2114 pub StrucId: crate::MQCHAR4,
2115 /// Structure version number
2116 pub Version: crate::MQLONG,
2117 /// Type of exit
2118 pub ExitId: crate::MQLONG,
2119 /// Reason for invoking exit
2120 pub ExitReason: crate::MQLONG,
2121 /// Response from exit
2122 pub ExitResponse: crate::MQLONG,
2123 /// Secondary response from exit
2124 pub ExitResponse2: crate::MQLONG,
2125 /// Feedback
2126 pub Feedback: crate::MQLONG,
2127 /// API caller type
2128 pub APICallerType: crate::MQLONG,
2129 /// Exit user area
2130 pub ExitUserArea: crate::MQBYTE16,
2131 /// Exit data
2132 pub ExitData: crate::MQCHAR32,
2133 /// Exit information name
2134 pub ExitInfoName: crate::MQCHAR48,
2135 /// Problem determination area
2136 pub ExitPDArea: crate::MQBYTE48,
2137 /// Name of local queue manager
2138 pub QMgrName: crate::MQCHAR48,
2139 /// Address of first [`MQACH`] structure in chain
2140 pub ExitChainAreaPtr: PMQACH,
2141 /// Configuration handle
2142 pub Hconfig: MQHCONFIG,
2143 /// API function identifier
2144 pub Function: crate::MQLONG,
2145 /// Exit message handle
2146 pub ExitMsgHandle: crate::MQHMSG,
2147}
2148/// Channel Exit Parameter
2149///
2150/// # References
2151/// * [IBM `MQCXP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109150_.html)
2152#[repr(C)]
2153#[derive(Debug, Copy, Clone)]
2154pub struct MQCXP {
2155 /// Structure identifier
2156 ///
2157 /// [`MQCXP::Version`] >= 3
2158 pub StrucId: crate::MQCHAR4,
2159 /// Structure version number
2160 ///
2161 /// [`MQCXP::Version`] >= 3
2162 pub Version: crate::MQLONG,
2163 /// Type of exit
2164 ///
2165 /// [`MQCXP::Version`] >= 3
2166 pub ExitId: crate::MQLONG,
2167 /// Reason for invoking exit
2168 ///
2169 /// [`MQCXP::Version`] >= 3
2170 pub ExitReason: crate::MQLONG,
2171 /// Response from exit
2172 ///
2173 /// [`MQCXP::Version`] >= 3
2174 pub ExitResponse: crate::MQLONG,
2175 /// Secondary response from exit
2176 ///
2177 /// [`MQCXP::Version`] >= 3
2178 pub ExitResponse2: crate::MQLONG,
2179 /// Feedback code
2180 ///
2181 /// [`MQCXP::Version`] >= 3
2182 pub Feedback: crate::MQLONG,
2183 /// Maximum segment length
2184 ///
2185 /// [`MQCXP::Version`] >= 3
2186 pub MaxSegmentLength: crate::MQLONG,
2187 /// Exit user area
2188 ///
2189 /// [`MQCXP::Version`] >= 3
2190 pub ExitUserArea: crate::MQBYTE16,
2191 /// Exit data
2192 ///
2193 /// [`MQCXP::Version`] >= 3
2194 pub ExitData: crate::MQCHAR32,
2195 /// Number of times the message has been retried
2196 ///
2197 /// [`MQCXP::Version`] >= 3
2198 pub MsgRetryCount: crate::MQLONG,
2199 /// Minimum interval in milliseconds after which the put operation should be retried
2200 ///
2201 /// [`MQCXP::Version`] >= 3
2202 pub MsgRetryInterval: crate::MQLONG,
2203 /// Reason code from previous attempt to put the message
2204 ///
2205 /// [`MQCXP::Version`] >= 3
2206 pub MsgRetryReason: crate::MQLONG,
2207 /// Length of header information
2208 ///
2209 /// [`MQCXP::Version`] >= 3
2210 pub HeaderLength: crate::MQLONG,
2211 /// Partner Name
2212 ///
2213 /// [`MQCXP::Version`] >= 3
2214 pub PartnerName: crate::MQCHAR48,
2215 /// Negotiated Formats and Protocols level
2216 ///
2217 /// [`MQCXP::Version`] >= 3
2218 pub FAPLevel: crate::MQLONG,
2219 /// Capability flags
2220 ///
2221 /// [`MQCXP::Version`] >= 3
2222 pub CapabilityFlags: crate::MQLONG,
2223 /// Exit number
2224 ///
2225 /// [`MQCXP::Version`] >= 3
2226 pub ExitNumber: crate::MQLONG,
2227 /// Number of bytes in transmission buffer reserved for exit to use
2228 ///
2229 /// [`MQCXP::Version`] >= 5
2230 pub ExitSpace: crate::MQLONG,
2231 /// User identifier associated with remote SSL certificate
2232 ///
2233 /// [`MQCXP::Version`] >= 6
2234 pub SSLCertUserid: crate::MQCHAR12,
2235 /// Length of distinguished name of issuer of remote SSL certificate
2236 ///
2237 /// [`MQCXP::Version`] >= 6
2238 pub SSLRemCertIssNameLength: crate::MQLONG,
2239 /// Address of distinguished name of issuer of remote SSL certificate
2240 ///
2241 /// [`MQCXP::Version`] >= 6
2242 pub SSLRemCertIssNamePtr: crate::MQPTR,
2243 /// Address of security parameters
2244 ///
2245 /// [`MQCXP::Version`] >= 6
2246 pub SecurityParms: crate::PMQCSP,
2247 /// Header data compression used for current message
2248 ///
2249 /// [`MQCXP::Version`] >= 6
2250 pub CurHdrCompression: crate::MQLONG,
2251 /// Message data compression used for current message
2252 ///
2253 /// [`MQCXP::Version`] >= 6
2254 pub CurMsgCompression: crate::MQLONG,
2255 /// Connection handle
2256 ///
2257 /// [`MQCXP::Version`] >= 7
2258 pub Hconn: crate::MQHCONN,
2259 /// Multiple conversations allowed
2260 ///
2261 /// [`MQCXP::Version`] >= 7
2262 pub SharingConversations: crate::MQBOOL,
2263 /// The source of the run-time user ID
2264 ///
2265 /// [`MQCXP::Version`] >= 8
2266 pub MCAUserSource: crate::MQLONG,
2267 /// Interface entry points
2268 ///
2269 /// [`MQCXP::Version`] >= 8
2270 pub pEntryPoints: PMQIEP,
2271 /// The identifier for the remote product
2272 ///
2273 /// [`MQCXP::Version`] >= 9
2274 pub RemoteProduct: crate::MQCHAR4,
2275 /// The version of the remote product
2276 ///
2277 /// [`MQCXP::Version`] >= 9
2278 pub RemoteVersion: crate::MQCHAR8,
2279}
2280/// Data Conversion Exit Parameter
2281///
2282/// # References
2283/// * [IBM `MQDXP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q104100_.html)
2284#[repr(C)]
2285#[derive(Debug, Copy, Clone)]
2286pub struct MQDXP {
2287 /// Structure identifier
2288 pub StrucId: crate::MQCHAR4,
2289 /// Structure version number
2290 pub Version: crate::MQLONG,
2291 /// Reserved
2292 pub ExitOptions: crate::MQLONG,
2293 /// Application options
2294 pub AppOptions: crate::MQLONG,
2295 /// Numeric encoding required by application
2296 pub Encoding: crate::MQLONG,
2297 /// Character set required by application
2298 pub CodedCharSetId: crate::MQLONG,
2299 /// Length in bytes of message data
2300 pub DataLength: crate::MQLONG,
2301 /// Completion code
2302 pub CompCode: crate::MQLONG,
2303 /// Reason code qualifying `CompCode`
2304 pub Reason: crate::MQLONG,
2305 /// Response from exit
2306 pub ExitResponse: crate::MQLONG,
2307 /// Connection handle
2308 pub Hconn: crate::MQHCONN,
2309 /// Interface entry points
2310 ///
2311 /// [`MQDXP::Version`] >= 2
2312 pub pEntryPoints: PMQIEP,
2313}
2314/// PreConnect Exit options
2315#[repr(C)]
2316#[derive(Debug, Copy, Clone)]
2317pub struct MQNXP {
2318 /// Structure identifier
2319 pub StrucId: crate::MQCHAR4,
2320 /// Structure version number
2321 pub Version: crate::MQLONG,
2322 /// Type of exit
2323 pub ExitId: crate::MQLONG,
2324 /// Reason for invoking exit
2325 pub ExitReason: crate::MQLONG,
2326 /// Response from exit
2327 pub ExitResponse: crate::MQLONG,
2328 /// Secondary response from exit
2329 pub ExitResponse2: crate::MQLONG,
2330 /// Feedback
2331 pub Feedback: crate::MQLONG,
2332 /// Length of exit data
2333 pub ExitDataLength: crate::MQLONG,
2334 /// Address of exit data
2335 pub pExitDataPtr: crate::PMQCHAR,
2336 /// Address of exit user area
2337 pub pExitUserAreaPtr: crate::MQPTR,
2338 /// Address of pointers referencing [`MQCD`](crate::MQCD)
2339 pub ppMQCDArrayPtr: crate::PPMQCD,
2340 /// Count of [`MQCD`](crate::MQCD) referenced
2341 pub MQCDArrayCount: crate::MQLONG,
2342 /// Maximum [`MQCD`](crate::MQCD) version requested
2343 pub MaxMQCDVersion: crate::MQLONG,
2344 /// Interface entry points
2345 ///
2346 /// [`MQNXP::Version`] >= 2
2347 pub pEntryPoints: PMQIEP,
2348}
2349/// Publish Exit Publication Context
2350///
2351/// # References
2352/// * [IBM `MQPBC` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q108150_.html)
2353#[repr(C)]
2354#[derive(Debug, Copy, Clone)]
2355pub struct MQPBC {
2356 /// Structure identifier
2357 pub StrucId: crate::MQCHAR4,
2358 /// Structure version number
2359 pub Version: crate::MQLONG,
2360 /// Publish topic string
2361 pub PubTopicString: crate::MQCHARV,
2362 /// Address of publisher message descriptor
2363 ///
2364 /// [`MQPBC::Version`] >= 2
2365 pub MsgDescPtr: crate::PMQMD,
2366}
2367/// Publish Exit Parameter
2368///
2369/// # References
2370/// * [IBM `MQPSXP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q108140_.html)
2371#[repr(C)]
2372#[derive(Debug, Copy, Clone)]
2373pub struct MQPSXP {
2374 /// Structure identifier
2375 pub StrucId: crate::MQCHAR4,
2376 /// Structure version number
2377 pub Version: crate::MQLONG,
2378 /// Type of exit
2379 pub ExitId: crate::MQLONG,
2380 /// Reason for invoking exit
2381 pub ExitReason: crate::MQLONG,
2382 /// Response from exit
2383 pub ExitResponse: crate::MQLONG,
2384 /// Reserved
2385 pub ExitResponse2: crate::MQLONG,
2386 /// Feedback code
2387 pub Feedback: crate::MQLONG,
2388 /// Connection handle
2389 pub Hconn: crate::MQHCONN,
2390 /// Exit user area
2391 pub ExitUserArea: crate::MQBYTE16,
2392 /// Exit data
2393 pub ExitData: crate::MQCHAR32,
2394 /// Name of local queue manager
2395 pub QMgrName: crate::MQCHAR48,
2396 /// Handle to message properties
2397 pub MsgHandle: crate::MQHMSG,
2398 /// Address of message descriptor
2399 pub MsgDescPtr: crate::PMQMD,
2400 /// Address of input message data
2401 pub MsgInPtr: crate::PMQVOID,
2402 /// Length of input message data
2403 pub MsgInLength: crate::MQLONG,
2404 /// Address of output message data
2405 pub MsgOutPtr: crate::PMQVOID,
2406 /// Length of output message data
2407 pub MsgOutLength: crate::MQLONG,
2408 /// Interface entry points
2409 ///
2410 /// [`MQPSXP::Version`] >= 2
2411 pub pEntryPoints: PMQIEP,
2412}
2413/// Publish Exit Subscription Context
2414///
2415/// # References
2416/// * [IBM `MQSBC` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q108160_.html)
2417#[repr(C)]
2418#[derive(Debug, Copy, Clone)]
2419pub struct MQSBC {
2420 /// Structure identifier
2421 pub StrucId: crate::MQCHAR4,
2422 /// Structure version number
2423 pub Version: crate::MQLONG,
2424 /// Destination queue manager
2425 pub DestinationQMgrName: crate::MQCHAR48,
2426 /// Destination queue name
2427 pub DestinationQName: crate::MQCHAR48,
2428 /// Type of subscription
2429 pub SubType: crate::MQLONG,
2430 /// Subscription options
2431 pub SubOptions: crate::MQLONG,
2432 /// Object name
2433 pub ObjectName: crate::MQCHAR48,
2434 /// Object string
2435 pub ObjectString: crate::MQCHARV,
2436 /// Subscription topic string
2437 pub SubTopicString: crate::MQCHARV,
2438 /// Subscription name
2439 pub SubName: crate::MQCHARV,
2440 /// Subscription identifier
2441 pub SubId: crate::MQBYTE24,
2442 /// Subscription selection string
2443 pub SelectionString: crate::MQCHARV,
2444 /// Subscription level
2445 pub SubLevel: crate::MQLONG,
2446 /// Publish/subscribe properties
2447 pub PSProperties: crate::MQLONG,
2448}
2449/// Cluster Workload Exit Cluster Record
2450///
2451/// # References
2452/// * [IBM `MQWCR` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q082670_.html)
2453#[repr(C)]
2454#[derive(Debug, Copy, Clone)]
2455pub struct MQWCR {
2456 /// Cluster name
2457 pub ClusterName: crate::MQCHAR48,
2458 /// Offset of next cluster record
2459 pub ClusterRecOffset: crate::MQLONG,
2460 /// Cluster flags
2461 pub ClusterFlags: crate::MQLONG,
2462}
2463/// Cluster Workload Exit Destination Record
2464///
2465/// # References
2466/// * [IBM `MQWDR` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q082610_.html)
2467#[repr(C)]
2468#[derive(Debug, Copy, Clone)]
2469pub struct MQWDR {
2470 /// Structure identifier
2471 pub StrucId: crate::MQCHAR4,
2472 /// Structure version number
2473 pub Version: crate::MQLONG,
2474 /// Length of [`MQWDR`] structure
2475 pub StrucLength: crate::MQLONG,
2476 /// Queue-manager flags
2477 pub QMgrFlags: crate::MQLONG,
2478 /// Queue-manager identifier
2479 pub QMgrIdentifier: crate::MQCHAR48,
2480 /// Queue-manager name
2481 pub QMgrName: crate::MQCHAR48,
2482 /// Offset of first cluster record
2483 pub ClusterRecOffset: crate::MQLONG,
2484 /// Channel state
2485 pub ChannelState: crate::MQLONG,
2486 /// Offset of channel definition structure
2487 pub ChannelDefOffset: crate::MQLONG,
2488 /// Cluster channel destination sequence number
2489 ///
2490 /// [`MQWDR::Version`] >= 2
2491 pub DestSeqNumber: crate::MQLONG,
2492 /// Cluster channel destination sequence factor
2493 ///
2494 /// [`MQWDR::Version`] >= 2
2495 pub DestSeqFactor: crate::MQINT64,
2496}
2497/// Version-1 CLWL Exit Destination Record
2498#[repr(C)]
2499#[derive(Debug, Copy, Clone)]
2500pub struct MQWDR1 {
2501 /// Structure identifier
2502 pub StrucId: crate::MQCHAR4,
2503 /// Structure version number
2504 pub Version: crate::MQLONG,
2505 /// Length of [`MQWDR`] structure
2506 pub StrucLength: crate::MQLONG,
2507 /// Queue-manager flags
2508 pub QMgrFlags: crate::MQLONG,
2509 /// Queue-manager identifier
2510 pub QMgrIdentifier: crate::MQCHAR48,
2511 /// Queue-manager name
2512 pub QMgrName: crate::MQCHAR48,
2513 /// Offset of first cluster record
2514 pub ClusterRecOffset: crate::MQLONG,
2515 /// Channel state
2516 pub ChannelState: crate::MQLONG,
2517 /// Offset of channel definition structure
2518 pub ChannelDefOffset: crate::MQLONG,
2519}
2520/// Version-2 CLWL Exit Destination Record
2521#[repr(C)]
2522#[derive(Debug, Copy, Clone)]
2523pub struct MQWDR2 {
2524 /// Structure identifier
2525 pub StrucId: crate::MQCHAR4,
2526 /// Structure version number
2527 pub Version: crate::MQLONG,
2528 /// Length of [`MQWDR`] structure
2529 pub StrucLength: crate::MQLONG,
2530 /// Queue-manager flags
2531 pub QMgrFlags: crate::MQLONG,
2532 /// Queue-manager identifier
2533 pub QMgrIdentifier: crate::MQCHAR48,
2534 /// Queue-manager name
2535 pub QMgrName: crate::MQCHAR48,
2536 /// Offset of first cluster record
2537 pub ClusterRecOffset: crate::MQLONG,
2538 /// Channel state
2539 pub ChannelState: crate::MQLONG,
2540 /// Offset of channel definition structure
2541 pub ChannelDefOffset: crate::MQLONG,
2542 /// Cluster channel destination sequence number
2543 ///
2544 /// [`MQWDR2::Version`] >= 2
2545 pub DestSeqNumber: crate::MQLONG,
2546 /// Cluster channel destination sequence factor
2547 ///
2548 /// [`MQWDR2::Version`] >= 2
2549 pub DestSeqFactor: crate::MQINT64,
2550}
2551/// Cluster Workload Exit Queue Record
2552///
2553/// # References
2554/// * [IBM `MQWQR` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q082640_.html)
2555#[repr(C)]
2556#[derive(Debug, Copy, Clone)]
2557pub struct MQWQR {
2558 /// Structure identifier
2559 pub StrucId: crate::MQCHAR4,
2560 /// Structure version number
2561 pub Version: crate::MQLONG,
2562 /// Length of [`MQWQR`] structure
2563 pub StrucLength: crate::MQLONG,
2564 /// Queue flags
2565 pub QFlags: crate::MQLONG,
2566 /// Queue name
2567 pub QName: crate::MQCHAR48,
2568 /// Queue-manager identifier
2569 pub QMgrIdentifier: crate::MQCHAR48,
2570 /// Offset of first cluster record
2571 pub ClusterRecOffset: crate::MQLONG,
2572 /// Queue type
2573 pub QType: crate::MQLONG,
2574 /// Queue description
2575 pub QDesc: crate::MQCHAR64,
2576 /// Default binding
2577 pub DefBind: crate::MQLONG,
2578 /// Default message persistence
2579 pub DefPersistence: crate::MQLONG,
2580 /// Default message priority
2581 pub DefPriority: crate::MQLONG,
2582 /// Whether put operations on the queue are allowed
2583 pub InhibitPut: crate::MQLONG,
2584 /// Queue priority
2585 ///
2586 /// [`MQWQR::Version`] >= 2
2587 pub CLWLQueuePriority: crate::MQLONG,
2588 /// Queue rank
2589 ///
2590 /// [`MQWQR::Version`] >= 2
2591 pub CLWLQueueRank: crate::MQLONG,
2592 /// Default put response
2593 ///
2594 /// [`MQWQR::Version`] >= 3
2595 pub DefPutResponse: crate::MQLONG,
2596 /// CapExpiry
2597 ///
2598 /// [`MQWQR::Version`] >= 4
2599 pub CapExpiry: crate::MQLONG,
2600}
2601/// Version-1 CLWL Exit Queue Record
2602#[repr(C)]
2603#[derive(Debug, Copy, Clone)]
2604pub struct MQWQR1 {
2605 /// Structure identifier
2606 pub StrucId: crate::MQCHAR4,
2607 /// Structure version number
2608 pub Version: crate::MQLONG,
2609 /// Length of [`MQWQR`] structure
2610 pub StrucLength: crate::MQLONG,
2611 /// Queue flags
2612 pub QFlags: crate::MQLONG,
2613 /// Queue name
2614 pub QName: crate::MQCHAR48,
2615 /// Queue-manager identifier
2616 pub QMgrIdentifier: crate::MQCHAR48,
2617 /// Offset of first cluster record
2618 pub ClusterRecOffset: crate::MQLONG,
2619 /// Queue type
2620 pub QType: crate::MQLONG,
2621 /// Queue description
2622 pub QDesc: crate::MQCHAR64,
2623 /// Default binding
2624 pub DefBind: crate::MQLONG,
2625 /// Default message persistence
2626 pub DefPersistence: crate::MQLONG,
2627 /// Default message priority
2628 pub DefPriority: crate::MQLONG,
2629 /// Whether put operations on the queue are allowed
2630 pub InhibitPut: crate::MQLONG,
2631}
2632/// Version-2 CLWL Exit Queue Record
2633#[repr(C)]
2634#[derive(Debug, Copy, Clone)]
2635pub struct MQWQR2 {
2636 /// Structure identifier
2637 pub StrucId: crate::MQCHAR4,
2638 /// Structure version number
2639 pub Version: crate::MQLONG,
2640 /// Length of [`MQWQR`] structure
2641 pub StrucLength: crate::MQLONG,
2642 /// Queue flags
2643 pub QFlags: crate::MQLONG,
2644 /// Queue name
2645 pub QName: crate::MQCHAR48,
2646 /// Queue-manager identifier
2647 pub QMgrIdentifier: crate::MQCHAR48,
2648 /// Offset of first cluster record
2649 pub ClusterRecOffset: crate::MQLONG,
2650 /// Queue type
2651 pub QType: crate::MQLONG,
2652 /// Queue description
2653 pub QDesc: crate::MQCHAR64,
2654 /// Default binding
2655 pub DefBind: crate::MQLONG,
2656 /// Default message persistence
2657 pub DefPersistence: crate::MQLONG,
2658 /// Default message priority
2659 pub DefPriority: crate::MQLONG,
2660 /// Whether put operations on the queue are allowed
2661 pub InhibitPut: crate::MQLONG,
2662 /// Queue priority
2663 ///
2664 /// [`MQWQR2::Version`] >= 2
2665 pub CLWLQueuePriority: crate::MQLONG,
2666 /// Queue rank
2667 ///
2668 /// [`MQWQR2::Version`] >= 2
2669 pub CLWLQueueRank: crate::MQLONG,
2670}
2671/// Version-3 CLWL Exit Queue Record
2672#[repr(C)]
2673#[derive(Debug, Copy, Clone)]
2674pub struct MQWQR3 {
2675 /// Structure identifier
2676 pub StrucId: crate::MQCHAR4,
2677 /// Structure version number
2678 pub Version: crate::MQLONG,
2679 /// Length of [`MQWQR`] structure
2680 pub StrucLength: crate::MQLONG,
2681 /// Queue flags
2682 pub QFlags: crate::MQLONG,
2683 /// Queue name
2684 pub QName: crate::MQCHAR48,
2685 /// Queue-manager identifier
2686 pub QMgrIdentifier: crate::MQCHAR48,
2687 /// Offset of first cluster record
2688 pub ClusterRecOffset: crate::MQLONG,
2689 /// Queue type
2690 pub QType: crate::MQLONG,
2691 /// Queue description
2692 pub QDesc: crate::MQCHAR64,
2693 /// Default binding
2694 pub DefBind: crate::MQLONG,
2695 /// Default message persistence
2696 pub DefPersistence: crate::MQLONG,
2697 /// Default message priority
2698 pub DefPriority: crate::MQLONG,
2699 /// Whether put operations on the queue are allowed
2700 pub InhibitPut: crate::MQLONG,
2701 /// Queue priority
2702 ///
2703 /// [`MQWQR3::Version`] >= 2
2704 pub CLWLQueuePriority: crate::MQLONG,
2705 /// Queue rank
2706 ///
2707 /// [`MQWQR3::Version`] >= 2
2708 pub CLWLQueueRank: crate::MQLONG,
2709 /// Default put response
2710 ///
2711 /// [`MQWQR3::Version`] >= 3
2712 pub DefPutResponse: crate::MQLONG,
2713}
2714/// Version-4 CLWL Exit Queue Record
2715#[repr(C)]
2716#[derive(Debug, Copy, Clone)]
2717pub struct MQWQR4 {
2718 /// Structure identifier
2719 pub StrucId: crate::MQCHAR4,
2720 /// Structure version number
2721 pub Version: crate::MQLONG,
2722 /// Length of [`MQWQR`] structure
2723 pub StrucLength: crate::MQLONG,
2724 /// Queue flags
2725 pub QFlags: crate::MQLONG,
2726 /// Queue name
2727 pub QName: crate::MQCHAR48,
2728 /// Queue-manager identifier
2729 pub QMgrIdentifier: crate::MQCHAR48,
2730 /// Offset of first cluster record
2731 pub ClusterRecOffset: crate::MQLONG,
2732 /// Queue type
2733 pub QType: crate::MQLONG,
2734 /// Queue description
2735 pub QDesc: crate::MQCHAR64,
2736 /// Default binding
2737 pub DefBind: crate::MQLONG,
2738 /// Default message persistence
2739 pub DefPersistence: crate::MQLONG,
2740 /// Default message priority
2741 pub DefPriority: crate::MQLONG,
2742 /// Whether put operations on the queue are allowed
2743 pub InhibitPut: crate::MQLONG,
2744 /// Queue priority
2745 ///
2746 /// [`MQWQR4::Version`] >= 2
2747 pub CLWLQueuePriority: crate::MQLONG,
2748 /// Queue rank
2749 ///
2750 /// [`MQWQR4::Version`] >= 2
2751 pub CLWLQueueRank: crate::MQLONG,
2752 /// Default put response
2753 ///
2754 /// [`MQWQR4::Version`] >= 3
2755 pub DefPutResponse: crate::MQLONG,
2756 /// CapExpiry
2757 ///
2758 /// [`MQWQR4::Version`] >= 4
2759 pub CapExpiry: crate::MQLONG,
2760}
2761/// Cluster Workload Exit Parameter
2762///
2763/// # References
2764/// * [IBM `MQWXP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q082580_.html)
2765#[repr(C)]
2766#[derive(Debug, Copy, Clone)]
2767pub struct MQWXP {
2768 /// Structure identifier
2769 pub StrucId: crate::MQCHAR4,
2770 /// Structure version number
2771 pub Version: crate::MQLONG,
2772 /// Type of exit
2773 pub ExitId: crate::MQLONG,
2774 /// Reason for invoking exit
2775 pub ExitReason: crate::MQLONG,
2776 /// Response from exit
2777 pub ExitResponse: crate::MQLONG,
2778 /// Secondary response from exit
2779 pub ExitResponse2: crate::MQLONG,
2780 /// Reserved
2781 pub Feedback: crate::MQLONG,
2782 /// Flags
2783 pub Flags: crate::MQLONG,
2784 /// Exit user area
2785 pub ExitUserArea: crate::MQBYTE16,
2786 /// Exit data
2787 pub ExitData: crate::MQCHAR32,
2788 /// Address of message descriptor
2789 pub MsgDescPtr: crate::PMQMD,
2790 /// Address of buffer containing some or all of the message data
2791 pub MsgBufferPtr: crate::PMQVOID,
2792 /// Length of buffer containing message data
2793 pub MsgBufferLength: crate::MQLONG,
2794 /// Length of complete message
2795 pub MsgLength: crate::MQLONG,
2796 /// Queue name
2797 pub QName: crate::MQCHAR48,
2798 /// Name of local queue manager
2799 pub QMgrName: crate::MQCHAR48,
2800 /// Number of possible destinations
2801 pub DestinationCount: crate::MQLONG,
2802 /// Destination chosen
2803 pub DestinationChosen: crate::MQLONG,
2804 /// Address of an array of pointers to destination records
2805 pub DestinationArrayPtr: PPMQWDR,
2806 /// Address of an array of pointers to queue records
2807 pub QArrayPtr: PPMQWQR,
2808 /// Context information
2809 ///
2810 /// [`MQWXP::Version`] >= 2
2811 pub CacheContext: crate::MQPTR,
2812 /// Type of cluster cache
2813 ///
2814 /// [`MQWXP::Version`] >= 2
2815 pub CacheType: crate::MQLONG,
2816 /// Number of allowed active outbound channels
2817 ///
2818 /// [`MQWXP::Version`] >= 3
2819 pub CLWLMRUChannels: crate::MQLONG,
2820 /// Interface entry points
2821 ///
2822 /// [`MQWXP::Version`] >= 4
2823 pub pEntryPoints: PMQIEP,
2824}
2825/// Version-1 CLWL Exit Parameter
2826#[repr(C)]
2827#[derive(Debug, Copy, Clone)]
2828pub struct MQWXP1 {
2829 /// Structure identifier
2830 pub StrucId: crate::MQCHAR4,
2831 /// Structure version number
2832 pub Version: crate::MQLONG,
2833 /// Type of exit
2834 pub ExitId: crate::MQLONG,
2835 /// Reason for invoking exit
2836 pub ExitReason: crate::MQLONG,
2837 /// Response from exit
2838 pub ExitResponse: crate::MQLONG,
2839 /// Secondary response from exit
2840 pub ExitResponse2: crate::MQLONG,
2841 /// Reserved
2842 pub Feedback: crate::MQLONG,
2843 /// Flags
2844 pub Flags: crate::MQLONG,
2845 /// Exit user area
2846 pub ExitUserArea: crate::MQBYTE16,
2847 /// Exit data
2848 pub ExitData: crate::MQCHAR32,
2849 /// Address of message descriptor
2850 pub MsgDescPtr: crate::PMQMD,
2851 /// Address of buffer containing some or all of the message data
2852 pub MsgBufferPtr: crate::PMQVOID,
2853 /// Length of buffer containing message data
2854 pub MsgBufferLength: crate::MQLONG,
2855 /// Length of complete message
2856 pub MsgLength: crate::MQLONG,
2857 /// Queue name
2858 pub QName: crate::MQCHAR48,
2859 /// Name of local queue manager
2860 pub QMgrName: crate::MQCHAR48,
2861 /// Number of possible destinations
2862 pub DestinationCount: crate::MQLONG,
2863 /// Destination chosen
2864 pub DestinationChosen: crate::MQLONG,
2865 /// Address of an array of pointers to destination records
2866 pub DestinationArrayPtr: PPMQWDR,
2867 /// Address of an array of pointers to queue records
2868 pub QArrayPtr: PPMQWQR,
2869}
2870/// Version-2 CLWL Exit Parameter
2871#[repr(C)]
2872#[derive(Debug, Copy, Clone)]
2873pub struct MQWXP2 {
2874 /// Structure identifier
2875 pub StrucId: crate::MQCHAR4,
2876 /// Structure version number
2877 pub Version: crate::MQLONG,
2878 /// Type of exit
2879 pub ExitId: crate::MQLONG,
2880 /// Reason for invoking exit
2881 pub ExitReason: crate::MQLONG,
2882 /// Response from exit
2883 pub ExitResponse: crate::MQLONG,
2884 /// Secondary response from exit
2885 pub ExitResponse2: crate::MQLONG,
2886 /// Reserved
2887 pub Feedback: crate::MQLONG,
2888 /// Flags
2889 pub Flags: crate::MQLONG,
2890 /// Exit user area
2891 pub ExitUserArea: crate::MQBYTE16,
2892 /// Exit data
2893 pub ExitData: crate::MQCHAR32,
2894 /// Address of message descriptor
2895 pub MsgDescPtr: crate::PMQMD,
2896 /// Address of buffer containing some or all of the message data
2897 pub MsgBufferPtr: crate::PMQVOID,
2898 /// Length of buffer containing message data
2899 pub MsgBufferLength: crate::MQLONG,
2900 /// Length of complete message
2901 pub MsgLength: crate::MQLONG,
2902 /// Queue name
2903 pub QName: crate::MQCHAR48,
2904 /// Name of local queue manager
2905 pub QMgrName: crate::MQCHAR48,
2906 /// Number of possible destinations
2907 pub DestinationCount: crate::MQLONG,
2908 /// Destination chosen
2909 pub DestinationChosen: crate::MQLONG,
2910 /// Address of an array of pointers to destination records
2911 pub DestinationArrayPtr: PPMQWDR,
2912 /// Address of an array of pointers to queue records
2913 pub QArrayPtr: PPMQWQR,
2914 /// Context information
2915 ///
2916 /// [`MQWXP2::Version`] >= 2
2917 pub CacheContext: crate::MQPTR,
2918 /// Type of cluster cache
2919 ///
2920 /// [`MQWXP2::Version`] >= 2
2921 pub CacheType: crate::MQLONG,
2922}
2923/// Version-3 CLWL Exit Parameter
2924#[repr(C)]
2925#[derive(Debug, Copy, Clone)]
2926pub struct MQWXP3 {
2927 /// Structure identifier
2928 pub StrucId: crate::MQCHAR4,
2929 /// Structure version number
2930 pub Version: crate::MQLONG,
2931 /// Type of exit
2932 pub ExitId: crate::MQLONG,
2933 /// Reason for invoking exit
2934 pub ExitReason: crate::MQLONG,
2935 /// Response from exit
2936 pub ExitResponse: crate::MQLONG,
2937 /// Secondary response from exit
2938 pub ExitResponse2: crate::MQLONG,
2939 /// Reserved
2940 pub Feedback: crate::MQLONG,
2941 /// Flags
2942 pub Flags: crate::MQLONG,
2943 /// Exit user area
2944 pub ExitUserArea: crate::MQBYTE16,
2945 /// Exit data
2946 pub ExitData: crate::MQCHAR32,
2947 /// Address of message descriptor
2948 pub MsgDescPtr: crate::PMQMD,
2949 /// Address of buffer containing some or all of the message data
2950 pub MsgBufferPtr: crate::PMQVOID,
2951 /// Length of buffer containing message data
2952 pub MsgBufferLength: crate::MQLONG,
2953 /// Length of complete message
2954 pub MsgLength: crate::MQLONG,
2955 /// Queue name
2956 pub QName: crate::MQCHAR48,
2957 /// Name of local queue manager
2958 pub QMgrName: crate::MQCHAR48,
2959 /// Number of possible destinations
2960 pub DestinationCount: crate::MQLONG,
2961 /// Destination chosen
2962 pub DestinationChosen: crate::MQLONG,
2963 /// Address of an array of pointers to destination records
2964 pub DestinationArrayPtr: PPMQWDR,
2965 /// Address of an array of pointers to queue records
2966 pub QArrayPtr: PPMQWQR,
2967 /// Context information
2968 ///
2969 /// [`MQWXP3::Version`] >= 2
2970 pub CacheContext: crate::MQPTR,
2971 /// Type of cluster cache
2972 ///
2973 /// [`MQWXP3::Version`] >= 2
2974 pub CacheType: crate::MQLONG,
2975 /// Number of allowed active outbound channels
2976 ///
2977 /// [`MQWXP3::Version`] >= 3
2978 pub CLWLMRUChannels: crate::MQLONG,
2979}
2980/// Version-4 CLWL Exit Parameter
2981#[repr(C)]
2982#[derive(Debug, Copy, Clone)]
2983pub struct MQWXP4 {
2984 /// Structure identifier
2985 pub StrucId: crate::MQCHAR4,
2986 /// Structure version number
2987 pub Version: crate::MQLONG,
2988 /// Type of exit
2989 pub ExitId: crate::MQLONG,
2990 /// Reason for invoking exit
2991 pub ExitReason: crate::MQLONG,
2992 /// Response from exit
2993 pub ExitResponse: crate::MQLONG,
2994 /// Secondary response from exit
2995 pub ExitResponse2: crate::MQLONG,
2996 /// Reserved
2997 pub Feedback: crate::MQLONG,
2998 /// Flags
2999 pub Flags: crate::MQLONG,
3000 /// Exit user area
3001 pub ExitUserArea: crate::MQBYTE16,
3002 /// Exit data
3003 pub ExitData: crate::MQCHAR32,
3004 /// Address of message descriptor
3005 pub MsgDescPtr: crate::PMQMD,
3006 /// Address of buffer containing some or all of the message data
3007 pub MsgBufferPtr: crate::PMQVOID,
3008 /// Length of buffer containing message data
3009 pub MsgBufferLength: crate::MQLONG,
3010 /// Length of complete message
3011 pub MsgLength: crate::MQLONG,
3012 /// Queue name
3013 pub QName: crate::MQCHAR48,
3014 /// Name of local queue manager
3015 pub QMgrName: crate::MQCHAR48,
3016 /// Number of possible destinations
3017 pub DestinationCount: crate::MQLONG,
3018 /// Destination chosen
3019 pub DestinationChosen: crate::MQLONG,
3020 /// Address of an array of pointers to destination records
3021 pub DestinationArrayPtr: PPMQWDR,
3022 /// Address of an array of pointers to queue records
3023 pub QArrayPtr: PPMQWQR,
3024 /// Context information
3025 ///
3026 /// [`MQWXP4::Version`] >= 2
3027 pub CacheContext: crate::MQPTR,
3028 /// Type of cluster cache
3029 ///
3030 /// [`MQWXP4::Version`] >= 2
3031 pub CacheType: crate::MQLONG,
3032 /// Number of allowed active outbound channels
3033 ///
3034 /// [`MQWXP4::Version`] >= 3
3035 pub CLWLMRUChannels: crate::MQLONG,
3036 /// Interface entry points
3037 ///
3038 /// [`MQWXP4::Version`] >= 4
3039 pub pEntryPoints: PMQIEP,
3040}
3041/// Register entry point options
3042#[repr(C)]
3043#[derive(Debug, Copy, Clone)]
3044pub struct MQXEPO {
3045 /// Structure identifier
3046 pub StrucId: crate::MQCHAR4,
3047 /// Structure version number
3048 pub Version: crate::MQLONG,
3049 /// Options that control the action of [`MQXEP`]
3050 pub Options: crate::MQLONG,
3051 /// Exit properties
3052 pub ExitProperties: crate::MQCHARV,
3053}
3054/// Entity Data
3055///
3056/// # References
3057/// * [IBM `MQZED` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110340_.html)
3058#[repr(C)]
3059#[derive(Debug, Copy, Clone)]
3060pub struct MQZED {
3061 /// Structure identifier
3062 pub StrucId: crate::MQCHAR4,
3063 /// Structure version number
3064 pub Version: crate::MQLONG,
3065 /// Address of entity name
3066 pub EntityNamePtr: crate::PMQCHAR,
3067 /// Address of entity domain name
3068 pub EntityDomainPtr: crate::PMQCHAR,
3069 /// Security identifier
3070 pub SecurityId: crate::MQBYTE40,
3071 /// Address of correlational data
3072 ///
3073 /// [`MQZED::Version`] >= 2
3074 pub CorrelationPtr: crate::MQPTR,
3075}
3076/// Application Context
3077///
3078/// # References
3079/// * [IBM `MQZAC` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110320_.html)
3080#[repr(C)]
3081#[derive(Debug, Copy, Clone)]
3082pub struct MQZAC {
3083 /// Structure identifier
3084 pub StrucId: crate::MQCHAR4,
3085 /// Structure version number
3086 pub Version: crate::MQLONG,
3087 /// Process identifier of application
3088 pub ProcessId: crate::MQPID,
3089 /// Thread identifier of application
3090 pub ThreadId: crate::MQTID,
3091 /// Application name
3092 pub ApplName: crate::MQCHAR28,
3093 /// User ID of application
3094 pub UserID: crate::MQCHAR12,
3095 /// Effective user ID of application
3096 pub EffectiveUserID: crate::MQCHAR12,
3097 /// Environment of caller
3098 pub Environment: crate::MQLONG,
3099 /// Type of caller
3100 pub CallerType: crate::MQLONG,
3101 /// Type of authentication being performed
3102 pub AuthenticationType: crate::MQLONG,
3103 /// Type of bindings in use
3104 pub BindType: crate::MQLONG,
3105}
3106/// Authority Data
3107///
3108/// # References
3109/// * [IBM `MQZAD` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110330_.html)
3110#[repr(C)]
3111#[derive(Debug, Copy, Clone)]
3112pub struct MQZAD {
3113 /// Structure identifier
3114 pub StrucId: crate::MQCHAR4,
3115 /// Structure version number
3116 pub Version: crate::MQLONG,
3117 /// Profile name
3118 pub ProfileName: crate::MQCHAR48,
3119 /// Object type
3120 pub ObjectType: crate::MQLONG,
3121 /// Authority
3122 pub Authority: crate::MQLONG,
3123 /// Address of [`MQZED`] structure identifying an entity
3124 pub EntityDataPtr: PMQZED,
3125 /// Entity type
3126 pub EntityType: crate::MQLONG,
3127 /// Options
3128 ///
3129 /// [`MQZAD::Version`] >= 2
3130 pub Options: crate::MQLONG,
3131}
3132/// Free Parameters
3133///
3134/// # References
3135/// * [IBM `MQZFP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110360_.html)
3136#[repr(C)]
3137#[derive(Debug, Copy, Clone)]
3138pub struct MQZFP {
3139 /// Structure identifier
3140 pub StrucId: crate::MQCHAR4,
3141 /// Structure version number
3142 pub Version: crate::MQLONG,
3143 /// Reserved
3144 pub Reserved: crate::MQBYTE8,
3145 /// Address of correlational data
3146 pub CorrelationPtr: crate::MQPTR,
3147}
3148/// Identity Context
3149///
3150/// # References
3151/// * [IBM `MQZIC` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110370_.html)
3152#[repr(C)]
3153#[derive(Debug, Copy, Clone)]
3154pub struct MQZIC {
3155 /// Structure identifier
3156 pub StrucId: crate::MQCHAR4,
3157 /// Structure version number
3158 pub Version: crate::MQLONG,
3159 /// User identifier
3160 pub UserIdentifier: crate::MQCHAR12,
3161 /// Accounting token
3162 pub AccountingToken: crate::MQBYTE32,
3163 /// Application data relating to identity
3164 pub ApplIdentityData: crate::MQCHAR32,
3165 /// Long user identifier
3166 ///
3167 /// [`MQZIC::Version`] >= 2
3168 pub LongUserIdentifier: crate::MQCHAR1024,
3169}
3170/// Interface Entry Points
3171///
3172/// # References
3173/// * [IBM `MQIEP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q108070_.html)
3174#[repr(C)]
3175#[derive(Debug, Copy, Clone)]
3176pub struct MQIEP {
3177 /// Structure identifier
3178 pub StrucId: crate::MQCHAR4,
3179 /// Structure version number
3180 pub Version: crate::MQLONG,
3181 /// Length of [`MQIEP`] structure
3182 pub StrucLength: crate::MQLONG,
3183 /// Flags containing information about the interface entry points
3184 pub Flags: crate::MQLONG,
3185 /// Reserved
3186 pub Reserved: crate::MQPTR,
3187 /// [`MQBACK`](crate::MQBACK) entry point
3188 pub MQBACK_Call: PMQ_BACK_CALL,
3189 /// [`MQBEGIN`](crate::MQBEGIN) entry point
3190 pub MQBEGIN_Call: PMQ_BEGIN_CALL,
3191 /// [`MQBUFMH`](crate::MQBUFMH) entry point
3192 pub MQBUFMH_Call: PMQ_BUFMH_CALL,
3193 /// [`MQCB`](crate::MQCB) entry point
3194 pub MQCB_Call: PMQ_CB_CALL,
3195 /// [`MQCLOSE`](crate::MQCLOSE) entry point
3196 pub MQCLOSE_Call: PMQ_CLOSE_CALL,
3197 /// [`MQCMIT`](crate::MQCMIT) entry point
3198 pub MQCMIT_Call: PMQ_CMIT_CALL,
3199 /// [`MQCONN`](crate::MQCONN) entry point
3200 pub MQCONN_Call: PMQ_CONN_CALL,
3201 /// [`MQCONNX`](crate::MQCONNX) entry point
3202 pub MQCONNX_Call: PMQ_CONNX_CALL,
3203 /// [`MQCRTMH`](crate::MQCRTMH) entry point
3204 pub MQCRTMH_Call: PMQ_CRTMH_CALL,
3205 /// [`MQCTL`](crate::MQCTL) entry point
3206 pub MQCTL_Call: PMQ_CTL_CALL,
3207 /// [`MQDISC`](crate::MQDISC) entry point
3208 pub MQDISC_Call: PMQ_DISC_CALL,
3209 /// [`MQDLTMH`](crate::MQDLTMH) entry point
3210 pub MQDLTMH_Call: PMQ_DLTMH_CALL,
3211 /// [`MQDLTMP`](crate::MQDLTMP) entry point
3212 pub MQDLTMP_Call: PMQ_DLTMP_CALL,
3213 /// [`MQGET`](crate::MQGET) entry point
3214 pub MQGET_Call: PMQ_GET_CALL,
3215 /// [`MQINQ`](crate::MQINQ) entry point
3216 pub MQINQ_Call: PMQ_INQ_CALL,
3217 /// [`MQINQMP`](crate::MQINQMP) entry point
3218 pub MQINQMP_Call: PMQ_INQMP_CALL,
3219 /// [`MQMHBUF`](crate::MQMHBUF) entry point
3220 pub MQMHBUF_Call: PMQ_MHBUF_CALL,
3221 /// [`MQOPEN`](crate::MQOPEN) entry point
3222 pub MQOPEN_Call: PMQ_OPEN_CALL,
3223 /// [`MQPUT`](crate::MQPUT) entry point
3224 pub MQPUT_Call: PMQ_PUT_CALL,
3225 /// [`MQPUT1`](crate::MQPUT1) entry point
3226 pub MQPUT1_Call: PMQ_PUT1_CALL,
3227 /// [`MQSET`](crate::MQSET) entry point
3228 pub MQSET_Call: PMQ_SET_CALL,
3229 /// [`MQSETMP`](crate::MQSETMP) entry point
3230 pub MQSETMP_Call: PMQ_SETMP_CALL,
3231 /// [`MQSTAT`](crate::MQSTAT) entry point
3232 pub MQSTAT_Call: PMQ_STAT_CALL,
3233 /// [`MQSUB`](crate::MQSUB) entry point
3234 pub MQSUB_Call: PMQ_SUB_CALL,
3235 /// [`MQSUBRQ`](crate::MQSUBRQ) entry point
3236 pub MQSUBRQ_Call: PMQ_SUBRQ_CALL,
3237 /// [`MQXCLWLN`] entry point
3238 pub MQXCLWLN_Call: PMQ_XCLWLN_CALL,
3239 /// [`MQXCNVC`](crate::MQXCNVC) entry point
3240 pub MQXCNVC_Call: PMQ_XCNVC_CALL,
3241 /// [`MQXDX`] entry point
3242 pub MQXDX_Call: PMQ_XDX_CALL,
3243 /// [`MQXEP`] entry point
3244 pub MQXEP_Call: PMQ_XEP_CALL,
3245 /// [`MQZEP`] entry point
3246 pub MQZEP_Call: PMQ_ZEP_CALL,
3247}
3248pub const MQPA_DEFAULT: crate::MQLONG = 1;
3249pub const MQPA_CONTEXT: crate::MQLONG = 2;
3250pub const MQPA_ONLY_MCA: crate::MQLONG = 3;
3251pub const MQPA_ALTERNATE_OR_MCA: crate::MQLONG = 4;
3252pub const MQCDC_SENDER_CONVERSION: crate::MQLONG = 1;
3253pub const MQCDC_NO_SENDER_CONVERSION: crate::MQLONG = 0;
3254pub const MQMCAT_PROCESS: crate::MQLONG = 1;
3255pub const MQMCAT_THREAD: crate::MQLONG = 2;
3256pub const MQNPMS_NORMAL: crate::MQLONG = 1;
3257pub const MQNPMS_FAST: crate::MQLONG = 2;
3258pub const MQSCA_REQUIRED: crate::MQLONG = 0;
3259pub const MQSCA_OPTIONAL: crate::MQLONG = 1;
3260pub const MQSCA_NEVER_REQUIRED: crate::MQLONG = 2;
3261pub const MQKAI_AUTO: crate::MQLONG = -1;
3262pub const MQRCN_NO: crate::MQLONG = 0;
3263pub const MQRCN_YES: crate::MQLONG = 1;
3264pub const MQRCN_Q_MGR: crate::MQLONG = 2;
3265pub const MQRCN_DISABLED: crate::MQLONG = 3;
3266pub const MQPROTO_MQTTV3: crate::MQLONG = 1;
3267pub const MQPROTO_HTTP: crate::MQLONG = 2;
3268pub const MQPROTO_AMQP: crate::MQLONG = 3;
3269pub const MQPROTO_MQTTV311: crate::MQLONG = 4;
3270pub const MQSECPROT_NONE: crate::MQLONG = 0;
3271pub const MQSECPROT_SSLV30: crate::MQLONG = 1;
3272pub const MQSECPROT_TLSV10: crate::MQLONG = 2;
3273pub const MQSECPROT_TLSV12: crate::MQLONG = 4;
3274pub const MQSECPROT_TLSV13: crate::MQLONG = 8;
3275pub const MQSPL_PASSTHRU: crate::MQLONG = 0;
3276pub const MQSPL_REMOVE: crate::MQLONG = 1;
3277pub const MQSPL_AS_POLICY: crate::MQLONG = 2;
3278pub const MQACH_STRUC_ID: &::std::ffi::CStr = c"ACH ";
3279pub const MQACH_VERSION_1: crate::MQLONG = 1;
3280pub const MQACH_CURRENT_VERSION: crate::MQLONG = 1;
3281pub const MQACH_LENGTH_1: usize = 72;
3282pub const MQACH_CURRENT_LENGTH: usize = 72;
3283pub const MQAXC_STRUC_ID: &::std::ffi::CStr = c"AXC ";
3284pub const MQAXC_VERSION_1: crate::MQLONG = 1;
3285pub const MQAXC_VERSION_2: crate::MQLONG = 2;
3286pub const MQAXC_CURRENT_VERSION: crate::MQLONG = 2;
3287pub const MQAXC_LENGTH_1: usize = 392;
3288pub const MQAXC_LENGTH_2: usize = 424;
3289pub const MQAXC_CURRENT_LENGTH: usize = 424;
3290pub const MQXE_OTHER: crate::MQLONG = 0;
3291pub const MQXE_MCA: crate::MQLONG = 1;
3292pub const MQXE_MCA_SVRCONN: crate::MQLONG = 2;
3293pub const MQXE_COMMAND_SERVER: crate::MQLONG = 3;
3294pub const MQXE_MQSC: crate::MQLONG = 4;
3295pub const MQXE_MCA_CLNTCONN: crate::MQLONG = 5;
3296pub const MQAXP_STRUC_ID: &::std::ffi::CStr = c"AXP ";
3297pub const MQAXP_VERSION_1: crate::MQLONG = 1;
3298pub const MQAXP_VERSION_2: crate::MQLONG = 2;
3299pub const MQAXP_CURRENT_VERSION: crate::MQLONG = 2;
3300pub const MQAXP_LENGTH_1: usize = 256;
3301pub const MQAXP_CURRENT_LENGTH: usize = 256;
3302pub const MQXACT_EXTERNAL: crate::MQLONG = 1;
3303pub const MQXACT_INTERNAL: crate::MQLONG = 2;
3304pub const MQXPDA_NONE: &[u8; 49] = b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
3305pub const MQXF_INIT: crate::MQLONG = 1;
3306pub const MQXF_TERM: crate::MQLONG = 2;
3307pub const MQXF_CONN: crate::MQLONG = 3;
3308pub const MQXF_CONNX: crate::MQLONG = 4;
3309pub const MQXF_DISC: crate::MQLONG = 5;
3310pub const MQXF_OPEN: crate::MQLONG = 6;
3311pub const MQXF_CLOSE: crate::MQLONG = 7;
3312pub const MQXF_PUT1: crate::MQLONG = 8;
3313pub const MQXF_PUT: crate::MQLONG = 9;
3314pub const MQXF_GET: crate::MQLONG = 10;
3315/// [IBM `MQXF_DATA_CONV_ON_GET` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109800_.html)
3316pub const MQXF_DATA_CONV_ON_GET: crate::MQLONG = 11;
3317pub const MQXF_INQ: crate::MQLONG = 12;
3318pub const MQXF_SET: crate::MQLONG = 13;
3319pub const MQXF_BEGIN: crate::MQLONG = 14;
3320pub const MQXF_CMIT: crate::MQLONG = 15;
3321pub const MQXF_BACK: crate::MQLONG = 16;
3322pub const MQXF_STAT: crate::MQLONG = 18;
3323pub const MQXF_CB: crate::MQLONG = 19;
3324pub const MQXF_CTL: crate::MQLONG = 20;
3325pub const MQXF_CALLBACK: crate::MQLONG = 21;
3326pub const MQXF_SUB: crate::MQLONG = 22;
3327pub const MQXF_SUBRQ: crate::MQLONG = 23;
3328pub const MQXF_XACLOSE: crate::MQLONG = 24;
3329pub const MQXF_XACOMMIT: crate::MQLONG = 25;
3330pub const MQXF_XACOMPLETE: crate::MQLONG = 26;
3331pub const MQXF_XAEND: crate::MQLONG = 27;
3332pub const MQXF_XAFORGET: crate::MQLONG = 28;
3333pub const MQXF_XAOPEN: crate::MQLONG = 29;
3334pub const MQXF_XAPREPARE: crate::MQLONG = 30;
3335pub const MQXF_XARECOVER: crate::MQLONG = 31;
3336pub const MQXF_XAROLLBACK: crate::MQLONG = 32;
3337pub const MQXF_XASTART: crate::MQLONG = 33;
3338pub const MQXF_AXREG: crate::MQLONG = 34;
3339pub const MQXF_AXUNREG: crate::MQLONG = 35;
3340pub const MQCXP_STRUC_ID: &::std::ffi::CStr = c"CXP ";
3341pub const MQCXP_VERSION_1: crate::MQLONG = 1;
3342pub const MQCXP_VERSION_2: crate::MQLONG = 2;
3343pub const MQCXP_VERSION_3: crate::MQLONG = 3;
3344pub const MQCXP_VERSION_4: crate::MQLONG = 4;
3345pub const MQCXP_VERSION_5: crate::MQLONG = 5;
3346pub const MQCXP_VERSION_6: crate::MQLONG = 6;
3347pub const MQCXP_VERSION_7: crate::MQLONG = 7;
3348pub const MQCXP_VERSION_8: crate::MQLONG = 8;
3349pub const MQCXP_VERSION_9: crate::MQLONG = 9;
3350pub const MQCXP_CURRENT_VERSION: crate::MQLONG = 9;
3351pub const MQCXP_LENGTH_3: usize = 156;
3352pub const MQCXP_LENGTH_4: usize = 156;
3353pub const MQCXP_LENGTH_5: usize = 160;
3354pub const MQCXP_LENGTH_6: usize = 200;
3355pub const MQCXP_LENGTH_7: usize = 208;
3356pub const MQCXP_LENGTH_8: usize = 224;
3357pub const MQCXP_LENGTH_9: usize = 240;
3358pub const MQCXP_CURRENT_LENGTH: usize = 240;
3359pub const MQXR2_PUT_WITH_DEF_ACTION: crate::MQLONG = 0;
3360pub const MQXR2_PUT_WITH_DEF_USERID: crate::MQLONG = 1;
3361pub const MQXR2_PUT_WITH_MSG_USERID: crate::MQLONG = 2;
3362pub const MQXR2_USE_AGENT_BUFFER: crate::MQLONG = 0;
3363pub const MQXR2_USE_EXIT_BUFFER: crate::MQLONG = 4;
3364pub const MQXR2_DEFAULT_CONTINUATION: crate::MQLONG = 0;
3365pub const MQXR2_CONTINUE_CHAIN: crate::MQLONG = 8;
3366pub const MQXR2_SUPPRESS_CHAIN: crate::MQLONG = 16;
3367pub const MQXR2_STATIC_CACHE: crate::MQLONG = 0;
3368pub const MQXR2_DYNAMIC_CACHE: crate::MQLONG = 32;
3369pub const MQCF_NONE: crate::MQLONG = 0;
3370pub const MQCF_DIST_LISTS: crate::MQLONG = 1;
3371pub const MQDXP_STRUC_ID: &::std::ffi::CStr = c"DXP ";
3372pub const MQDXP_VERSION_1: crate::MQLONG = 1;
3373pub const MQDXP_VERSION_2: crate::MQLONG = 2;
3374pub const MQDXP_CURRENT_VERSION: crate::MQLONG = 2;
3375pub const MQDXP_LENGTH_1: usize = 44;
3376pub const MQDXP_LENGTH_2: usize = 56;
3377pub const MQDXP_CURRENT_LENGTH: usize = 56;
3378pub const MQXDR_OK: crate::MQLONG = 0;
3379pub const MQXDR_CONVERSION_FAILED: crate::MQLONG = 1;
3380pub const MQNXP_STRUC_ID: &::std::ffi::CStr = c"NXP ";
3381pub const MQNXP_VERSION_1: crate::MQLONG = 1;
3382pub const MQNXP_VERSION_2: crate::MQLONG = 2;
3383pub const MQNXP_CURRENT_VERSION: crate::MQLONG = 2;
3384pub const MQNXP_LENGTH_1: usize = 64;
3385pub const MQNXP_LENGTH_2: usize = 72;
3386pub const MQNXP_CURRENT_LENGTH: usize = 72;
3387pub const MQPBC_STRUC_ID: &::std::ffi::CStr = c"PBC ";
3388pub const MQPBC_VERSION_1: crate::MQLONG = 1;
3389pub const MQPBC_VERSION_2: crate::MQLONG = 2;
3390pub const MQPBC_CURRENT_VERSION: crate::MQLONG = 2;
3391pub const MQPBC_LENGTH_1: usize = 32;
3392pub const MQPBC_LENGTH_2: usize = 40;
3393pub const MQPBC_CURRENT_LENGTH: usize = 40;
3394pub const MQPSXP_STRUC_ID: &::std::ffi::CStr = c"PSXP";
3395pub const MQPSXP_VERSION_1: crate::MQLONG = 1;
3396pub const MQPSXP_VERSION_2: crate::MQLONG = 2;
3397pub const MQPSXP_CURRENT_VERSION: crate::MQLONG = 2;
3398pub const MQPSXP_LENGTH_1: usize = 176;
3399pub const MQPSXP_LENGTH_2: usize = 184;
3400pub const MQPSXP_CURRENT_LENGTH: usize = 184;
3401pub const MQSBC_STRUC_ID: &::std::ffi::CStr = c"SBC ";
3402pub const MQSBC_VERSION_1: crate::MQLONG = 1;
3403pub const MQSBC_CURRENT_VERSION: crate::MQLONG = 1;
3404pub const MQSBC_LENGTH_1: usize = 288;
3405pub const MQSBC_CURRENT_LENGTH: usize = 288;
3406pub const MQWDR_STRUC_ID: &::std::ffi::CStr = c"WDR ";
3407pub const MQWDR_VERSION_1: crate::MQLONG = 1;
3408pub const MQWDR_VERSION_2: crate::MQLONG = 2;
3409pub const MQWDR_CURRENT_VERSION: crate::MQLONG = 2;
3410pub const MQWDR_LENGTH_1: usize = 124;
3411pub const MQWDR_LENGTH_2: usize = 136;
3412pub const MQWDR_CURRENT_LENGTH: usize = 136;
3413pub const MQQMF_REPOSITORY_Q_MGR: crate::MQLONG = 2;
3414pub const MQQMF_CLUSSDR_USER_DEFINED: crate::MQLONG = 8;
3415pub const MQQMF_CLUSSDR_AUTO_DEFINED: crate::MQLONG = 16;
3416pub const MQQMF_AVAILABLE: crate::MQLONG = 32;
3417pub const MQWDR1_LENGTH_1: usize = 124;
3418pub const MQWDR1_CURRENT_LENGTH: usize = 124;
3419pub const MQWDR2_LENGTH_1: usize = 124;
3420pub const MQWDR2_LENGTH_2: usize = 136;
3421pub const MQWDR2_CURRENT_LENGTH: usize = 136;
3422pub const MQWQR_STRUC_ID: &::std::ffi::CStr = c"WQR ";
3423pub const MQWQR_VERSION_1: crate::MQLONG = 1;
3424pub const MQWQR_VERSION_2: crate::MQLONG = 2;
3425pub const MQWQR_VERSION_3: crate::MQLONG = 3;
3426pub const MQWQR_VERSION_4: crate::MQLONG = 4;
3427pub const MQWQR_CURRENT_VERSION: crate::MQLONG = 4;
3428pub const MQWQR_LENGTH_1: usize = 200;
3429pub const MQWQR_LENGTH_2: usize = 208;
3430pub const MQWQR_LENGTH_3: usize = 212;
3431pub const MQWQR_LENGTH_4: usize = 216;
3432pub const MQWQR_CURRENT_LENGTH: usize = 216;
3433pub const MQQF_LOCAL_Q: crate::MQLONG = 1;
3434pub const MQQF_CLWL_USEQ_ANY: crate::MQLONG = 64;
3435pub const MQQF_CLWL_USEQ_LOCAL: crate::MQLONG = 128;
3436pub const MQWQR1_LENGTH_1: usize = 200;
3437pub const MQWQR1_CURRENT_LENGTH: usize = 200;
3438pub const MQWQR2_LENGTH_1: usize = 200;
3439pub const MQWQR2_LENGTH_2: usize = 208;
3440pub const MQWQR2_CURRENT_LENGTH: usize = 208;
3441pub const MQWQR3_LENGTH_1: usize = 200;
3442pub const MQWQR3_LENGTH_2: usize = 208;
3443pub const MQWQR3_LENGTH_3: usize = 212;
3444pub const MQWQR3_CURRENT_LENGTH: usize = 212;
3445pub const MQWQR4_LENGTH_1: usize = 200;
3446pub const MQWQR4_LENGTH_2: usize = 208;
3447pub const MQWQR4_LENGTH_3: usize = 212;
3448pub const MQWQR4_LENGTH_4: usize = 216;
3449pub const MQWQR4_CURRENT_LENGTH: usize = 216;
3450pub const MQWXP_STRUC_ID: &::std::ffi::CStr = c"WXP ";
3451pub const MQWXP_VERSION_1: crate::MQLONG = 1;
3452pub const MQWXP_VERSION_2: crate::MQLONG = 2;
3453pub const MQWXP_VERSION_3: crate::MQLONG = 3;
3454pub const MQWXP_VERSION_4: crate::MQLONG = 4;
3455pub const MQWXP_CURRENT_VERSION: crate::MQLONG = 4;
3456pub const MQWXP_LENGTH_1: usize = 224;
3457pub const MQWXP_LENGTH_2: usize = 240;
3458pub const MQWXP_LENGTH_3: usize = 240;
3459pub const MQWXP_LENGTH_4: usize = 248;
3460pub const MQWXP_CURRENT_LENGTH: usize = 248;
3461pub const MQWXP_PUT_BY_CLUSTER_CHL: crate::MQLONG = 2;
3462pub const MQWXP1_LENGTH_1: usize = 224;
3463pub const MQWXP1_CURRENT_LENGTH: usize = 224;
3464pub const MQWXP2_LENGTH_1: usize = 224;
3465pub const MQWXP2_LENGTH_2: usize = 240;
3466pub const MQWXP2_CURRENT_LENGTH: usize = 240;
3467pub const MQWXP3_LENGTH_1: usize = 224;
3468pub const MQWXP3_LENGTH_2: usize = 240;
3469pub const MQWXP3_LENGTH_3: usize = 240;
3470pub const MQWXP3_CURRENT_LENGTH: usize = 240;
3471pub const MQWXP4_LENGTH_1: usize = 224;
3472pub const MQWXP4_LENGTH_2: usize = 240;
3473pub const MQWXP4_LENGTH_3: usize = 240;
3474pub const MQWXP4_LENGTH_4: usize = 248;
3475pub const MQWXP4_CURRENT_LENGTH: usize = 248;
3476pub const MQXEPO_STRUC_ID: &::std::ffi::CStr = c"XEPO";
3477pub const MQXEPO_VERSION_1: crate::MQLONG = 1;
3478pub const MQXEPO_CURRENT_VERSION: crate::MQLONG = 1;
3479pub const MQXEPO_LENGTH_1: usize = 40;
3480pub const MQXEPO_CURRENT_LENGTH: usize = 40;
3481pub const MQXEPO_NONE: crate::MQLONG = 0;
3482pub const MQXT_API_CROSSING_EXIT: crate::MQLONG = 1;
3483pub const MQXT_API_EXIT: crate::MQLONG = 2;
3484pub const MQXT_CHANNEL_SEC_EXIT: crate::MQLONG = 11;
3485pub const MQXT_CHANNEL_MSG_EXIT: crate::MQLONG = 12;
3486pub const MQXT_CHANNEL_SEND_EXIT: crate::MQLONG = 13;
3487pub const MQXT_CHANNEL_RCV_EXIT: crate::MQLONG = 14;
3488pub const MQXT_CHANNEL_MSG_RETRY_EXIT: crate::MQLONG = 15;
3489pub const MQXT_CHANNEL_AUTO_DEF_EXIT: crate::MQLONG = 16;
3490pub const MQXT_CLUSTER_WORKLOAD_EXIT: crate::MQLONG = 20;
3491pub const MQXT_PUBSUB_ROUTING_EXIT: crate::MQLONG = 21;
3492pub const MQXT_PUBLISH_EXIT: crate::MQLONG = 22;
3493pub const MQXT_PRECONNECT_EXIT: crate::MQLONG = 23;
3494pub const MQXR_BEFORE: crate::MQLONG = 1;
3495pub const MQXR_AFTER: crate::MQLONG = 2;
3496pub const MQXR_CONNECTION: crate::MQLONG = 3;
3497pub const MQXR_BEFORE_CONVERT: crate::MQLONG = 4;
3498pub const MQXR_INIT: crate::MQLONG = 11;
3499pub const MQXR_TERM: crate::MQLONG = 12;
3500pub const MQXR_MSG: crate::MQLONG = 13;
3501pub const MQXR_XMIT: crate::MQLONG = 14;
3502pub const MQXR_SEC_MSG: crate::MQLONG = 15;
3503pub const MQXR_INIT_SEC: crate::MQLONG = 16;
3504pub const MQXR_RETRY: crate::MQLONG = 17;
3505pub const MQXR_AUTO_CLUSSDR: crate::MQLONG = 18;
3506pub const MQXR_AUTO_RECEIVER: crate::MQLONG = 19;
3507pub const MQXR_CLWL_OPEN: crate::MQLONG = 20;
3508pub const MQXR_CLWL_PUT: crate::MQLONG = 21;
3509pub const MQXR_CLWL_MOVE: crate::MQLONG = 22;
3510pub const MQXR_CLWL_REPOS: crate::MQLONG = 23;
3511pub const MQXR_CLWL_REPOS_MOVE: crate::MQLONG = 24;
3512pub const MQXR_END_BATCH: crate::MQLONG = 25;
3513pub const MQXR_ACK_RECEIVED: crate::MQLONG = 26;
3514pub const MQXR_AUTO_SVRCONN: crate::MQLONG = 27;
3515pub const MQXR_AUTO_CLUSRCVR: crate::MQLONG = 28;
3516pub const MQXR_SEC_PARMS: crate::MQLONG = 29;
3517pub const MQXR_PUBLICATION: crate::MQLONG = 30;
3518pub const MQXR_PRECONNECT: crate::MQLONG = 31;
3519pub const MQXCC_OK: crate::MQLONG = 0;
3520pub const MQXCC_SUPPRESS_FUNCTION: crate::MQLONG = -1;
3521pub const MQXCC_SKIP_FUNCTION: crate::MQLONG = -2;
3522pub const MQXCC_SEND_AND_REQUEST_SEC_MSG: crate::MQLONG = -3;
3523pub const MQXCC_SEND_SEC_MSG: crate::MQLONG = -4;
3524pub const MQXCC_SUPPRESS_EXIT: crate::MQLONG = -5;
3525pub const MQXCC_CLOSE_CHANNEL: crate::MQLONG = -6;
3526pub const MQXCC_REQUEST_ACK: crate::MQLONG = -7;
3527pub const MQXCC_FAILED: crate::MQLONG = -8;
3528pub const MQXUA_NONE: &[u8; 17] = b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
3529pub const MQCLCT_STATIC: crate::MQLONG = 0;
3530pub const MQCLCT_DYNAMIC: crate::MQLONG = 1;
3531pub const MQMCEV_PACKET_LOSS: crate::MQLONG = 1;
3532pub const MQMCEV_HEARTBEAT_TIMEOUT: crate::MQLONG = 2;
3533pub const MQMCEV_VERSION_CONFLICT: crate::MQLONG = 3;
3534pub const MQMCEV_RELIABILITY: crate::MQLONG = 4;
3535pub const MQMCEV_CLOSED_TRANS: crate::MQLONG = 5;
3536pub const MQMCEV_STREAM_ERROR: crate::MQLONG = 6;
3537pub const MQMCEV_NEW_SOURCE: crate::MQLONG = 10;
3538pub const MQMCEV_RECEIVE_QUEUE_TRIMMED: crate::MQLONG = 11;
3539pub const MQMCEV_PACKET_LOSS_NACK_EXPIRE: crate::MQLONG = 12;
3540pub const MQMCEV_ACK_RETRIES_EXCEEDED: crate::MQLONG = 13;
3541pub const MQMCEV_STREAM_SUSPEND_NACK: crate::MQLONG = 14;
3542pub const MQMCEV_STREAM_RESUME_NACK: crate::MQLONG = 15;
3543pub const MQMCEV_STREAM_EXPELLED: crate::MQLONG = 16;
3544pub const MQMCEV_FIRST_MESSAGE: crate::MQLONG = 20;
3545pub const MQMCEV_LATE_JOIN_FAILURE: crate::MQLONG = 21;
3546pub const MQMCEV_MESSAGE_LOSS: crate::MQLONG = 22;
3547pub const MQMCEV_SEND_PACKET_FAILURE: crate::MQLONG = 23;
3548pub const MQMCEV_REPAIR_DELAY: crate::MQLONG = 24;
3549pub const MQMCEV_MEMORY_ALERT_ON: crate::MQLONG = 25;
3550pub const MQMCEV_MEMORY_ALERT_OFF: crate::MQLONG = 26;
3551pub const MQMCEV_NACK_ALERT_ON: crate::MQLONG = 27;
3552pub const MQMCEV_NACK_ALERT_OFF: crate::MQLONG = 28;
3553pub const MQMCEV_REPAIR_ALERT_ON: crate::MQLONG = 29;
3554pub const MQMCEV_REPAIR_ALERT_OFF: crate::MQLONG = 30;
3555pub const MQMCEV_RELIABILITY_CHANGED: crate::MQLONG = 31;
3556pub const MQMCEV_SHM_DEST_UNUSABLE: crate::MQLONG = 80;
3557pub const MQMCEV_SHM_PORT_UNUSABLE: crate::MQLONG = 81;
3558pub const MQMCEV_CCT_GETTIME_FAILED: crate::MQLONG = 110;
3559pub const MQMCEV_DEST_INTERFACE_FAILURE: crate::MQLONG = 120;
3560pub const MQMCEV_DEST_INTERFACE_FAILOVER: crate::MQLONG = 121;
3561pub const MQMCEV_PORT_INTERFACE_FAILURE: crate::MQLONG = 122;
3562pub const MQMCEV_PORT_INTERFACE_FAILOVER: crate::MQLONG = 123;
3563pub const MQZED_STRUC_ID: &::std::ffi::CStr = c"ZED ";
3564pub const MQZED_VERSION_1: crate::MQLONG = 1;
3565pub const MQZED_VERSION_2: crate::MQLONG = 2;
3566pub const MQZED_CURRENT_VERSION: crate::MQLONG = 2;
3567pub const MQZED_LENGTH_1: usize = 64;
3568pub const MQZED_LENGTH_2: usize = 72;
3569pub const MQZED_CURRENT_LENGTH: usize = 72;
3570pub const MQZAC_STRUC_ID: &::std::ffi::CStr = c"ZAC ";
3571pub const MQZAC_VERSION_1: crate::MQLONG = 1;
3572pub const MQZAC_CURRENT_VERSION: crate::MQLONG = 1;
3573pub const MQZAC_LENGTH_1: usize = 84;
3574pub const MQZAC_CURRENT_LENGTH: usize = 84;
3575pub const MQZAT_INITIAL_CONTEXT: crate::MQLONG = 0;
3576pub const MQZAT_CHANGE_CONTEXT: crate::MQLONG = 1;
3577pub const MQZAD_STRUC_ID: &::std::ffi::CStr = c"ZAD ";
3578pub const MQZAD_VERSION_1: crate::MQLONG = 1;
3579pub const MQZAD_VERSION_2: crate::MQLONG = 2;
3580pub const MQZAD_CURRENT_VERSION: crate::MQLONG = 2;
3581pub const MQZAD_LENGTH_1: usize = 80;
3582pub const MQZAD_LENGTH_2: usize = 80;
3583pub const MQZAD_CURRENT_LENGTH: usize = 80;
3584pub const MQZFP_STRUC_ID: &::std::ffi::CStr = c"ZFP ";
3585pub const MQZFP_VERSION_1: crate::MQLONG = 1;
3586pub const MQZFP_CURRENT_VERSION: crate::MQLONG = 1;
3587pub const MQZFP_LENGTH_1: usize = 24;
3588pub const MQZFP_CURRENT_LENGTH: usize = 24;
3589pub const MQZIC_STRUC_ID: &::std::ffi::CStr = c"ZIC ";
3590pub const MQZIC_VERSION_1: crate::MQLONG = 1;
3591pub const MQZIC_VERSION_2: crate::MQLONG = 2;
3592pub const MQZIC_CURRENT_VERSION: crate::MQLONG = 2;
3593pub const MQZIC_LENGTH_1: usize = 84;
3594pub const MQZIC_LENGTH_2: usize = 1108;
3595pub const MQZIC_CURRENT_LENGTH: usize = 1108;
3596pub const MQZIO_PRIMARY: crate::MQLONG = 0;
3597pub const MQZIO_SECONDARY: crate::MQLONG = 1;
3598pub const MQZTO_PRIMARY: crate::MQLONG = 0;
3599pub const MQZTO_SECONDARY: crate::MQLONG = 1;
3600pub const MQZCI_DEFAULT: crate::MQLONG = 0;
3601pub const MQZCI_CONTINUE: crate::MQLONG = 0;
3602pub const MQZCI_STOP: crate::MQLONG = 1;
3603pub const MQZAS_VERSION_1: crate::MQLONG = 1;
3604pub const MQZAS_VERSION_2: crate::MQLONG = 2;
3605pub const MQZAS_VERSION_3: crate::MQLONG = 3;
3606pub const MQZAS_VERSION_4: crate::MQLONG = 4;
3607pub const MQZAS_VERSION_5: crate::MQLONG = 5;
3608pub const MQZAS_VERSION_6: crate::MQLONG = 6;
3609pub const MQZAO_CONNECT: crate::MQLONG = 1;
3610pub const MQZAO_BROWSE: crate::MQLONG = 2;
3611pub const MQZAO_INPUT: crate::MQLONG = 4;
3612pub const MQZAO_OUTPUT: crate::MQLONG = 8;
3613pub const MQZAO_INQUIRE: crate::MQLONG = 16;
3614pub const MQZAO_SET: crate::MQLONG = 32;
3615pub const MQZAO_PASS_IDENTITY_CONTEXT: crate::MQLONG = 64;
3616pub const MQZAO_PASS_ALL_CONTEXT: crate::MQLONG = 128;
3617pub const MQZAO_SET_IDENTITY_CONTEXT: crate::MQLONG = 256;
3618pub const MQZAO_SET_ALL_CONTEXT: crate::MQLONG = 512;
3619pub const MQZAO_ALTERNATE_USER_AUTHORITY: crate::MQLONG = 1024;
3620pub const MQZAO_PUBLISH: crate::MQLONG = 2048;
3621pub const MQZAO_SUBSCRIBE: crate::MQLONG = 4096;
3622pub const MQZAO_RESUME: crate::MQLONG = 8192;
3623pub const MQZAO_ALL_MQI: crate::MQLONG = 16383;
3624pub const MQZAO_CREATE: crate::MQLONG = 65536;
3625pub const MQZAO_DELETE: crate::MQLONG = 131072;
3626pub const MQZAO_DISPLAY: crate::MQLONG = 262144;
3627pub const MQZAO_CHANGE: crate::MQLONG = 524288;
3628pub const MQZAO_CLEAR: crate::MQLONG = 1048576;
3629pub const MQZAO_CONTROL: crate::MQLONG = 2097152;
3630pub const MQZAO_CONTROL_EXTENDED: crate::MQLONG = 4194304;
3631pub const MQZAO_AUTHORIZE: crate::MQLONG = 8388608;
3632pub const MQZAO_ALL_ADMIN: crate::MQLONG = 16646144;
3633pub const MQZAO_SYSTEM: crate::MQLONG = 33554432;
3634pub const MQZAO_ALL: crate::MQLONG = 50216959;
3635pub const MQZAO_REMOVE: crate::MQLONG = 16777216;
3636pub const MQZAO_NONE: crate::MQLONG = 0;
3637pub const MQZAO_CREATE_ONLY: crate::MQLONG = 67108864;
3638pub const MQZAET_NONE: crate::MQLONG = 0;
3639pub const MQZAET_PRINCIPAL: crate::MQLONG = 1;
3640pub const MQZAET_GROUP: crate::MQLONG = 2;
3641pub const MQZAET_UNKNOWN: crate::MQLONG = 3;
3642pub const MQZSE_START: crate::MQLONG = 1;
3643pub const MQZSE_CONTINUE: crate::MQLONG = 0;
3644pub const MQZSL_NOT_RETURNED: crate::MQLONG = 0;
3645pub const MQZSL_RETURNED: crate::MQLONG = 1;
3646pub const MQZNS_VERSION_1: crate::MQLONG = 1;
3647pub const MQZUS_VERSION_1: crate::MQLONG = 1;
3648pub const MQZID_INIT: crate::MQLONG = 0;
3649pub const MQZID_TERM: crate::MQLONG = 1;
3650pub const MQZID_INIT_AUTHORITY: crate::MQLONG = 0;
3651pub const MQZID_TERM_AUTHORITY: crate::MQLONG = 1;
3652pub const MQZID_CHECK_AUTHORITY: crate::MQLONG = 2;
3653pub const MQZID_COPY_ALL_AUTHORITY: crate::MQLONG = 3;
3654pub const MQZID_DELETE_AUTHORITY: crate::MQLONG = 4;
3655pub const MQZID_SET_AUTHORITY: crate::MQLONG = 5;
3656pub const MQZID_GET_AUTHORITY: crate::MQLONG = 6;
3657pub const MQZID_GET_EXPLICIT_AUTHORITY: crate::MQLONG = 7;
3658pub const MQZID_REFRESH_CACHE: crate::MQLONG = 8;
3659pub const MQZID_ENUMERATE_AUTHORITY_DATA: crate::MQLONG = 9;
3660pub const MQZID_AUTHENTICATE_USER: crate::MQLONG = 10;
3661pub const MQZID_FREE_USER: crate::MQLONG = 11;
3662pub const MQZID_INQUIRE: crate::MQLONG = 12;
3663pub const MQZID_CHECK_PRIVILEGED: crate::MQLONG = 13;
3664pub const MQZID_INIT_NAME: crate::MQLONG = 0;
3665pub const MQZID_TERM_NAME: crate::MQLONG = 1;
3666pub const MQZID_LOOKUP_NAME: crate::MQLONG = 2;
3667pub const MQZID_INSERT_NAME: crate::MQLONG = 3;
3668pub const MQZID_DELETE_NAME: crate::MQLONG = 4;
3669pub const MQZID_INIT_USERID: crate::MQLONG = 0;
3670pub const MQZID_TERM_USERID: crate::MQLONG = 1;
3671pub const MQZID_FIND_USERID: crate::MQLONG = 2;
3672pub const MQIEP_STRUC_ID: &::std::ffi::CStr = c"IEP ";
3673pub const MQIEP_VERSION_1: crate::MQLONG = 1;
3674pub const MQIEP_CURRENT_VERSION: crate::MQLONG = 1;
3675pub const MQIEP_LENGTH_1: usize = 264;
3676pub const MQIEP_CURRENT_LENGTH: usize = 264;
3677pub const MQIEPF_NONE: crate::MQLONG = 0;
3678pub const MQIEPF_NON_THREADED_LIBRARY: crate::MQLONG = 0;
3679pub const MQIEPF_THREADED_LIBRARY: crate::MQLONG = 1;
3680pub const MQIEPF_CLIENT_LIBRARY: crate::MQLONG = 0;
3681pub const MQIEPF_LOCAL_LIBRARY: crate::MQLONG = 2;
3682unsafe extern "C" {
3683 /// Register Entry Point
3684 ///
3685 /// # Arguments
3686 /// * `Hconfig`: Configuration handle
3687 /// * `ExitReason`: Exit reason
3688 /// * `Function`: Function identifier
3689 /// * `EntryPoint`: Exit function entry point
3690 /// * `ExitOpts`: Options that control the action of [`MQXEP`]
3691 /// * `CompCode` (Output): Completion code
3692 /// * `Reason` (Output): Reason code qualifying `CompCode`
3693 ///
3694 /// # References
3695 /// * [IBM `MQXEP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109660_.html)
3696 pub fn MQXEP(
3697 Hconfig: MQHCONFIG,
3698 ExitReason: crate::MQLONG,
3699 Function: crate::MQLONG,
3700 EntryPoint: crate::PMQFUNC,
3701 ExitOpts: Option<&MQXEPO>,
3702 CompCode: &mut crate::MQLONG,
3703 Reason: &mut crate::MQLONG,
3704 );
3705 /// Cluster Workload Navigate Records
3706 ///
3707 /// # Arguments
3708 /// * `ExitParms` (Input/Output): Exit parameter structure
3709 /// * `CurrentRecord`: Address of current record
3710 /// * `NextOffset`: Offset of next record
3711 /// * `NextRecord` (Output): Address of next record or structure
3712 /// * `CompCode` (Output): Completion code
3713 /// * `Reason` (Output): Reason code qualifying `CompCode`
3714 ///
3715 /// # References
3716 /// * [IBM `MQXCLWLN` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q082540_.html)
3717 pub fn MQXCLWLN(
3718 ExitParms: &mut MQWXP,
3719 CurrentRecord: crate::MQPTR,
3720 NextOffset: crate::MQLONG,
3721 NextRecord: &mut crate::MQPTR,
3722 CompCode: &mut crate::MQLONG,
3723 Reason: &mut crate::MQLONG,
3724 );
3725 /// Convert Message Data
3726 ///
3727 /// # Arguments
3728 /// * `DataConvExitParms` (Input/Output): Data-conversion exit parameter block
3729 /// * `MsgDesc` (Input/Output): Message descriptor
3730 /// * `InBufferLength`: Length in bytes of `InBuffer`
3731 /// * `InBuffer`: Buffer containing the unconverted message
3732 /// * `OutBufferLength`: Length in bytes of `OutBuffer`
3733 /// * `OutBuffer` (Output): Buffer containing the converted message
3734 pub fn MQXDX(
3735 DataConvExitParms: &mut MQDXP,
3736 MsgDesc: crate::PMQMD,
3737 InBufferLength: crate::MQLONG,
3738 InBuffer: crate::PMQVOID,
3739 OutBufferLength: crate::MQLONG,
3740 OutBuffer: crate::PMQVOID,
3741 );
3742 /// Add Component Entry Point
3743 ///
3744 /// # Arguments
3745 /// * `Hconfig`: Configuration handle
3746 /// * `Function`: Function identifier
3747 /// * `EntryPoint`: Function entry point
3748 /// * `CompCode` (Output): Completion code
3749 /// * `Reason` (Output): Reason code qualifying `CompCode`
3750 ///
3751 /// # References
3752 /// * [IBM `MQZEP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110350_.html)
3753 pub fn MQZEP(
3754 Hconfig: MQHCONFIG,
3755 Function: crate::MQLONG,
3756 EntryPoint: crate::PMQFUNC,
3757 CompCode: &mut crate::MQLONG,
3758 Reason: &mut crate::MQLONG,
3759 );
3760}