libmqm_sys/pregen/x86_64-linux/
exits.rs

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