libmqm_sys/pregen/x86_64-linux/
mqi.rs

1/* Generated with MQ client version 9.4.3.0 */
2
3pub type MQBYTE = ::std::os::raw::c_uchar;
4pub type PMQBYTE = *mut MQBYTE;
5pub type MQBYTE4 = [MQBYTE; 4usize];
6pub type PMQBYTE4 = *mut MQBYTE4;
7pub type MQBYTE8 = [MQBYTE; 8usize];
8pub type PMQBYTE8 = *mut MQBYTE8;
9pub type MQBYTE16 = [MQBYTE; 16usize];
10pub type PMQBYTE16 = *mut MQBYTE16;
11pub type MQBYTE24 = [MQBYTE; 24usize];
12pub type PMQBYTE24 = *mut MQBYTE24;
13pub type MQBYTE32 = [MQBYTE; 32usize];
14pub type PMQBYTE32 = *mut MQBYTE32;
15pub type MQBYTE40 = [MQBYTE; 40usize];
16pub type PMQBYTE40 = *mut MQBYTE40;
17pub type MQBYTE48 = [MQBYTE; 48usize];
18pub type PMQBYTE48 = *mut MQBYTE48;
19pub type MQBYTE128 = [MQBYTE; 128usize];
20pub type PMQBYTE128 = *mut MQBYTE128;
21pub type MQCHAR = ::std::os::raw::c_char;
22pub type PMQCHAR = *mut MQCHAR;
23pub type MQCHAR4 = [MQCHAR; 4usize];
24pub type PMQCHAR4 = *mut MQCHAR4;
25pub type MQCHAR8 = [MQCHAR; 8usize];
26pub type PMQCHAR8 = *mut MQCHAR8;
27pub type MQCHAR12 = [MQCHAR; 12usize];
28pub type PMQCHAR12 = *mut MQCHAR12;
29pub type MQCHAR16 = [MQCHAR; 16usize];
30pub type PMQCHAR16 = *mut MQCHAR16;
31pub type MQCHAR20 = [MQCHAR; 20usize];
32pub type PMQCHAR20 = *mut MQCHAR20;
33pub type MQCHAR28 = [MQCHAR; 28usize];
34pub type PMQCHAR28 = *mut MQCHAR28;
35pub type MQCHAR32 = [MQCHAR; 32usize];
36pub type PMQCHAR32 = *mut MQCHAR32;
37pub type MQCHAR48 = [MQCHAR; 48usize];
38pub type PMQCHAR48 = *mut MQCHAR48;
39pub type MQCHAR64 = [MQCHAR; 64usize];
40pub type PMQCHAR64 = *mut MQCHAR64;
41pub type MQCHAR128 = [MQCHAR; 128usize];
42pub type PMQCHAR128 = *mut MQCHAR128;
43pub type MQCHAR256 = [MQCHAR; 256usize];
44pub type PMQCHAR256 = *mut MQCHAR256;
45pub type MQCHAR264 = [MQCHAR; 264usize];
46pub type PMQCHAR264 = *mut MQCHAR264;
47pub type MQCHAR1024 = [MQCHAR; 1024usize];
48pub type PMQCHAR1024 = *mut MQCHAR1024;
49pub type MQLONG = ::std::os::raw::c_int;
50pub type MQULONG = ::std::os::raw::c_uint;
51pub type MQINT64 = ::std::os::raw::c_long;
52pub type MQUINT64 = ::std::os::raw::c_ulong;
53pub type PMQLONG = *mut MQLONG;
54pub type MQINT8 = ::std::os::raw::c_schar;
55pub type PMQINT8 = *mut MQINT8;
56pub type MQUINT8 = ::std::os::raw::c_uchar;
57pub type PMQUINT8 = *mut MQUINT8;
58pub type MQINT16 = ::std::os::raw::c_short;
59pub type PMQINT16 = *mut MQINT16;
60pub type MQUINT16 = ::std::os::raw::c_ushort;
61pub type PMQUINT16 = *mut MQUINT16;
62pub type MQINT32 = MQLONG;
63pub type PMQINT32 = PMQLONG;
64pub type PMQINT64 = *mut MQINT64;
65pub type PMQULONG = *mut MQULONG;
66pub type MQUINT32 = MQULONG;
67pub type PMQUINT32 = PMQULONG;
68pub type PMQUINT64 = *mut MQUINT64;
69pub type MQFLOAT32 = f32;
70pub type PMQFLOAT32 = *mut MQFLOAT32;
71pub type MQFLOAT64 = f64;
72pub type PMQFLOAT64 = *mut MQFLOAT64;
73pub type MQHCONN = MQLONG;
74pub type PMQHCONN = *mut MQHCONN;
75pub type MQHOBJ = MQLONG;
76pub type PMQHOBJ = *mut MQHOBJ;
77pub type MQPTR = *mut ::std::os::raw::c_void;
78pub type PMQPTR = *mut MQPTR;
79pub type PMQFUNC = *mut ::std::os::raw::c_void;
80pub type PMQVOID = *mut ::std::os::raw::c_void;
81pub type MQBOOL = MQLONG;
82pub type PMQBOOL = *mut MQBOOL;
83pub type MQHMSG = MQINT64;
84pub type PMQHMSG = *mut MQHMSG;
85pub type MQPID = MQLONG;
86pub type PMQPID = *mut MQPID;
87pub type MQTID = MQLONG;
88pub type PMQTID = *mut MQTID;
89pub type PMQAIR = *mut MQAIR;
90pub type PMQBNO = *mut MQBNO;
91pub type PMQBMHO = *mut MQBMHO;
92pub type PMQBO = *mut MQBO;
93pub type PMQCBC = *mut MQCBC;
94pub type PMQCBD = *mut MQCBD;
95pub type PMQCHARV = *mut MQCHARV;
96pub type PMQCIH = *mut MQCIH;
97pub type PMQCMHO = *mut MQCMHO;
98pub type PMQCTLO = *mut MQCTLO;
99pub type PMQSCO = *mut MQSCO;
100pub type PMQCSP = *mut MQCSP;
101pub type PMQCNO = *mut MQCNO;
102pub type PMQDH = *mut MQDH;
103pub type PMQDLH = *mut MQDLH;
104pub type PMQDMHO = *mut MQDMHO;
105pub type PMQDMPO = *mut MQDMPO;
106pub type PMQGMO = *mut MQGMO;
107pub type PMQIIH = *mut MQIIH;
108pub type PMQIMPO = *mut MQIMPO;
109pub type PMQMD = *mut MQMD;
110pub type PMQMDE = *mut MQMDE;
111pub type PMQMD1 = *mut MQMD1;
112pub type PMQMD2 = *mut MQMD2;
113pub type PMQMHBO = *mut MQMHBO;
114pub type PMQOD = *mut MQOD;
115pub type PMQOR = *mut MQOR;
116pub type PMQPD = *mut MQPD;
117pub type PMQPMO = *mut MQPMO;
118pub type PMQRFH = *mut MQRFH;
119pub type PMQRFH2 = *mut MQRFH2;
120pub type PMQRMH = *mut MQRMH;
121pub type PMQRR = *mut MQRR;
122pub type PMQSD = *mut MQSD;
123pub type PMQSMPO = *mut MQSMPO;
124pub type PMQSRO = *mut MQSRO;
125pub type PMQSTS = *mut MQSTS;
126pub type PMQTM = *mut MQTM;
127pub type PMQTMC2 = *mut MQTMC2;
128pub type PMQWIH = *mut MQWIH;
129pub type PMQXQH = *mut MQXQH;
130/// Message Consumer routine (Called by MQ)
131///
132/// # Arguments
133/// * `Hconn`: Connection handle
134/// * `MsgDesc`: Message descriptor
135/// * `GetMsgOpts`: Area containing the [`MQGMO`]
136/// * `Buffer`: Area containing the message data
137/// * `Context`: Area containing the Consumer context
138pub type MQCB_FUNCTION = ::std::option::Option<
139    unsafe extern "C" fn(
140        Hconn: MQHCONN,
141        MsgDesc: PMQVOID,
142        GetMsgOpts: &mut MQGMO,
143        Buffer: PMQVOID,
144        Context: PMQCBC,
145    ),
146>;
147pub type PMQCB_FUNCTION = MQCB_FUNCTION;
148/// Authentication Information Record
149#[repr(C)]
150#[derive(Debug, Copy, Clone)]
151pub struct MQAIR {
152    /// Structure identifier
153    pub StrucId: MQCHAR4,
154    /// Structure version number
155    pub Version: MQLONG,
156    /// Type of authentication information
157    pub AuthInfoType: MQLONG,
158    /// Connection name of CRL LDAP server
159    pub AuthInfoConnName: [MQCHAR; 264usize],
160    /// Address of LDAP user name
161    pub LDAPUserNamePtr: PMQCHAR,
162    /// Offset of LDAP user name from start of [`MQAIR`] structure
163    pub LDAPUserNameOffset: MQLONG,
164    /// Length of LDAP user name
165    pub LDAPUserNameLength: MQLONG,
166    /// Password to access LDAP server
167    pub LDAPPassword: MQCHAR32,
168    /// URL of the OCSP responder
169    pub OCSPResponderURL: MQCHAR256,
170}
171/// MQ Balancing Options
172#[repr(C)]
173#[derive(Debug, Copy, Clone)]
174pub struct MQBNO {
175    /// Structure identifier
176    pub StrucId: MQCHAR4,
177    /// Structure version number
178    pub Version: MQLONG,
179    /// Application Balancing Type
180    pub ApplType: MQLONG,
181    /// Timeout value in seconds
182    pub Timeout: MQLONG,
183    /// Additional Balancing Options
184    pub Options: MQLONG,
185}
186/// Buffer To Message Handle Options
187#[repr(C)]
188#[derive(Debug, Copy, Clone)]
189pub struct MQBMHO {
190    /// Structure identifier
191    pub StrucId: MQCHAR4,
192    /// Structure version number
193    pub Version: MQLONG,
194    /// Options that control the action of [`MQBUFMH`]
195    pub Options: MQLONG,
196}
197/// Begin Options
198#[repr(C)]
199#[derive(Debug, Copy, Clone)]
200pub struct MQBO {
201    /// Structure identifier
202    pub StrucId: MQCHAR4,
203    /// Structure version number
204    pub Version: MQLONG,
205    /// Options that control the action of [`MQBEGIN`]
206    pub Options: MQLONG,
207}
208/// Callback Context
209#[repr(C)]
210#[derive(Debug, Copy, Clone)]
211pub struct MQCBC {
212    /// Structure identifier
213    pub StrucId: MQCHAR4,
214    /// Structure version number
215    pub Version: MQLONG,
216    /// Why Function was called
217    pub CallType: MQLONG,
218    /// Object Handle
219    pub Hobj: MQHOBJ,
220    /// Callback data passed to the function
221    pub CallbackArea: MQPTR,
222    /// [`MQCTL`] Data area passed to the function
223    pub ConnectionArea: MQPTR,
224    /// Completion Code
225    pub CompCode: MQLONG,
226    /// Reason Code
227    pub Reason: MQLONG,
228    /// Consumer State
229    pub State: MQLONG,
230    /// Message Data Length
231    pub DataLength: MQLONG,
232    /// Buffer Length
233    pub BufferLength: MQLONG,
234    /// Flags containing information about this consumer
235    pub Flags: MQLONG,
236    /// Number of milliseconds before reconnect attempt
237    pub ReconnectDelay: MQLONG,
238}
239/// Callback Data Descriptor
240#[repr(C)]
241#[derive(Debug, Copy, Clone)]
242pub struct MQCBD {
243    /// Structure identifier
244    pub StrucId: MQCHAR4,
245    /// Structure version number
246    pub Version: MQLONG,
247    /// Callback function type
248    pub CallbackType: MQLONG,
249    /// Options controlling message consumption
250    pub Options: MQLONG,
251    /// User data passed to the function
252    pub CallbackArea: MQPTR,
253    /// Callback function pointer
254    pub CallbackFunction: MQPTR,
255    /// Callback name
256    pub CallbackName: MQCHAR128,
257    /// Maximum message length
258    pub MaxMsgLength: MQLONG,
259}
260/// Variable-length string
261#[repr(C)]
262#[derive(Debug, Copy, Clone)]
263pub struct MQCHARV {
264    /// Address of variable length string
265    pub VSPtr: MQPTR,
266    /// Offset of variable length string
267    pub VSOffset: MQLONG,
268    /// Size of buffer
269    pub VSBufSize: MQLONG,
270    /// Length of variable length string
271    pub VSLength: MQLONG,
272    /// CCSID of variable length string
273    pub VSCCSID: MQLONG,
274}
275/// CICS Information Header
276#[repr(C)]
277#[derive(Debug, Copy, Clone)]
278pub struct MQCIH {
279    /// Structure identifier
280    pub StrucId: MQCHAR4,
281    /// Structure version number
282    pub Version: MQLONG,
283    /// Length of [`MQCIH`] structure
284    pub StrucLength: MQLONG,
285    /// Reserved
286    pub Encoding: MQLONG,
287    /// Reserved
288    pub CodedCharSetId: MQLONG,
289    /// MQ format name of data that follows [`MQCIH`]
290    pub Format: MQCHAR8,
291    /// Flags
292    pub Flags: MQLONG,
293    /// Return code from bridge
294    pub ReturnCode: MQLONG,
295    /// MQ completion code or CICS EIBRESP
296    pub CompCode: MQLONG,
297    /// MQ reason or feedback code, or CICS EIBRESP2
298    pub Reason: MQLONG,
299    /// Unit-of-work control
300    pub UOWControl: MQLONG,
301    /// Wait interval for [`MQGET`] call issued by bridge task
302    pub GetWaitInterval: MQLONG,
303    /// Link type
304    pub LinkType: MQLONG,
305    /// Output COMMAREA data length
306    pub OutputDataLength: MQLONG,
307    /// Bridge facility release time
308    pub FacilityKeepTime: MQLONG,
309    /// Send/receive ADS descriptor
310    pub ADSDescriptor: MQLONG,
311    /// Whether task can be conversational
312    pub ConversationalTask: MQLONG,
313    /// Status at end of task
314    pub TaskEndStatus: MQLONG,
315    /// Bridge facility token
316    pub Facility: MQBYTE8,
317    /// MQ call name or CICS EIBFN function
318    pub Function: MQCHAR4,
319    /// Abend code
320    pub AbendCode: MQCHAR4,
321    /// Password or passticket
322    pub Authenticator: MQCHAR8,
323    /// Reserved
324    pub Reserved1: MQCHAR8,
325    /// MQ format name of reply message
326    pub ReplyToFormat: MQCHAR8,
327    /// Remote CICS system id to use
328    pub RemoteSysId: MQCHAR4,
329    /// CICS RTRANSID to use
330    pub RemoteTransId: MQCHAR4,
331    /// Transaction to attach
332    pub TransactionId: MQCHAR4,
333    /// Terminal emulated attributes
334    pub FacilityLike: MQCHAR4,
335    /// AID key
336    pub AttentionId: MQCHAR4,
337    /// Transaction start code
338    pub StartCode: MQCHAR4,
339    /// Abend transaction code
340    pub CancelCode: MQCHAR4,
341    /// Next transaction to attach
342    pub NextTransactionId: MQCHAR4,
343    /// Reserved
344    pub Reserved2: MQCHAR8,
345    /// Reserved
346    pub Reserved3: MQCHAR8,
347    /// Cursor position
348    pub CursorPosition: MQLONG,
349    /// Offset of error in message
350    pub ErrorOffset: MQLONG,
351    /// Reserved
352    pub InputItem: MQLONG,
353    /// Reserved
354    pub Reserved4: MQLONG,
355}
356/// Create Message Handle Options
357#[repr(C)]
358#[derive(Debug, Copy, Clone)]
359pub struct MQCMHO {
360    /// Structure identifier
361    pub StrucId: MQCHAR4,
362    /// Structure version number
363    pub Version: MQLONG,
364    /// Options that control the action of [`MQCRTMH`]
365    pub Options: MQLONG,
366}
367/// [`MQCTL`] function options
368#[repr(C)]
369#[derive(Debug, Copy, Clone)]
370pub struct MQCTLO {
371    /// Structure identifier
372    pub StrucId: MQCHAR4,
373    /// Structure version number
374    pub Version: MQLONG,
375    /// Options that control the action of [`MQCTL`]
376    pub Options: MQLONG,
377    /// Reserved
378    pub Reserved: MQLONG,
379    /// [`MQCTL`] Data area passed to the function
380    pub ConnectionArea: MQPTR,
381}
382/// SSL Configuration Options
383#[repr(C)]
384#[derive(Debug, Copy, Clone)]
385pub struct MQSCO {
386    /// Structure identifier
387    pub StrucId: MQCHAR4,
388    /// Structure version number
389    pub Version: MQLONG,
390    /// Location of SSL key repository
391    pub KeyRepository: MQCHAR256,
392    /// Cryptographic hardware configuration string
393    pub CryptoHardware: MQCHAR256,
394    /// Number of [`MQAIR`] records present
395    pub AuthInfoRecCount: MQLONG,
396    /// Offset of first [`MQAIR`] record from start of [`MQSCO`] structure
397    pub AuthInfoRecOffset: MQLONG,
398    /// Address of first [`MQAIR`] record
399    pub AuthInfoRecPtr: PMQAIR,
400    /// Number of unencrypted bytes sent/received before secret key is reset
401    pub KeyResetCount: MQLONG,
402    /// Using FIPS-certified algorithms
403    pub FipsRequired: MQLONG,
404    /// Use only Suite B cryptographic algorithms
405    pub EncryptionPolicySuiteB: [MQLONG; 4usize],
406    /// Certificate validation policy
407    pub CertificateValPolicy: MQLONG,
408    /// SSL/TLS certificate label
409    pub CertificateLabel: MQCHAR64,
410    /// Address of key repository password
411    pub KeyRepoPasswordPtr: MQPTR,
412    /// Offset of key repository password
413    pub KeyRepoPasswordOffset: MQLONG,
414    /// Length of key repository password
415    pub KeyRepoPasswordLength: MQLONG,
416    /// HTTPS certificate validation level
417    pub HTTPSCertValidation: MQLONG,
418    /// HTTPS certificate revocation level
419    pub HTTPSCertRevocation: MQLONG,
420    /// Address of HTTPS Keystore
421    pub HTTPSKeyStorePtr: MQPTR,
422    /// Offset of HTTPS Keystore
423    pub HTTPSKeyStoreOffset: MQLONG,
424    /// Length of HTTPS keystore
425    pub HTTPSKeyStoreLength: MQLONG,
426}
427/// Security Parameters
428#[repr(C)]
429#[derive(Debug, Copy, Clone)]
430pub struct MQCSP {
431    /// Structure identifier
432    pub StrucId: MQCHAR4,
433    /// Structure version number
434    pub Version: MQLONG,
435    /// Type of authentication
436    pub AuthenticationType: MQLONG,
437    /// Reserved
438    pub Reserved1: MQBYTE4,
439    /// Address of user ID
440    pub CSPUserIdPtr: MQPTR,
441    /// Offset of user ID
442    pub CSPUserIdOffset: MQLONG,
443    /// Length of user ID
444    pub CSPUserIdLength: MQLONG,
445    /// Reserved
446    pub Reserved2: MQBYTE8,
447    /// Address of password
448    pub CSPPasswordPtr: MQPTR,
449    /// Offset of password
450    pub CSPPasswordOffset: MQLONG,
451    /// Length of password
452    pub CSPPasswordLength: MQLONG,
453    /// Reserved
454    pub Reserved3: MQBYTE8,
455    /// Address of initial key
456    pub InitialKeyPtr: MQPTR,
457    /// Offset of initial key
458    pub InitialKeyOffset: MQLONG,
459    /// Length of initial key
460    pub InitialKeyLength: MQLONG,
461    /// Reserved
462    pub Reserved4: MQBYTE8,
463    /// Address of Token
464    pub TokenPtr: MQPTR,
465    /// Offset of Token
466    pub TokenOffset: MQLONG,
467    /// Length of Token
468    pub TokenLength: MQLONG,
469}
470/// Connect Options
471#[repr(C)]
472#[derive(Debug, Copy, Clone)]
473pub struct MQCNO {
474    /// Structure identifier
475    pub StrucId: MQCHAR4,
476    /// Structure version number
477    pub Version: MQLONG,
478    /// Options that control the action of [`MQCONNX`]
479    pub Options: MQLONG,
480    /// Offset of [`MQCD`] structure for client connection
481    pub ClientConnOffset: MQLONG,
482    /// Address of [`MQCD`] structure for client connection
483    pub ClientConnPtr: MQPTR,
484    /// Queue-manager connection tag
485    pub ConnTag: MQBYTE128,
486    /// Address of [`MQSCO`] structure for client connection
487    pub SSLConfigPtr: PMQSCO,
488    /// Offset of [`MQSCO`] structure for client connection
489    pub SSLConfigOffset: MQLONG,
490    /// Unique Connection Identifier
491    pub ConnectionId: MQBYTE24,
492    /// Offset of [`MQCSP`] structure
493    pub SecurityParmsOffset: MQLONG,
494    /// Address of [`MQCSP`] structure
495    pub SecurityParmsPtr: PMQCSP,
496    /// Address of CCDT URL string
497    pub CCDTUrlPtr: PMQCHAR,
498    /// Offset of CCDT URL string
499    pub CCDTUrlOffset: MQLONG,
500    /// Length of CCDT URL
501    pub CCDTUrlLength: MQLONG,
502    /// Reserved
503    pub Reserved: MQBYTE8,
504    /// Application name
505    pub ApplName: MQCHAR28,
506    /// Reserved
507    pub Reserved2: MQBYTE4,
508    /// Balance Parameter Pointer
509    pub BalanceParmsPtr: PMQBNO,
510    /// Balance Parameter Offset
511    pub BalanceParmsOffset: MQLONG,
512    /// Reserved
513    pub Reserved3: MQBYTE4,
514}
515/// Distribution Header
516#[repr(C)]
517#[derive(Debug, Copy, Clone)]
518pub struct MQDH {
519    /// Structure identifier
520    pub StrucId: MQCHAR4,
521    /// Structure version number
522    pub Version: MQLONG,
523    /// Length of [`MQDH`] structure plus following [`MQOR`] and `MQPMR` records
524    pub StrucLength: MQLONG,
525    /// Numeric encoding of data that follows the [`MQOR`] and `MQPMR` records
526    pub Encoding: MQLONG,
527    /// Character set identifier of data that follows the [`MQOR`] and `MQPMR` records
528    pub CodedCharSetId: MQLONG,
529    /// Format name of data that follows the [`MQOR`] and `MQPMR` records
530    pub Format: MQCHAR8,
531    /// General flags
532    pub Flags: MQLONG,
533    /// Flags indicating which `MQPMR` fields are present
534    pub PutMsgRecFields: MQLONG,
535    /// Number of [`MQOR`] records present
536    pub RecsPresent: MQLONG,
537    /// Offset of first [`MQOR`] record from start of [`MQDH`]
538    pub ObjectRecOffset: MQLONG,
539    /// Offset of first `MQPMR` record from start of [`MQDH`]
540    pub PutMsgRecOffset: MQLONG,
541}
542/// Dead Letter Header
543#[repr(C)]
544#[derive(Debug, Copy, Clone)]
545pub struct MQDLH {
546    /// Structure identifier
547    pub StrucId: MQCHAR4,
548    /// Structure version number
549    pub Version: MQLONG,
550    /// Reason message arrived on dead-letter (undelivered-message) queue
551    pub Reason: MQLONG,
552    /// Name of original destination queue
553    pub DestQName: MQCHAR48,
554    /// Name of original destination queue manager
555    pub DestQMgrName: MQCHAR48,
556    /// Numeric encoding of data that follows [`MQDLH`]
557    pub Encoding: MQLONG,
558    /// Character set identifier of data that follows [`MQDLH`]
559    pub CodedCharSetId: MQLONG,
560    /// Format name of data that follows [`MQDLH`]
561    pub Format: MQCHAR8,
562    /// Type of application that put message on dead-letter (undelivered-message) queue
563    pub PutApplType: MQLONG,
564    /// Name of application that put message on dead-letter (undelivered-message) queue
565    pub PutApplName: MQCHAR28,
566    /// Date when message was put on dead-letter (undelivered-message) queue
567    pub PutDate: MQCHAR8,
568    /// Time when message was put on dead-letter (undelivered-message) queue
569    pub PutTime: MQCHAR8,
570}
571/// Delete Message Handle Options
572#[repr(C)]
573#[derive(Debug, Copy, Clone)]
574pub struct MQDMHO {
575    /// Structure identifier
576    pub StrucId: MQCHAR4,
577    /// Structure version number
578    pub Version: MQLONG,
579    /// Options that control the action of [`MQDLTMH`]
580    pub Options: MQLONG,
581}
582/// Delete Message Property Options
583#[repr(C)]
584#[derive(Debug, Copy, Clone)]
585pub struct MQDMPO {
586    /// Structure identifier
587    pub StrucId: MQCHAR4,
588    /// Structure version number
589    pub Version: MQLONG,
590    /// Options that control the action of [`MQDLTMP`]
591    pub Options: MQLONG,
592}
593/// Get Message Options
594#[repr(C)]
595#[derive(Debug, Copy, Clone)]
596pub struct MQGMO {
597    /// Structure identifier
598    pub StrucId: MQCHAR4,
599    /// Structure version number
600    pub Version: MQLONG,
601    /// Options that control the action of [`MQGET`]
602    pub Options: MQLONG,
603    /// Wait interval
604    pub WaitInterval: MQLONG,
605    /// Signal
606    pub Signal1: MQLONG,
607    /// Signal identifier
608    pub Signal2: MQLONG,
609    /// Resolved name of destination queue
610    pub ResolvedQName: MQCHAR48,
611    /// Options controlling selection criteria used for [`MQGET`]
612    pub MatchOptions: MQLONG,
613    /// Flag indicating whether message retrieved is in a group
614    pub GroupStatus: MQCHAR,
615    /// Flag indicating whether message retrieved is a segment of a logical message
616    pub SegmentStatus: MQCHAR,
617    /// Flag indicating whether further segmentation is allowed for the message retrieved
618    pub Segmentation: MQCHAR,
619    /// Reserved
620    pub Reserved1: MQCHAR,
621    /// Message token
622    pub MsgToken: MQBYTE16,
623    /// Length of message data returned (bytes)
624    pub ReturnedLength: MQLONG,
625    /// Reserved
626    pub Reserved2: MQLONG,
627    /// Message handle
628    pub MsgHandle: MQHMSG,
629}
630/// IMS Information Header
631#[repr(C)]
632#[derive(Debug, Copy, Clone)]
633pub struct MQIIH {
634    /// Structure identifier
635    pub StrucId: MQCHAR4,
636    /// Structure version number
637    pub Version: MQLONG,
638    /// Length of [`MQIIH`] structure
639    pub StrucLength: MQLONG,
640    /// Reserved
641    pub Encoding: MQLONG,
642    /// Reserved
643    pub CodedCharSetId: MQLONG,
644    /// MQ format name of data that follows [`MQIIH`]
645    pub Format: MQCHAR8,
646    /// Flags
647    pub Flags: MQLONG,
648    /// Logical terminal override
649    pub LTermOverride: MQCHAR8,
650    /// Message format services map name
651    pub MFSMapName: MQCHAR8,
652    /// MQ format name of reply message
653    pub ReplyToFormat: MQCHAR8,
654    /// RACF password or passticket
655    pub Authenticator: MQCHAR8,
656    /// Transaction instance identifier
657    pub TranInstanceId: MQBYTE16,
658    /// Transaction state
659    pub TranState: MQCHAR,
660    /// Commit mode
661    pub CommitMode: MQCHAR,
662    /// Security scope
663    pub SecurityScope: MQCHAR,
664    /// Reserved
665    pub Reserved: MQCHAR,
666}
667/// Inquire Message Property Options
668#[repr(C)]
669#[derive(Debug, Copy, Clone)]
670pub struct MQIMPO {
671    /// Structure identifier
672    pub StrucId: MQCHAR4,
673    /// Structure version number
674    pub Version: MQLONG,
675    /// Options that control the action of [`MQINQMP`]
676    pub Options: MQLONG,
677    /// Requested encoding of Value
678    pub RequestedEncoding: MQLONG,
679    /// Requested character set identifier of Value
680    pub RequestedCCSID: MQLONG,
681    /// Returned encoding of Value
682    pub ReturnedEncoding: MQLONG,
683    /// Returned character set identifier of Value
684    pub ReturnedCCSID: MQLONG,
685    /// Reserved
686    pub Reserved1: MQLONG,
687    /// Returned property name
688    pub ReturnedName: MQCHARV,
689    /// Property data type as a string
690    pub TypeString: MQCHAR8,
691}
692/// Message Descriptor
693#[repr(C)]
694#[derive(Debug, Copy, Clone)]
695pub struct MQMD {
696    /// Structure identifier
697    pub StrucId: MQCHAR4,
698    /// Structure version number
699    pub Version: MQLONG,
700    /// Options for report messages
701    pub Report: MQLONG,
702    /// Message type
703    pub MsgType: MQLONG,
704    /// Message lifetime
705    pub Expiry: MQLONG,
706    /// Feedback or reason code
707    pub Feedback: MQLONG,
708    /// Numeric encoding of message data
709    pub Encoding: MQLONG,
710    /// Character set identifier of message data
711    pub CodedCharSetId: MQLONG,
712    /// Format name of message data
713    pub Format: MQCHAR8,
714    /// Message priority
715    pub Priority: MQLONG,
716    /// Message persistence
717    pub Persistence: MQLONG,
718    /// Message identifier
719    pub MsgId: MQBYTE24,
720    /// Correlation identifier
721    pub CorrelId: MQBYTE24,
722    /// Backout counter
723    pub BackoutCount: MQLONG,
724    /// Name of reply queue
725    pub ReplyToQ: MQCHAR48,
726    /// Name of reply queue manager
727    pub ReplyToQMgr: MQCHAR48,
728    /// User identifier
729    pub UserIdentifier: MQCHAR12,
730    /// Accounting token
731    pub AccountingToken: MQBYTE32,
732    /// Application data relating to identity
733    pub ApplIdentityData: MQCHAR32,
734    /// Type of application that put the message
735    pub PutApplType: MQLONG,
736    /// Name of application that put the message
737    pub PutApplName: MQCHAR28,
738    /// Date when message was put
739    pub PutDate: MQCHAR8,
740    /// Time when message was put
741    pub PutTime: MQCHAR8,
742    /// Application data relating to origin
743    pub ApplOriginData: MQCHAR4,
744    /// Group identifier
745    pub GroupId: MQBYTE24,
746    /// Sequence number of logical message within group
747    pub MsgSeqNumber: MQLONG,
748    /// Offset of data in physical message from start of logical message
749    pub Offset: MQLONG,
750    /// Message flags
751    pub MsgFlags: MQLONG,
752    /// Length of original message
753    pub OriginalLength: MQLONG,
754}
755/// Message Descriptor Extension
756#[repr(C)]
757#[derive(Debug, Copy, Clone)]
758pub struct MQMDE {
759    /// Structure identifier
760    pub StrucId: MQCHAR4,
761    /// Structure version number
762    pub Version: MQLONG,
763    /// Length of [`MQMDE`] structure
764    pub StrucLength: MQLONG,
765    /// Numeric encoding of data that follows [`MQMDE`]
766    pub Encoding: MQLONG,
767    /// Character-set identifier of data that follows [`MQMDE`]
768    pub CodedCharSetId: MQLONG,
769    /// Format name of data that follows [`MQMDE`]
770    pub Format: MQCHAR8,
771    /// General flags
772    pub Flags: MQLONG,
773    /// Group identifier
774    pub GroupId: MQBYTE24,
775    /// Sequence number of logical message within group
776    pub MsgSeqNumber: MQLONG,
777    /// Offset of data in physical message from start of logical message
778    pub Offset: MQLONG,
779    /// Message flags
780    pub MsgFlags: MQLONG,
781    /// Length of original message
782    pub OriginalLength: MQLONG,
783}
784/// Version-1 Message Descriptor
785#[repr(C)]
786#[derive(Debug, Copy, Clone)]
787pub struct MQMD1 {
788    /// Structure identifier
789    pub StrucId: MQCHAR4,
790    /// Structure version number
791    pub Version: MQLONG,
792    /// Options for report messages
793    pub Report: MQLONG,
794    /// Message type
795    pub MsgType: MQLONG,
796    /// Message lifetime
797    pub Expiry: MQLONG,
798    /// Feedback or reason code
799    pub Feedback: MQLONG,
800    /// Numeric encoding of message data
801    pub Encoding: MQLONG,
802    /// Character set identifier of message data
803    pub CodedCharSetId: MQLONG,
804    /// Format name of message data
805    pub Format: MQCHAR8,
806    /// Message priority
807    pub Priority: MQLONG,
808    /// Message persistence
809    pub Persistence: MQLONG,
810    /// Message identifier
811    pub MsgId: MQBYTE24,
812    /// Correlation identifier
813    pub CorrelId: MQBYTE24,
814    /// Backout counter
815    pub BackoutCount: MQLONG,
816    /// Name of reply queue
817    pub ReplyToQ: MQCHAR48,
818    /// Name of reply queue manager
819    pub ReplyToQMgr: MQCHAR48,
820    /// User identifier
821    pub UserIdentifier: MQCHAR12,
822    /// Accounting token
823    pub AccountingToken: MQBYTE32,
824    /// Application data relating to identity
825    pub ApplIdentityData: MQCHAR32,
826    /// Type of application that put the message
827    pub PutApplType: MQLONG,
828    /// Name of application that put the message
829    pub PutApplName: MQCHAR28,
830    /// Date when message was put
831    pub PutDate: MQCHAR8,
832    /// Time when message was put
833    pub PutTime: MQCHAR8,
834    /// Application data relating to origin
835    pub ApplOriginData: MQCHAR4,
836}
837/// Version-2 Message Descriptor
838#[repr(C)]
839#[derive(Debug, Copy, Clone)]
840pub struct MQMD2 {
841    /// Structure identifier
842    pub StrucId: MQCHAR4,
843    /// Structure version number
844    pub Version: MQLONG,
845    /// Options for report messages
846    pub Report: MQLONG,
847    /// Message type
848    pub MsgType: MQLONG,
849    /// Message lifetime
850    pub Expiry: MQLONG,
851    /// Feedback or reason code
852    pub Feedback: MQLONG,
853    /// Numeric encoding of message data
854    pub Encoding: MQLONG,
855    /// Character set identifier of message data
856    pub CodedCharSetId: MQLONG,
857    /// Format name of message data
858    pub Format: MQCHAR8,
859    /// Message priority
860    pub Priority: MQLONG,
861    /// Message persistence
862    pub Persistence: MQLONG,
863    /// Message identifier
864    pub MsgId: MQBYTE24,
865    /// Correlation identifier
866    pub CorrelId: MQBYTE24,
867    /// Backout counter
868    pub BackoutCount: MQLONG,
869    /// Name of reply queue
870    pub ReplyToQ: MQCHAR48,
871    /// Name of reply queue manager
872    pub ReplyToQMgr: MQCHAR48,
873    /// User identifier
874    pub UserIdentifier: MQCHAR12,
875    /// Accounting token
876    pub AccountingToken: MQBYTE32,
877    /// Application data relating to identity
878    pub ApplIdentityData: MQCHAR32,
879    /// Type of application that put the message
880    pub PutApplType: MQLONG,
881    /// Name of application that put the message
882    pub PutApplName: MQCHAR28,
883    /// Date when message was put
884    pub PutDate: MQCHAR8,
885    /// Time when message was put
886    pub PutTime: MQCHAR8,
887    /// Application data relating to origin
888    pub ApplOriginData: MQCHAR4,
889    /// Group identifier
890    pub GroupId: MQBYTE24,
891    /// Sequence number of logical message within group
892    pub MsgSeqNumber: MQLONG,
893    /// Offset of data in physical message from start of logical message
894    pub Offset: MQLONG,
895    /// Message flags
896    pub MsgFlags: MQLONG,
897    /// Length of original message
898    pub OriginalLength: MQLONG,
899}
900/// Message Handle To Buffer Options
901#[repr(C)]
902#[derive(Debug, Copy, Clone)]
903pub struct MQMHBO {
904    /// Structure identifier
905    pub StrucId: MQCHAR4,
906    /// Structure version number
907    pub Version: MQLONG,
908    /// Options that control the action of [`MQMHBUF`]
909    pub Options: MQLONG,
910}
911/// Object descriptor
912#[repr(C)]
913#[derive(Debug, Copy, Clone)]
914pub struct MQOD {
915    /// Structure identifier
916    pub StrucId: MQCHAR4,
917    /// Structure version number
918    pub Version: MQLONG,
919    /// Object type
920    pub ObjectType: MQLONG,
921    /// Object name
922    pub ObjectName: MQCHAR48,
923    /// Object queue manager name
924    pub ObjectQMgrName: MQCHAR48,
925    /// Dynamic queue name
926    pub DynamicQName: MQCHAR48,
927    /// Alternate user identifier
928    pub AlternateUserId: MQCHAR12,
929    /// Number of object records present
930    pub RecsPresent: MQLONG,
931    /// Number of local queues opened successfully
932    pub KnownDestCount: MQLONG,
933    /// Number of remote queues opened
934    pub UnknownDestCount: MQLONG,
935    /// Number of queues that failed to open
936    pub InvalidDestCount: MQLONG,
937    /// Offset of first object record from start of [`MQOD`]
938    pub ObjectRecOffset: MQLONG,
939    /// Offset of first response record from start of [`MQOD`]
940    pub ResponseRecOffset: MQLONG,
941    /// Address of first object record
942    pub ObjectRecPtr: MQPTR,
943    /// Address of first response record
944    pub ResponseRecPtr: MQPTR,
945    /// Alternate security identifier
946    pub AlternateSecurityId: MQBYTE40,
947    /// Resolved queue name
948    pub ResolvedQName: MQCHAR48,
949    /// Resolved queue manager name
950    pub ResolvedQMgrName: MQCHAR48,
951    /// Object long name
952    pub ObjectString: MQCHARV,
953    /// Message Selector
954    pub SelectionString: MQCHARV,
955    /// Resolved long object name
956    pub ResObjectString: MQCHARV,
957    /// Alias queue resolved object type
958    pub ResolvedType: MQLONG,
959}
960/// Object Record
961#[repr(C)]
962#[derive(Debug, Copy, Clone)]
963pub struct MQOR {
964    /// Object name
965    pub ObjectName: MQCHAR48,
966    /// Object queue manager name
967    pub ObjectQMgrName: MQCHAR48,
968}
969/// Property descriptor
970#[repr(C)]
971#[derive(Debug, Copy, Clone)]
972pub struct MQPD {
973    /// Structure identifier
974    pub StrucId: MQCHAR4,
975    /// Structure version number
976    pub Version: MQLONG,
977    /// Options that control the action of [`MQSETMP`] and [`MQINQMP`]
978    pub Options: MQLONG,
979    /// Property support option
980    pub Support: MQLONG,
981    /// Property context
982    pub Context: MQLONG,
983    /// Property copy options
984    pub CopyOptions: MQLONG,
985}
986/// Put Message Options
987#[repr(C)]
988#[derive(Debug, Copy, Clone)]
989pub struct MQPMO {
990    /// Structure identifier
991    pub StrucId: MQCHAR4,
992    /// Structure version number
993    pub Version: MQLONG,
994    /// Options that control the action of [`MQPUT`] and [`MQPUT1`]
995    pub Options: MQLONG,
996    /// Reserved
997    pub Timeout: MQLONG,
998    /// Object handle of input queue
999    pub Context: MQHOBJ,
1000    /// Number of messages sent successfully to local queues
1001    pub KnownDestCount: MQLONG,
1002    /// Number of messages sent successfully to remote queues
1003    pub UnknownDestCount: MQLONG,
1004    /// Number of messages that could not be sent
1005    pub InvalidDestCount: MQLONG,
1006    /// Resolved name of destination queue
1007    pub ResolvedQName: MQCHAR48,
1008    /// Resolved name of destination queue manager
1009    pub ResolvedQMgrName: MQCHAR48,
1010    /// Number of put message records or response records present
1011    pub RecsPresent: MQLONG,
1012    /// Flags indicating which `MQPMR` fields are present
1013    pub PutMsgRecFields: MQLONG,
1014    /// Offset of first put message record from start of [`MQPMO`]
1015    pub PutMsgRecOffset: MQLONG,
1016    /// Offset of first response record from start of [`MQPMO`]
1017    pub ResponseRecOffset: MQLONG,
1018    /// Address of first put message record
1019    pub PutMsgRecPtr: MQPTR,
1020    /// Address of first response record
1021    pub ResponseRecPtr: MQPTR,
1022    /// Original message handle
1023    pub OriginalMsgHandle: MQHMSG,
1024    /// New message handle
1025    pub NewMsgHandle: MQHMSG,
1026    /// The action being performed
1027    pub Action: MQLONG,
1028    /// Publication level
1029    pub PubLevel: MQLONG,
1030}
1031/// Rules and Formatting Header
1032#[repr(C)]
1033#[derive(Debug, Copy, Clone)]
1034pub struct MQRFH {
1035    /// Structure identifier
1036    pub StrucId: MQCHAR4,
1037    /// Structure version number
1038    pub Version: MQLONG,
1039    /// Total length of [`MQRFH`] including NameValueString
1040    pub StrucLength: MQLONG,
1041    /// Numeric encoding of data that follows NameValueString
1042    pub Encoding: MQLONG,
1043    /// Character set identifier of data that follows NameValueString
1044    pub CodedCharSetId: MQLONG,
1045    /// Format name of data that follows NameValueString
1046    pub Format: MQCHAR8,
1047    /// Flags
1048    pub Flags: MQLONG,
1049}
1050/// Rules and Formatting Header 2
1051#[repr(C)]
1052#[derive(Debug, Copy, Clone)]
1053pub struct MQRFH2 {
1054    /// Structure identifier
1055    pub StrucId: MQCHAR4,
1056    /// Structure version number
1057    pub Version: MQLONG,
1058    /// Total length of [`MQRFH2`] including all NameValueLength and NameValueData fields
1059    pub StrucLength: MQLONG,
1060    /// Numeric encoding of data that follows last NameValueData field
1061    pub Encoding: MQLONG,
1062    /// Character set identifier of data that follows last NameValueData field
1063    pub CodedCharSetId: MQLONG,
1064    /// Format name of data that follows last NameValueData field
1065    pub Format: MQCHAR8,
1066    /// Flags
1067    pub Flags: MQLONG,
1068    /// Character set identifier of NameValueData
1069    pub NameValueCCSID: MQLONG,
1070}
1071/// Reference Message Header
1072#[repr(C)]
1073#[derive(Debug, Copy, Clone)]
1074pub struct MQRMH {
1075    /// Structure identifier
1076    pub StrucId: MQCHAR4,
1077    /// Structure version number
1078    pub Version: MQLONG,
1079    /// Total length of [`MQRMH`], including strings at end of fixed fields, but not the bulk data
1080    pub StrucLength: MQLONG,
1081    /// Numeric encoding of bulk data
1082    pub Encoding: MQLONG,
1083    /// Character set identifier of bulk data
1084    pub CodedCharSetId: MQLONG,
1085    /// Format name of bulk data
1086    pub Format: MQCHAR8,
1087    /// Reference message flags
1088    pub Flags: MQLONG,
1089    /// Object type
1090    pub ObjectType: MQCHAR8,
1091    /// Object instance identifier
1092    pub ObjectInstanceId: MQBYTE24,
1093    /// Length of source environment data
1094    pub SrcEnvLength: MQLONG,
1095    /// Offset of source environment data
1096    pub SrcEnvOffset: MQLONG,
1097    /// Length of source object name
1098    pub SrcNameLength: MQLONG,
1099    /// Offset of source object name
1100    pub SrcNameOffset: MQLONG,
1101    /// Length of destination environment data
1102    pub DestEnvLength: MQLONG,
1103    /// Offset of destination environment
1104    pub DestEnvOffset: MQLONG,
1105    /// Length of destination object name
1106    pub DestNameLength: MQLONG,
1107    /// Offset of destination object name
1108    pub DestNameOffset: MQLONG,
1109    /// Length of bulk data
1110    pub DataLogicalLength: MQLONG,
1111    /// Low offset of bulk data
1112    pub DataLogicalOffset: MQLONG,
1113    /// High offset of bulk data
1114    pub DataLogicalOffset2: MQLONG,
1115}
1116/// Response Record
1117#[repr(C)]
1118#[derive(Debug, Copy, Clone)]
1119pub struct MQRR {
1120    /// Completion code for queue
1121    pub CompCode: MQLONG,
1122    /// Reason code for queue
1123    pub Reason: MQLONG,
1124}
1125/// Subscription Descriptor
1126#[repr(C)]
1127#[derive(Debug, Copy, Clone)]
1128pub struct MQSD {
1129    /// Structure identifier
1130    pub StrucId: MQCHAR4,
1131    /// Structure version number
1132    pub Version: MQLONG,
1133    /// Options associated with subscribing
1134    pub Options: MQLONG,
1135    /// Object name
1136    pub ObjectName: MQCHAR48,
1137    /// Alternate user identifier
1138    pub AlternateUserId: MQCHAR12,
1139    /// Alternate security identifier
1140    pub AlternateSecurityId: MQBYTE40,
1141    /// Expiry of Subscription
1142    pub SubExpiry: MQLONG,
1143    /// Object long name
1144    pub ObjectString: MQCHARV,
1145    /// Subscription name
1146    pub SubName: MQCHARV,
1147    /// Subscription user data
1148    pub SubUserData: MQCHARV,
1149    /// Correlation Id related to this subscription
1150    pub SubCorrelId: MQBYTE24,
1151    /// Priority set in publications
1152    pub PubPriority: MQLONG,
1153    /// Accounting Token set in publications
1154    pub PubAccountingToken: MQBYTE32,
1155    /// Appl Identity Data set in publications
1156    pub PubApplIdentityData: MQCHAR32,
1157    /// Message selector structure
1158    pub SelectionString: MQCHARV,
1159    /// Subscription level
1160    pub SubLevel: MQLONG,
1161    /// Resolved long object name
1162    pub ResObjectString: MQCHARV,
1163}
1164/// Set Message Property Options
1165#[repr(C)]
1166#[derive(Debug, Copy, Clone)]
1167pub struct MQSMPO {
1168    /// Structure identifier
1169    pub StrucId: MQCHAR4,
1170    /// Structure version number
1171    pub Version: MQLONG,
1172    /// Options that control the action of [`MQSETMP`]
1173    pub Options: MQLONG,
1174    /// Encoding of Value
1175    pub ValueEncoding: MQLONG,
1176    /// Character set identifier of Value
1177    pub ValueCCSID: MQLONG,
1178}
1179/// Subscription Request Options
1180#[repr(C)]
1181#[derive(Debug, Copy, Clone)]
1182pub struct MQSRO {
1183    /// Structure identifier
1184    pub StrucId: MQCHAR4,
1185    /// Structure version number
1186    pub Version: MQLONG,
1187    /// Options that control the action of [`MQSUBRQ`]
1188    pub Options: MQLONG,
1189    /// Number of publications sent
1190    pub NumPubs: MQLONG,
1191}
1192/// Status Information Record
1193#[repr(C)]
1194#[derive(Debug, Copy, Clone)]
1195pub struct MQSTS {
1196    /// Structure identifier
1197    pub StrucId: MQCHAR4,
1198    /// Structure version number
1199    pub Version: MQLONG,
1200    /// Completion Code of first error
1201    pub CompCode: MQLONG,
1202    /// Reason Code of first error
1203    pub Reason: MQLONG,
1204    /// Number of Async put calls succeeded
1205    pub PutSuccessCount: MQLONG,
1206    /// Number of Async put calls had warnings
1207    pub PutWarningCount: MQLONG,
1208    /// Number of Async put calls had failures
1209    pub PutFailureCount: MQLONG,
1210    /// Failing object type
1211    pub ObjectType: MQLONG,
1212    /// Failing object name
1213    pub ObjectName: MQCHAR48,
1214    /// Failing object queue manager
1215    pub ObjectQMgrName: MQCHAR48,
1216    /// Resolved name of destination queue
1217    pub ResolvedObjectName: MQCHAR48,
1218    /// Resolved name of destination qmgr
1219    pub ResolvedQMgrName: MQCHAR48,
1220    /// Failing object long name
1221    pub ObjectString: MQCHARV,
1222    /// Failing subscription name
1223    pub SubName: MQCHARV,
1224    /// Failing open options
1225    pub OpenOptions: MQLONG,
1226    /// Failing subscription options
1227    pub SubOptions: MQLONG,
1228}
1229/// Trigger Message
1230#[repr(C)]
1231#[derive(Debug, Copy, Clone)]
1232pub struct MQTM {
1233    /// Structure identifier
1234    pub StrucId: MQCHAR4,
1235    /// Structure version number
1236    pub Version: MQLONG,
1237    /// Name of triggered queue
1238    pub QName: MQCHAR48,
1239    /// Name of process object
1240    pub ProcessName: MQCHAR48,
1241    /// Trigger data
1242    pub TriggerData: MQCHAR64,
1243    /// Application type
1244    pub ApplType: MQLONG,
1245    /// Application identifier
1246    pub ApplId: MQCHAR256,
1247    /// Environment data
1248    pub EnvData: MQCHAR128,
1249    /// User data
1250    pub UserData: MQCHAR128,
1251}
1252/// Trigger Message 2 (Character)
1253#[repr(C)]
1254#[derive(Debug, Copy, Clone)]
1255pub struct MQTMC2 {
1256    /// Structure identifier
1257    pub StrucId: MQCHAR4,
1258    /// Structure version number
1259    pub Version: MQCHAR4,
1260    /// Name of triggered queue
1261    pub QName: MQCHAR48,
1262    /// Name of process object
1263    pub ProcessName: MQCHAR48,
1264    /// Trigger data
1265    pub TriggerData: MQCHAR64,
1266    /// Application type
1267    pub ApplType: MQCHAR4,
1268    /// Application identifier
1269    pub ApplId: MQCHAR256,
1270    /// Environment data
1271    pub EnvData: MQCHAR128,
1272    /// User data
1273    pub UserData: MQCHAR128,
1274    /// Queue manager name
1275    pub QMgrName: MQCHAR48,
1276}
1277/// Work Information Header
1278#[repr(C)]
1279#[derive(Debug, Copy, Clone)]
1280pub struct MQWIH {
1281    /// Structure identifier
1282    pub StrucId: MQCHAR4,
1283    /// Structure version number
1284    pub Version: MQLONG,
1285    /// Length of [`MQWIH`] structure
1286    pub StrucLength: MQLONG,
1287    /// Numeric encoding of data that follows [`MQWIH`]
1288    pub Encoding: MQLONG,
1289    /// Character-set identifier of data that follows [`MQWIH`]
1290    pub CodedCharSetId: MQLONG,
1291    /// Format name of data that follows [`MQWIH`]
1292    pub Format: MQCHAR8,
1293    /// Flags
1294    pub Flags: MQLONG,
1295    /// Service name
1296    pub ServiceName: MQCHAR32,
1297    /// Service step name
1298    pub ServiceStep: MQCHAR8,
1299    /// Message token
1300    pub MsgToken: MQBYTE16,
1301    /// Reserved
1302    pub Reserved: MQCHAR32,
1303}
1304/// Transmission Queue Header
1305#[repr(C)]
1306#[derive(Debug, Copy, Clone)]
1307pub struct MQXQH {
1308    /// Structure identifier
1309    pub StrucId: MQCHAR4,
1310    /// Structure version number
1311    pub Version: MQLONG,
1312    /// Name of destination queue
1313    pub RemoteQName: MQCHAR48,
1314    /// Name of destination queue manager
1315    pub RemoteQMgrName: MQCHAR48,
1316    /// Original message descriptor
1317    pub MsgDesc: MQMD1,
1318}
1319pub const MQAIR_STRUC_ID: &::std::ffi::CStr = c"AIR ";
1320pub const MQAIR_VERSION_1: MQLONG = 1;
1321pub const MQAIR_VERSION_2: MQLONG = 2;
1322pub const MQAIR_CURRENT_VERSION: MQLONG = 2;
1323pub const MQAIR_LENGTH_1: usize = 328;
1324pub const MQAIR_LENGTH_2: usize = 584;
1325pub const MQAIR_CURRENT_LENGTH: usize = 584;
1326pub const MQAIT_ALL: MQLONG = 0;
1327pub const MQAIT_CRL_LDAP: MQLONG = 1;
1328pub const MQAIT_OCSP: MQLONG = 2;
1329pub const MQAIT_IDPW_OS: MQLONG = 3;
1330pub const MQAIT_IDPW_LDAP: MQLONG = 4;
1331pub const MQBNO_STRUC_ID: &::std::ffi::CStr = c"BNO ";
1332pub const MQBNO_VERSION_1: MQLONG = 1;
1333pub const MQBNO_CURRENT_VERSION: MQLONG = 1;
1334pub const MQBNO_LENGTH_1: usize = 20;
1335pub const MQBNO_CURRENT_LENGTH: usize = 20;
1336pub const MQBNO_OPTIONS_NONE: MQLONG = 0;
1337pub const MQBNO_OPTIONS_IGNORE_TRANS: MQLONG = 1;
1338pub const MQBNO_BALTYPE_SIMPLE: MQLONG = 0;
1339pub const MQBNO_BALTYPE_REQREP: MQLONG = 1;
1340pub const MQBNO_BALTYPE_RA_MANAGED: MQLONG = 65536;
1341pub const MQBNO_TIMEOUT_AS_DEFAULT: MQLONG = -1;
1342pub const MQBNO_TIMEOUT_IMMEDIATE: MQLONG = 0;
1343pub const MQBNO_TIMEOUT_NEVER: MQLONG = -2;
1344pub const MQBMHO_STRUC_ID: &::std::ffi::CStr = c"BMHO";
1345pub const MQBMHO_VERSION_1: MQLONG = 1;
1346pub const MQBMHO_CURRENT_VERSION: MQLONG = 1;
1347pub const MQBMHO_LENGTH_1: usize = 12;
1348pub const MQBMHO_CURRENT_LENGTH: usize = 12;
1349pub const MQBMHO_NONE: MQLONG = 0;
1350pub const MQBMHO_DELETE_PROPERTIES: MQLONG = 1;
1351pub const MQBO_STRUC_ID: &::std::ffi::CStr = c"BO  ";
1352pub const MQBO_VERSION_1: MQLONG = 1;
1353pub const MQBO_CURRENT_VERSION: MQLONG = 1;
1354pub const MQBO_LENGTH_1: usize = 12;
1355pub const MQBO_CURRENT_LENGTH: usize = 12;
1356pub const MQBO_NONE: MQLONG = 0;
1357pub const MQCBC_STRUC_ID: &::std::ffi::CStr = c"CBC ";
1358pub const MQCBC_VERSION_1: MQLONG = 1;
1359pub const MQCBC_VERSION_2: MQLONG = 2;
1360pub const MQCBC_CURRENT_VERSION: MQLONG = 2;
1361pub const MQCBC_LENGTH_1: usize = 56;
1362pub const MQCBC_LENGTH_2: usize = 64;
1363pub const MQCBC_CURRENT_LENGTH: usize = 64;
1364pub const MQCBCF_NONE: MQLONG = 0;
1365pub const MQCBCF_READA_BUFFER_EMPTY: MQLONG = 1;
1366pub const MQCBCT_START_CALL: MQLONG = 1;
1367pub const MQCBCT_STOP_CALL: MQLONG = 2;
1368pub const MQCBCT_REGISTER_CALL: MQLONG = 3;
1369pub const MQCBCT_DEREGISTER_CALL: MQLONG = 4;
1370pub const MQCBCT_EVENT_CALL: MQLONG = 5;
1371pub const MQCBCT_MSG_REMOVED: MQLONG = 6;
1372pub const MQCBCT_MSG_NOT_REMOVED: MQLONG = 7;
1373pub const MQCBCT_MC_EVENT_CALL: MQLONG = 8;
1374pub const MQCS_NONE: MQLONG = 0;
1375pub const MQCS_SUSPENDED_TEMPORARY: MQLONG = 1;
1376pub const MQCS_SUSPENDED_USER_ACTION: MQLONG = 2;
1377pub const MQCS_SUSPENDED: MQLONG = 3;
1378pub const MQCS_STOPPED: MQLONG = 4;
1379pub const MQRD_NO_RECONNECT: MQLONG = -1;
1380pub const MQRD_NO_DELAY: MQLONG = 0;
1381pub const MQCBD_STRUC_ID: &::std::ffi::CStr = c"CBD ";
1382pub const MQCBD_VERSION_1: MQLONG = 1;
1383pub const MQCBD_CURRENT_VERSION: MQLONG = 1;
1384pub const MQCBD_LENGTH_1: usize = 168;
1385pub const MQCBD_CURRENT_LENGTH: usize = 168;
1386pub const MQCBDO_NONE: MQLONG = 0;
1387pub const MQCBDO_START_CALL: MQLONG = 1;
1388pub const MQCBDO_STOP_CALL: MQLONG = 4;
1389pub const MQCBDO_REGISTER_CALL: MQLONG = 256;
1390pub const MQCBDO_DEREGISTER_CALL: MQLONG = 512;
1391pub const MQCBDO_FAIL_IF_QUIESCING: MQLONG = 8192;
1392pub const MQCBDO_EVENT_CALL: MQLONG = 16384;
1393pub const MQCBDO_MC_EVENT_CALL: MQLONG = 32768;
1394pub const MQCBT_MESSAGE_CONSUMER: MQLONG = 1;
1395pub const MQCBT_EVENT_HANDLER: MQLONG = 2;
1396pub const MQCBD_FULL_MSG_LENGTH: MQLONG = -1;
1397pub const MQVS_NULL_TERMINATED: MQLONG = -1;
1398pub const MQCIH_STRUC_ID: &::std::ffi::CStr = c"CIH ";
1399pub const MQCIH_VERSION_1: MQLONG = 1;
1400pub const MQCIH_VERSION_2: MQLONG = 2;
1401pub const MQCIH_CURRENT_VERSION: MQLONG = 2;
1402pub const MQCIH_LENGTH_1: usize = 164;
1403pub const MQCIH_LENGTH_2: usize = 180;
1404pub const MQCIH_CURRENT_LENGTH: usize = 180;
1405pub const MQCIH_NONE: MQLONG = 0;
1406pub const MQCIH_PASS_EXPIRATION: MQLONG = 1;
1407pub const MQCIH_UNLIMITED_EXPIRATION: MQLONG = 0;
1408pub const MQCIH_REPLY_WITHOUT_NULLS: MQLONG = 2;
1409pub const MQCIH_REPLY_WITH_NULLS: MQLONG = 0;
1410pub const MQCIH_SYNC_ON_RETURN: MQLONG = 4;
1411pub const MQCIH_NO_SYNC_ON_RETURN: MQLONG = 0;
1412pub const MQCRC_OK: MQLONG = 0;
1413pub const MQCRC_CICS_EXEC_ERROR: MQLONG = 1;
1414pub const MQCRC_MQ_API_ERROR: MQLONG = 2;
1415pub const MQCRC_BRIDGE_ERROR: MQLONG = 3;
1416pub const MQCRC_BRIDGE_ABEND: MQLONG = 4;
1417pub const MQCRC_APPLICATION_ABEND: MQLONG = 5;
1418pub const MQCRC_SECURITY_ERROR: MQLONG = 6;
1419pub const MQCRC_PROGRAM_NOT_AVAILABLE: MQLONG = 7;
1420pub const MQCRC_BRIDGE_TIMEOUT: MQLONG = 8;
1421pub const MQCRC_TRANSID_NOT_AVAILABLE: MQLONG = 9;
1422pub const MQCUOWC_ONLY: MQLONG = 273;
1423pub const MQCUOWC_CONTINUE: MQLONG = 65536;
1424pub const MQCUOWC_FIRST: MQLONG = 17;
1425pub const MQCUOWC_MIDDLE: MQLONG = 16;
1426pub const MQCUOWC_LAST: MQLONG = 272;
1427pub const MQCUOWC_COMMIT: MQLONG = 256;
1428pub const MQCUOWC_BACKOUT: MQLONG = 4352;
1429pub const MQCGWI_DEFAULT: MQLONG = -2;
1430pub const MQCLT_PROGRAM: MQLONG = 1;
1431pub const MQCLT_TRANSACTION: MQLONG = 2;
1432pub const MQCODL_AS_INPUT: MQLONG = -1;
1433pub const MQCADSD_NONE: MQLONG = 0;
1434pub const MQCADSD_SEND: MQLONG = 1;
1435pub const MQCADSD_RECV: MQLONG = 16;
1436pub const MQCADSD_MSGFORMAT: MQLONG = 256;
1437pub const MQCCT_YES: MQLONG = 1;
1438pub const MQCCT_NO: MQLONG = 0;
1439pub const MQCTES_NOSYNC: MQLONG = 0;
1440pub const MQCTES_COMMIT: MQLONG = 256;
1441pub const MQCTES_BACKOUT: MQLONG = 4352;
1442pub const MQCTES_ENDTASK: MQLONG = 65536;
1443pub const MQCFAC_NONE: &[u8; 9] = b"\0\0\0\0\0\0\0\0\0";
1444pub const MQCFUNC_MQCONN: &::std::ffi::CStr = c"CONN";
1445pub const MQCFUNC_MQGET: &::std::ffi::CStr = c"GET ";
1446pub const MQCFUNC_MQINQ: &::std::ffi::CStr = c"INQ ";
1447pub const MQCFUNC_MQOPEN: &::std::ffi::CStr = c"OPEN";
1448pub const MQCFUNC_MQPUT: &::std::ffi::CStr = c"PUT ";
1449pub const MQCFUNC_MQPUT1: &::std::ffi::CStr = c"PUT1";
1450pub const MQCFUNC_NONE: &::std::ffi::CStr = c"    ";
1451pub const MQCSC_START: &::std::ffi::CStr = c"S   ";
1452pub const MQCSC_STARTDATA: &::std::ffi::CStr = c"SD  ";
1453pub const MQCSC_TERMINPUT: &::std::ffi::CStr = c"TD  ";
1454pub const MQCSC_NONE: &::std::ffi::CStr = c"    ";
1455pub const MQCMHO_STRUC_ID: &::std::ffi::CStr = c"CMHO";
1456pub const MQCMHO_VERSION_1: MQLONG = 1;
1457pub const MQCMHO_CURRENT_VERSION: MQLONG = 1;
1458pub const MQCMHO_LENGTH_1: usize = 12;
1459pub const MQCMHO_CURRENT_LENGTH: usize = 12;
1460pub const MQCMHO_DEFAULT_VALIDATION: MQLONG = 0;
1461pub const MQCMHO_NO_VALIDATION: MQLONG = 1;
1462pub const MQCMHO_VALIDATE: MQLONG = 2;
1463pub const MQCMHO_NONE: MQLONG = 0;
1464pub const MQCTLO_STRUC_ID: &::std::ffi::CStr = c"CTLO";
1465pub const MQCTLO_VERSION_1: MQLONG = 1;
1466pub const MQCTLO_CURRENT_VERSION: MQLONG = 1;
1467pub const MQCTLO_LENGTH_1: usize = 24;
1468pub const MQCTLO_CURRENT_LENGTH: usize = 24;
1469pub const MQCTLO_NONE: MQLONG = 0;
1470pub const MQCTLO_THREAD_AFFINITY: MQLONG = 1;
1471pub const MQCTLO_FAIL_IF_QUIESCING: MQLONG = 8192;
1472pub const MQSCO_STRUC_ID: &::std::ffi::CStr = c"SCO ";
1473pub const MQSCO_VERSION_1: MQLONG = 1;
1474pub const MQSCO_VERSION_2: MQLONG = 2;
1475pub const MQSCO_VERSION_3: MQLONG = 3;
1476pub const MQSCO_VERSION_4: MQLONG = 4;
1477pub const MQSCO_VERSION_5: MQLONG = 5;
1478pub const MQSCO_VERSION_6: MQLONG = 6;
1479pub const MQSCO_VERSION_7: MQLONG = 7;
1480pub const MQSCO_CURRENT_VERSION: MQLONG = 7;
1481pub const MQSCO_LENGTH_1: usize = 536;
1482pub const MQSCO_LENGTH_2: usize = 544;
1483pub const MQSCO_LENGTH_3: usize = 560;
1484pub const MQSCO_LENGTH_4: usize = 568;
1485pub const MQSCO_LENGTH_5: usize = 632;
1486pub const MQSCO_LENGTH_6: usize = 648;
1487pub const MQSCO_LENGTH_7: usize = 672;
1488pub const MQSCO_CURRENT_LENGTH: usize = 672;
1489pub const MQ_SUITE_B_NOT_AVAILABLE: MQLONG = 0;
1490pub const MQ_SUITE_B_NONE: MQLONG = 1;
1491pub const MQ_SUITE_B_128_BIT: MQLONG = 2;
1492pub const MQ_SUITE_B_192_BIT: MQLONG = 4;
1493pub const MQSCO_RESET_COUNT_DEFAULT: MQLONG = 0;
1494pub const MQ_CERT_VAL_POLICY_DEFAULT: MQLONG = 0;
1495pub const MQ_CERT_VAL_POLICY_ANY: MQLONG = 0;
1496pub const MQ_CERT_VAL_POLICY_RFC5280: MQLONG = 1;
1497pub const MQ_CERT_VAL_POLICY_NONE: MQLONG = 2;
1498pub const MQ_HTTPSCERTVAL_DEFAULT: MQLONG = 0;
1499pub const MQ_HTTPSCERTVAL_ANY: MQLONG = 1;
1500pub const MQ_HTTPSCERTVAL_NONE: MQLONG = 2;
1501pub const MQ_HTTPSCERTVAL_HOSTNAMECN: MQLONG = 3;
1502pub const MQ_HTTPSCERTREV_DEFAULT: MQLONG = 0;
1503pub const MQ_HTTPSCERTREV_REQUIRED: MQLONG = 1;
1504pub const MQ_HTTPSCERTREV_DISABLED: MQLONG = 2;
1505pub const MQ_HTTPSCERTREV_OPTIONAL: MQLONG = 3;
1506pub const MQCSP_STRUC_ID: &::std::ffi::CStr = c"CSP ";
1507pub const MQCSP_VERSION_1: MQLONG = 1;
1508pub const MQCSP_VERSION_2: MQLONG = 2;
1509pub const MQCSP_VERSION_3: MQLONG = 3;
1510pub const MQCSP_CURRENT_VERSION: MQLONG = 3;
1511pub const MQCSP_LENGTH_1: usize = 56;
1512pub const MQCSP_LENGTH_2: usize = 80;
1513pub const MQCSP_LENGTH_3: usize = 104;
1514pub const MQCSP_CURRENT_LENGTH: usize = 104;
1515pub const MQCSP_AUTH_NONE: MQLONG = 0;
1516pub const MQCSP_AUTH_USER_ID_AND_PWD: MQLONG = 1;
1517pub const MQCSP_AUTH_ID_TOKEN: MQLONG = 2;
1518pub const MQCNO_STRUC_ID: &::std::ffi::CStr = c"CNO ";
1519pub const MQCNO_VERSION_1: MQLONG = 1;
1520pub const MQCNO_VERSION_2: MQLONG = 2;
1521pub const MQCNO_VERSION_3: MQLONG = 3;
1522pub const MQCNO_VERSION_4: MQLONG = 4;
1523pub const MQCNO_VERSION_5: MQLONG = 5;
1524pub const MQCNO_VERSION_6: MQLONG = 6;
1525pub const MQCNO_VERSION_7: MQLONG = 7;
1526pub const MQCNO_VERSION_8: MQLONG = 8;
1527pub const MQCNO_CURRENT_VERSION: MQLONG = 8;
1528pub const MQCNO_LENGTH_1: usize = 12;
1529pub const MQCNO_LENGTH_2: usize = 24;
1530pub const MQCNO_LENGTH_3: usize = 152;
1531pub const MQCNO_LENGTH_4: usize = 168;
1532pub const MQCNO_LENGTH_5: usize = 200;
1533pub const MQCNO_LENGTH_6: usize = 224;
1534pub const MQCNO_LENGTH_7: usize = 256;
1535pub const MQCNO_LENGTH_8: usize = 272;
1536pub const MQCNO_CURRENT_LENGTH: usize = 272;
1537pub const MQCNO_STANDARD_BINDING: MQLONG = 0;
1538pub const MQCNO_FASTPATH_BINDING: MQLONG = 1;
1539pub const MQCNO_SERIALIZE_CONN_TAG_Q_MGR: MQLONG = 2;
1540pub const MQCNO_SERIALIZE_CONN_TAG_QSG: MQLONG = 4;
1541pub const MQCNO_RESTRICT_CONN_TAG_Q_MGR: MQLONG = 8;
1542pub const MQCNO_RESTRICT_CONN_TAG_QSG: MQLONG = 16;
1543pub const MQCNO_HANDLE_SHARE_NONE: MQLONG = 32;
1544pub const MQCNO_HANDLE_SHARE_BLOCK: MQLONG = 64;
1545pub const MQCNO_HANDLE_SHARE_NO_BLOCK: MQLONG = 128;
1546pub const MQCNO_SHARED_BINDING: MQLONG = 256;
1547pub const MQCNO_ISOLATED_BINDING: MQLONG = 512;
1548pub const MQCNO_LOCAL_BINDING: MQLONG = 1024;
1549pub const MQCNO_CLIENT_BINDING: MQLONG = 2048;
1550pub const MQCNO_ACCOUNTING_MQI_ENABLED: MQLONG = 4096;
1551pub const MQCNO_ACCOUNTING_MQI_DISABLED: MQLONG = 8192;
1552pub const MQCNO_ACCOUNTING_Q_ENABLED: MQLONG = 16384;
1553pub const MQCNO_ACCOUNTING_Q_DISABLED: MQLONG = 32768;
1554pub const MQCNO_NO_CONV_SHARING: MQLONG = 65536;
1555pub const MQCNO_ALL_CONVS_SHARE: MQLONG = 262144;
1556pub const MQCNO_CD_FOR_OUTPUT_ONLY: MQLONG = 524288;
1557pub const MQCNO_USE_CD_SELECTION: MQLONG = 1048576;
1558pub const MQCNO_GENERATE_CONN_TAG: MQLONG = 2097152;
1559pub const MQCNO_RECONNECT_AS_DEF: MQLONG = 0;
1560pub const MQCNO_RECONNECT: MQLONG = 16777216;
1561pub const MQCNO_RECONNECT_DISABLED: MQLONG = 33554432;
1562pub const MQCNO_RECONNECT_Q_MGR: MQLONG = 67108864;
1563pub const MQCNO_ACTIVITY_TRACE_ENABLED: MQLONG = 134217728;
1564pub const MQCNO_ACTIVITY_TRACE_DISABLED: MQLONG = 268435456;
1565pub const MQCNO_NONE: MQLONG = 0;
1566pub const MQCT_NONE: &[u8; 129] = 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\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\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";
1567pub const MQCONNID_NONE: &[u8; 25] = 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";
1568pub const MQAN_NONE: &::std::ffi::CStr = c"                            ";
1569pub const MQDH_STRUC_ID: &::std::ffi::CStr = c"DH  ";
1570pub const MQDH_VERSION_1: MQLONG = 1;
1571pub const MQDH_CURRENT_VERSION: MQLONG = 1;
1572pub const MQDH_LENGTH_1: usize = 48;
1573pub const MQDH_CURRENT_LENGTH: usize = 48;
1574pub const MQDHF_NEW_MSG_IDS: MQLONG = 1;
1575pub const MQDHF_NONE: MQLONG = 0;
1576pub const MQDLH_STRUC_ID: &::std::ffi::CStr = c"DLH ";
1577pub const MQDLH_VERSION_1: MQLONG = 1;
1578pub const MQDLH_CURRENT_VERSION: MQLONG = 1;
1579pub const MQDLH_LENGTH_1: usize = 172;
1580pub const MQDLH_CURRENT_LENGTH: usize = 172;
1581pub const MQDMHO_STRUC_ID: &::std::ffi::CStr = c"DMHO";
1582pub const MQDMHO_VERSION_1: MQLONG = 1;
1583pub const MQDMHO_CURRENT_VERSION: MQLONG = 1;
1584pub const MQDMHO_LENGTH_1: usize = 12;
1585pub const MQDMHO_CURRENT_LENGTH: usize = 12;
1586pub const MQDMHO_NONE: MQLONG = 0;
1587pub const MQDMPO_STRUC_ID: &::std::ffi::CStr = c"DMPO";
1588pub const MQDMPO_VERSION_1: MQLONG = 1;
1589pub const MQDMPO_CURRENT_VERSION: MQLONG = 1;
1590pub const MQDMPO_LENGTH_1: usize = 12;
1591pub const MQDMPO_CURRENT_LENGTH: usize = 12;
1592pub const MQDMPO_DEL_FIRST: MQLONG = 0;
1593pub const MQDMPO_DEL_PROP_UNDER_CURSOR: MQLONG = 1;
1594pub const MQDMPO_NONE: MQLONG = 0;
1595pub const MQGMO_STRUC_ID: &::std::ffi::CStr = c"GMO ";
1596pub const MQGMO_VERSION_1: MQLONG = 1;
1597pub const MQGMO_VERSION_2: MQLONG = 2;
1598pub const MQGMO_VERSION_3: MQLONG = 3;
1599pub const MQGMO_VERSION_4: MQLONG = 4;
1600pub const MQGMO_CURRENT_VERSION: MQLONG = 4;
1601pub const MQGMO_LENGTH_1: usize = 72;
1602pub const MQGMO_LENGTH_2: usize = 80;
1603pub const MQGMO_LENGTH_3: usize = 100;
1604pub const MQGMO_LENGTH_4: usize = 112;
1605pub const MQGMO_CURRENT_LENGTH: usize = 112;
1606pub const MQGMO_WAIT: MQLONG = 1;
1607pub const MQGMO_NO_WAIT: MQLONG = 0;
1608pub const MQGMO_SET_SIGNAL: MQLONG = 8;
1609pub const MQGMO_FAIL_IF_QUIESCING: MQLONG = 8192;
1610pub const MQGMO_SYNCPOINT: MQLONG = 2;
1611pub const MQGMO_SYNCPOINT_IF_PERSISTENT: MQLONG = 4096;
1612pub const MQGMO_NO_SYNCPOINT: MQLONG = 4;
1613pub const MQGMO_MARK_SKIP_BACKOUT: MQLONG = 128;
1614pub const MQGMO_BROWSE_FIRST: MQLONG = 16;
1615pub const MQGMO_BROWSE_NEXT: MQLONG = 32;
1616pub const MQGMO_BROWSE_MSG_UNDER_CURSOR: MQLONG = 2048;
1617pub const MQGMO_MSG_UNDER_CURSOR: MQLONG = 256;
1618pub const MQGMO_LOCK: MQLONG = 512;
1619pub const MQGMO_UNLOCK: MQLONG = 1024;
1620pub const MQGMO_ACCEPT_TRUNCATED_MSG: MQLONG = 64;
1621pub const MQGMO_CONVERT: MQLONG = 16384;
1622pub const MQGMO_LOGICAL_ORDER: MQLONG = 32768;
1623pub const MQGMO_COMPLETE_MSG: MQLONG = 65536;
1624pub const MQGMO_ALL_MSGS_AVAILABLE: MQLONG = 131072;
1625pub const MQGMO_ALL_SEGMENTS_AVAILABLE: MQLONG = 262144;
1626pub const MQGMO_MARK_BROWSE_HANDLE: MQLONG = 1048576;
1627pub const MQGMO_MARK_BROWSE_CO_OP: MQLONG = 2097152;
1628pub const MQGMO_UNMARK_BROWSE_CO_OP: MQLONG = 4194304;
1629pub const MQGMO_UNMARK_BROWSE_HANDLE: MQLONG = 8388608;
1630pub const MQGMO_UNMARKED_BROWSE_MSG: MQLONG = 16777216;
1631pub const MQGMO_PROPERTIES_FORCE_MQRFH2: MQLONG = 33554432;
1632pub const MQGMO_NO_PROPERTIES: MQLONG = 67108864;
1633pub const MQGMO_PROPERTIES_IN_HANDLE: MQLONG = 134217728;
1634pub const MQGMO_PROPERTIES_COMPATIBILITY: MQLONG = 268435456;
1635pub const MQGMO_PROPERTIES_AS_Q_DEF: MQLONG = 0;
1636pub const MQGMO_NONE: MQLONG = 0;
1637pub const MQGMO_BROWSE_HANDLE: MQLONG = 17825808;
1638pub const MQGMO_BROWSE_CO_OP: MQLONG = 18874384;
1639pub const MQWI_UNLIMITED: MQLONG = -1;
1640pub const MQEC_MSG_ARRIVED: MQLONG = 2;
1641pub const MQEC_WAIT_INTERVAL_EXPIRED: MQLONG = 3;
1642pub const MQEC_WAIT_CANCELED: MQLONG = 4;
1643pub const MQEC_Q_MGR_QUIESCING: MQLONG = 5;
1644pub const MQEC_CONNECTION_QUIESCING: MQLONG = 6;
1645pub const MQMO_MATCH_MSG_ID: MQLONG = 1;
1646pub const MQMO_MATCH_CORREL_ID: MQLONG = 2;
1647pub const MQMO_MATCH_GROUP_ID: MQLONG = 4;
1648pub const MQMO_MATCH_MSG_SEQ_NUMBER: MQLONG = 8;
1649pub const MQMO_MATCH_OFFSET: MQLONG = 16;
1650pub const MQMO_MATCH_MSG_TOKEN: MQLONG = 32;
1651pub const MQMO_NONE: MQLONG = 0;
1652pub const MQGS_NOT_IN_GROUP: u8 = 32u8;
1653pub const MQGS_MSG_IN_GROUP: u8 = 71u8;
1654pub const MQGS_LAST_MSG_IN_GROUP: u8 = 76u8;
1655pub const MQSS_NOT_A_SEGMENT: u8 = 32u8;
1656pub const MQSS_SEGMENT: u8 = 83u8;
1657pub const MQSS_LAST_SEGMENT: u8 = 76u8;
1658pub const MQSEG_INHIBITED: u8 = 32u8;
1659pub const MQSEG_ALLOWED: u8 = 65u8;
1660pub const MQMTOK_NONE: &[u8; 17] = b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
1661pub const MQRL_UNDEFINED: MQLONG = -1;
1662pub const MQIIH_STRUC_ID: &::std::ffi::CStr = c"IIH ";
1663pub const MQIIH_VERSION_1: MQLONG = 1;
1664pub const MQIIH_CURRENT_VERSION: MQLONG = 1;
1665pub const MQIIH_LENGTH_1: usize = 84;
1666pub const MQIIH_CURRENT_LENGTH: usize = 84;
1667pub const MQIIH_NONE: MQLONG = 0;
1668pub const MQIIH_PASS_EXPIRATION: MQLONG = 1;
1669pub const MQIIH_UNLIMITED_EXPIRATION: MQLONG = 0;
1670pub const MQIIH_REPLY_FORMAT_NONE: MQLONG = 8;
1671pub const MQIIH_IGNORE_PURG: MQLONG = 16;
1672pub const MQIIH_CM0_REQUEST_RESPONSE: MQLONG = 32;
1673pub const MQIAUT_NONE: &::std::ffi::CStr = c"        ";
1674pub const MQITII_NONE: &[u8; 17] = b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
1675pub const MQITS_IN_CONVERSATION: u8 = 67u8;
1676pub const MQITS_NOT_IN_CONVERSATION: u8 = 32u8;
1677pub const MQITS_ARCHITECTED: u8 = 65u8;
1678pub const MQICM_COMMIT_THEN_SEND: u8 = 48u8;
1679pub const MQICM_SEND_THEN_COMMIT: u8 = 49u8;
1680pub const MQISS_CHECK: u8 = 67u8;
1681pub const MQISS_FULL: u8 = 70u8;
1682pub const MQIMPO_STRUC_ID: &::std::ffi::CStr = c"IMPO";
1683pub const MQIMPO_VERSION_1: MQLONG = 1;
1684pub const MQIMPO_CURRENT_VERSION: MQLONG = 1;
1685pub const MQIMPO_LENGTH_1: usize = 64;
1686pub const MQIMPO_CURRENT_LENGTH: usize = 64;
1687pub const MQIMPO_CONVERT_TYPE: MQLONG = 2;
1688pub const MQIMPO_QUERY_LENGTH: MQLONG = 4;
1689pub const MQIMPO_INQ_FIRST: MQLONG = 0;
1690pub const MQIMPO_INQ_NEXT: MQLONG = 8;
1691pub const MQIMPO_INQ_PROP_UNDER_CURSOR: MQLONG = 16;
1692pub const MQIMPO_CONVERT_VALUE: MQLONG = 32;
1693pub const MQIMPO_NONE: MQLONG = 0;
1694pub const MQMD_STRUC_ID: &::std::ffi::CStr = c"MD  ";
1695pub const MQMD_VERSION_1: MQLONG = 1;
1696pub const MQMD_VERSION_2: MQLONG = 2;
1697pub const MQMD_CURRENT_VERSION: MQLONG = 2;
1698pub const MQMD_LENGTH_1: usize = 324;
1699pub const MQMD_LENGTH_2: usize = 364;
1700pub const MQMD_CURRENT_LENGTH: usize = 364;
1701pub const MQRO_EXCEPTION: MQLONG = 16777216;
1702pub const MQRO_EXCEPTION_WITH_DATA: MQLONG = 50331648;
1703pub const MQRO_EXCEPTION_WITH_FULL_DATA: MQLONG = 117440512;
1704pub const MQRO_EXPIRATION: MQLONG = 2097152;
1705pub const MQRO_EXPIRATION_WITH_DATA: MQLONG = 6291456;
1706pub const MQRO_EXPIRATION_WITH_FULL_DATA: MQLONG = 14680064;
1707pub const MQRO_COA: MQLONG = 256;
1708pub const MQRO_COA_WITH_DATA: MQLONG = 768;
1709pub const MQRO_COA_WITH_FULL_DATA: MQLONG = 1792;
1710pub const MQRO_COD: MQLONG = 2048;
1711pub const MQRO_COD_WITH_DATA: MQLONG = 6144;
1712pub const MQRO_COD_WITH_FULL_DATA: MQLONG = 14336;
1713pub const MQRO_PAN: MQLONG = 1;
1714pub const MQRO_NAN: MQLONG = 2;
1715pub const MQRO_ACTIVITY: MQLONG = 4;
1716pub const MQRO_NEW_MSG_ID: MQLONG = 0;
1717pub const MQRO_PASS_MSG_ID: MQLONG = 128;
1718pub const MQRO_COPY_MSG_ID_TO_CORREL_ID: MQLONG = 0;
1719pub const MQRO_PASS_CORREL_ID: MQLONG = 64;
1720pub const MQRO_DEAD_LETTER_Q: MQLONG = 0;
1721pub const MQRO_DISCARD_MSG: MQLONG = 134217728;
1722pub const MQRO_PASS_DISCARD_AND_EXPIRY: MQLONG = 16384;
1723pub const MQRO_NONE: MQLONG = 0;
1724pub const MQRO_REJECT_UNSUP_MASK: MQLONG = 270270464;
1725pub const MQRO_ACCEPT_UNSUP_MASK: MQLONG = -270532353;
1726pub const MQRO_ACCEPT_UNSUP_IF_XMIT_MASK: MQLONG = 261888;
1727pub const MQMT_SYSTEM_FIRST: MQLONG = 1;
1728pub const MQMT_REQUEST: MQLONG = 1;
1729pub const MQMT_REPLY: MQLONG = 2;
1730pub const MQMT_DATAGRAM: MQLONG = 8;
1731pub const MQMT_REPORT: MQLONG = 4;
1732pub const MQMT_MQE_FIELDS_FROM_MQE: MQLONG = 112;
1733pub const MQMT_MQE_FIELDS: MQLONG = 113;
1734pub const MQMT_SYSTEM_LAST: MQLONG = 65535;
1735pub const MQMT_APPL_FIRST: MQLONG = 65536;
1736pub const MQMT_APPL_LAST: MQLONG = 999999999;
1737pub const MQEI_UNLIMITED: MQLONG = -1;
1738pub const MQFB_NONE: MQLONG = 0;
1739pub const MQFB_SYSTEM_FIRST: MQLONG = 1;
1740pub const MQFB_QUIT: MQLONG = 256;
1741pub const MQFB_EXPIRATION: MQLONG = 258;
1742pub const MQFB_COA: MQLONG = 259;
1743pub const MQFB_COD: MQLONG = 260;
1744pub const MQFB_CHANNEL_COMPLETED: MQLONG = 262;
1745pub const MQFB_CHANNEL_FAIL_RETRY: MQLONG = 263;
1746pub const MQFB_CHANNEL_FAIL: MQLONG = 264;
1747pub const MQFB_APPL_CANNOT_BE_STARTED: MQLONG = 265;
1748pub const MQFB_TM_ERROR: MQLONG = 266;
1749pub const MQFB_APPL_TYPE_ERROR: MQLONG = 267;
1750pub const MQFB_STOPPED_BY_MSG_EXIT: MQLONG = 268;
1751pub const MQFB_ACTIVITY: MQLONG = 269;
1752pub const MQFB_XMIT_Q_MSG_ERROR: MQLONG = 271;
1753pub const MQFB_PAN: MQLONG = 275;
1754pub const MQFB_NAN: MQLONG = 276;
1755pub const MQFB_STOPPED_BY_CHAD_EXIT: MQLONG = 277;
1756pub const MQFB_STOPPED_BY_PUBSUB_EXIT: MQLONG = 279;
1757pub const MQFB_NOT_A_REPOSITORY_MSG: MQLONG = 280;
1758pub const MQFB_BIND_OPEN_CLUSRCVR_DEL: MQLONG = 281;
1759pub const MQFB_MAX_ACTIVITIES: MQLONG = 282;
1760pub const MQFB_NOT_FORWARDED: MQLONG = 283;
1761pub const MQFB_NOT_DELIVERED: MQLONG = 284;
1762pub const MQFB_UNSUPPORTED_FORWARDING: MQLONG = 285;
1763pub const MQFB_UNSUPPORTED_DELIVERY: MQLONG = 286;
1764pub const MQFB_DATA_LENGTH_ZERO: MQLONG = 291;
1765pub const MQFB_DATA_LENGTH_NEGATIVE: MQLONG = 292;
1766pub const MQFB_DATA_LENGTH_TOO_BIG: MQLONG = 293;
1767pub const MQFB_BUFFER_OVERFLOW: MQLONG = 294;
1768pub const MQFB_LENGTH_OFF_BY_ONE: MQLONG = 295;
1769pub const MQFB_IIH_ERROR: MQLONG = 296;
1770pub const MQFB_NOT_AUTHORIZED_FOR_IMS: MQLONG = 298;
1771pub const MQFB_DATA_LENGTH_TOO_SHORT: MQLONG = 299;
1772pub const MQFB_IMS_ERROR: MQLONG = 300;
1773pub const MQFB_IMS_FIRST: MQLONG = 301;
1774pub const MQFB_IMS_LAST: MQLONG = 399;
1775pub const MQFB_CICS_INTERNAL_ERROR: MQLONG = 401;
1776pub const MQFB_CICS_NOT_AUTHORIZED: MQLONG = 402;
1777pub const MQFB_CICS_BRIDGE_FAILURE: MQLONG = 403;
1778pub const MQFB_CICS_CORREL_ID_ERROR: MQLONG = 404;
1779pub const MQFB_CICS_CCSID_ERROR: MQLONG = 405;
1780pub const MQFB_CICS_ENCODING_ERROR: MQLONG = 406;
1781pub const MQFB_CICS_CIH_ERROR: MQLONG = 407;
1782pub const MQFB_CICS_UOW_ERROR: MQLONG = 408;
1783pub const MQFB_CICS_COMMAREA_ERROR: MQLONG = 409;
1784pub const MQFB_CICS_APPL_NOT_STARTED: MQLONG = 410;
1785pub const MQFB_CICS_APPL_ABENDED: MQLONG = 411;
1786pub const MQFB_CICS_DLQ_ERROR: MQLONG = 412;
1787pub const MQFB_CICS_UOW_BACKED_OUT: MQLONG = 413;
1788pub const MQFB_PUBLICATIONS_ON_REQUEST: MQLONG = 501;
1789pub const MQFB_SUBSCRIBER_IS_PUBLISHER: MQLONG = 502;
1790pub const MQFB_MSG_SCOPE_MISMATCH: MQLONG = 503;
1791pub const MQFB_SELECTOR_MISMATCH: MQLONG = 504;
1792pub const MQFB_NOT_A_GROUPUR_MSG: MQLONG = 505;
1793pub const MQFB_IMS_NACK_1A_REASON_FIRST: MQLONG = 600;
1794pub const MQFB_IMS_NACK_1A_REASON_LAST: MQLONG = 855;
1795pub const MQFB_SYSTEM_LAST: MQLONG = 65535;
1796pub const MQFB_APPL_FIRST: MQLONG = 65536;
1797pub const MQFB_APPL_LAST: MQLONG = 999999999;
1798pub const MQENC_NATIVE: MQLONG = 546;
1799pub const MQENC_INTEGER_MASK: MQLONG = 15;
1800pub const MQENC_DECIMAL_MASK: MQLONG = 240;
1801pub const MQENC_FLOAT_MASK: MQLONG = 3840;
1802pub const MQENC_RESERVED_MASK: MQLONG = -4096;
1803pub const MQENC_INTEGER_UNDEFINED: MQLONG = 0;
1804pub const MQENC_INTEGER_NORMAL: MQLONG = 1;
1805pub const MQENC_INTEGER_REVERSED: MQLONG = 2;
1806pub const MQENC_DECIMAL_UNDEFINED: MQLONG = 0;
1807pub const MQENC_DECIMAL_NORMAL: MQLONG = 16;
1808pub const MQENC_DECIMAL_REVERSED: MQLONG = 32;
1809pub const MQENC_FLOAT_UNDEFINED: MQLONG = 0;
1810pub const MQENC_FLOAT_IEEE_NORMAL: MQLONG = 256;
1811pub const MQENC_FLOAT_IEEE_REVERSED: MQLONG = 512;
1812pub const MQENC_FLOAT_S390: MQLONG = 768;
1813pub const MQENC_FLOAT_TNS: MQLONG = 1024;
1814pub const MQENC_NORMAL: MQLONG = 273;
1815pub const MQENC_REVERSED: MQLONG = 546;
1816pub const MQENC_S390: MQLONG = 785;
1817pub const MQENC_TNS: MQLONG = 1041;
1818pub const MQENC_AS_PUBLISHED: MQLONG = -1;
1819pub const MQCCSI_UNDEFINED: MQLONG = 0;
1820pub const MQCCSI_DEFAULT: MQLONG = 0;
1821pub const MQCCSI_Q_MGR: MQLONG = 0;
1822pub const MQCCSI_INHERIT: MQLONG = -2;
1823pub const MQCCSI_EMBEDDED: MQLONG = -1;
1824pub const MQCCSI_APPL: MQLONG = -3;
1825pub const MQCCSI_AS_PUBLISHED: MQLONG = -4;
1826pub const MQFMT_NONE: &::std::ffi::CStr = c"        ";
1827pub const MQFMT_ADMIN: &::std::ffi::CStr = c"MQADMIN ";
1828pub const MQFMT_AMQP: &::std::ffi::CStr = c"MQAMQP  ";
1829pub const MQFMT_CHANNEL_COMPLETED: &::std::ffi::CStr = c"MQCHCOM ";
1830pub const MQFMT_CICS: &::std::ffi::CStr = c"MQCICS  ";
1831pub const MQFMT_COMMAND_1: &::std::ffi::CStr = c"MQCMD1  ";
1832pub const MQFMT_COMMAND_2: &::std::ffi::CStr = c"MQCMD2  ";
1833pub const MQFMT_DEAD_LETTER_HEADER: &::std::ffi::CStr = c"MQDEAD  ";
1834pub const MQFMT_DIST_HEADER: &::std::ffi::CStr = c"MQHDIST ";
1835pub const MQFMT_EMBEDDED_PCF: &::std::ffi::CStr = c"MQHEPCF ";
1836pub const MQFMT_EVENT: &::std::ffi::CStr = c"MQEVENT ";
1837pub const MQFMT_IMS: &::std::ffi::CStr = c"MQIMS   ";
1838pub const MQFMT_IMS_VAR_STRING: &::std::ffi::CStr = c"MQIMSVS ";
1839pub const MQFMT_MD_EXTENSION: &::std::ffi::CStr = c"MQHMDE  ";
1840pub const MQFMT_PCF: &::std::ffi::CStr = c"MQPCF   ";
1841pub const MQFMT_REF_MSG_HEADER: &::std::ffi::CStr = c"MQHREF  ";
1842pub const MQFMT_RF_HEADER: &::std::ffi::CStr = c"MQHRF   ";
1843pub const MQFMT_RF_HEADER_1: &::std::ffi::CStr = c"MQHRF   ";
1844pub const MQFMT_RF_HEADER_2: &::std::ffi::CStr = c"MQHRF2  ";
1845pub const MQFMT_STRING: &::std::ffi::CStr = c"MQSTR   ";
1846pub const MQFMT_TRIGGER: &::std::ffi::CStr = c"MQTRIG  ";
1847pub const MQFMT_WORK_INFO_HEADER: &::std::ffi::CStr = c"MQHWIH  ";
1848pub const MQFMT_XMIT_Q_HEADER: &::std::ffi::CStr = c"MQXMIT  ";
1849pub const MQPRI_PRIORITY_AS_Q_DEF: MQLONG = -1;
1850pub const MQPRI_PRIORITY_AS_PARENT: MQLONG = -2;
1851pub const MQPRI_PRIORITY_AS_PUBLISHED: MQLONG = -3;
1852pub const MQPRI_PRIORITY_AS_TOPIC_DEF: MQLONG = -1;
1853pub const MQPER_PERSISTENCE_AS_PARENT: MQLONG = -1;
1854pub const MQPER_NOT_PERSISTENT: MQLONG = 0;
1855pub const MQPER_PERSISTENT: MQLONG = 1;
1856pub const MQPER_PERSISTENCE_AS_Q_DEF: MQLONG = 2;
1857pub const MQPER_PERSISTENCE_AS_TOPIC_DEF: MQLONG = 2;
1858pub const MQPRT_RESPONSE_AS_PARENT: MQLONG = 0;
1859pub const MQPRT_SYNC_RESPONSE: MQLONG = 1;
1860pub const MQPRT_ASYNC_RESPONSE: MQLONG = 2;
1861pub const MQMI_NONE: &[u8; 25] = 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";
1862pub const MQCI_NONE: &[u8; 25] = 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";
1863pub const MQCI_NEW_SESSION: &::std::ffi::CStr = c"AMQ!NEW_SESSION_CORRELID";
1864pub const MQACT_NONE: &[u8; 33] = 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";
1865pub const MQACTT_UNKNOWN: u8 = 0u8;
1866pub const MQACTT_CICS_LUOW_ID: u8 = 1u8;
1867pub const MQACTT_OS2_DEFAULT: u8 = 4u8;
1868pub const MQACTT_DOS_DEFAULT: u8 = 5u8;
1869pub const MQACTT_UNIX_NUMERIC_ID: u8 = 6u8;
1870pub const MQACTT_OS400_ACCOUNT_TOKEN: u8 = 8u8;
1871pub const MQACTT_WINDOWS_DEFAULT: u8 = 9u8;
1872pub const MQACTT_NT_SECURITY_ID: u8 = 11u8;
1873pub const MQACTT_AZUREAD_SECURITY_ID: u8 = 12u8;
1874pub const MQACTT_MS_ACC_AUTH_SECURITY_ID: u8 = 13u8;
1875pub const MQACTT_USER: u8 = 25u8;
1876pub const MQAT_UNKNOWN: MQLONG = -1;
1877pub const MQAT_NO_CONTEXT: MQLONG = 0;
1878pub const MQAT_CICS: MQLONG = 1;
1879pub const MQAT_MVS: MQLONG = 2;
1880pub const MQAT_OS390: MQLONG = 2;
1881pub const MQAT_ZOS: MQLONG = 2;
1882pub const MQAT_IMS: MQLONG = 3;
1883pub const MQAT_OS2: MQLONG = 4;
1884pub const MQAT_DOS: MQLONG = 5;
1885pub const MQAT_AIX: MQLONG = 6;
1886pub const MQAT_UNIX: MQLONG = 6;
1887pub const MQAT_QMGR: MQLONG = 7;
1888pub const MQAT_OS400: MQLONG = 8;
1889pub const MQAT_WINDOWS: MQLONG = 9;
1890pub const MQAT_CICS_VSE: MQLONG = 10;
1891pub const MQAT_WINDOWS_NT: MQLONG = 11;
1892pub const MQAT_VMS: MQLONG = 12;
1893pub const MQAT_GUARDIAN: MQLONG = 13;
1894pub const MQAT_NSK: MQLONG = 13;
1895pub const MQAT_VOS: MQLONG = 14;
1896pub const MQAT_OPEN_TP1: MQLONG = 15;
1897pub const MQAT_VM: MQLONG = 18;
1898pub const MQAT_IMS_BRIDGE: MQLONG = 19;
1899pub const MQAT_XCF: MQLONG = 20;
1900pub const MQAT_CICS_BRIDGE: MQLONG = 21;
1901pub const MQAT_NOTES_AGENT: MQLONG = 22;
1902pub const MQAT_TPF: MQLONG = 23;
1903pub const MQAT_USER: MQLONG = 25;
1904pub const MQAT_BROKER: MQLONG = 26;
1905pub const MQAT_QMGR_PUBLISH: MQLONG = 26;
1906pub const MQAT_JAVA: MQLONG = 28;
1907pub const MQAT_DQM: MQLONG = 29;
1908pub const MQAT_CHANNEL_INITIATOR: MQLONG = 30;
1909pub const MQAT_WLM: MQLONG = 31;
1910pub const MQAT_BATCH: MQLONG = 32;
1911pub const MQAT_RRS_BATCH: MQLONG = 33;
1912pub const MQAT_SIB: MQLONG = 34;
1913pub const MQAT_SYSTEM_EXTENSION: MQLONG = 35;
1914pub const MQAT_MCAST_PUBLISH: MQLONG = 36;
1915pub const MQAT_AMQP: MQLONG = 37;
1916pub const MQAT_DEFAULT: MQLONG = 6;
1917pub const MQAT_USER_FIRST: MQLONG = 65536;
1918pub const MQAT_USER_LAST: MQLONG = 999999999;
1919pub const MQGI_NONE: &[u8; 25] = 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";
1920pub const MQMF_SEGMENTATION_INHIBITED: MQLONG = 0;
1921pub const MQMF_SEGMENTATION_ALLOWED: MQLONG = 1;
1922pub const MQMF_MSG_IN_GROUP: MQLONG = 8;
1923pub const MQMF_LAST_MSG_IN_GROUP: MQLONG = 16;
1924pub const MQMF_SEGMENT: MQLONG = 2;
1925pub const MQMF_LAST_SEGMENT: MQLONG = 4;
1926pub const MQMF_NONE: MQLONG = 0;
1927pub const MQMF_REJECT_UNSUP_MASK: MQLONG = 4095;
1928pub const MQMF_ACCEPT_UNSUP_MASK: MQLONG = -1048576;
1929pub const MQMF_ACCEPT_UNSUP_IF_XMIT_MASK: MQLONG = 1044480;
1930pub const MQOL_UNDEFINED: MQLONG = -1;
1931pub const MQMDE_STRUC_ID: &::std::ffi::CStr = c"MDE ";
1932pub const MQMDE_VERSION_2: MQLONG = 2;
1933pub const MQMDE_CURRENT_VERSION: MQLONG = 2;
1934pub const MQMDE_LENGTH_2: usize = 72;
1935pub const MQMDE_CURRENT_LENGTH: usize = 72;
1936pub const MQMDEF_NONE: MQLONG = 0;
1937pub const MQMD1_LENGTH_1: usize = 324;
1938pub const MQMD1_CURRENT_LENGTH: usize = 324;
1939pub const MQMD2_LENGTH_1: usize = 324;
1940pub const MQMD2_LENGTH_2: usize = 364;
1941pub const MQMD2_CURRENT_LENGTH: usize = 364;
1942pub const MQMHBO_STRUC_ID: &::std::ffi::CStr = c"MHBO";
1943pub const MQMHBO_VERSION_1: MQLONG = 1;
1944pub const MQMHBO_CURRENT_VERSION: MQLONG = 1;
1945pub const MQMHBO_LENGTH_1: usize = 12;
1946pub const MQMHBO_CURRENT_LENGTH: usize = 12;
1947pub const MQMHBO_PROPERTIES_IN_MQRFH2: MQLONG = 1;
1948pub const MQMHBO_DELETE_PROPERTIES: MQLONG = 2;
1949pub const MQMHBO_NONE: MQLONG = 0;
1950pub const MQOD_STRUC_ID: &::std::ffi::CStr = c"OD  ";
1951pub const MQOD_VERSION_1: MQLONG = 1;
1952pub const MQOD_VERSION_2: MQLONG = 2;
1953pub const MQOD_VERSION_3: MQLONG = 3;
1954pub const MQOD_VERSION_4: MQLONG = 4;
1955pub const MQOD_CURRENT_VERSION: MQLONG = 4;
1956pub const MQOD_LENGTH_1: usize = 168;
1957pub const MQOD_LENGTH_2: usize = 208;
1958pub const MQOD_LENGTH_3: usize = 344;
1959pub const MQOD_LENGTH_4: usize = 424;
1960pub const MQOD_CURRENT_LENGTH: usize = 424;
1961pub const MQOM_NO: MQLONG = 0;
1962pub const MQOM_YES: MQLONG = 1;
1963pub const MQOT_NONE: MQLONG = 0;
1964pub const MQOT_Q: MQLONG = 1;
1965pub const MQOT_NAMELIST: MQLONG = 2;
1966pub const MQOT_PROCESS: MQLONG = 3;
1967pub const MQOT_STORAGE_CLASS: MQLONG = 4;
1968pub const MQOT_Q_MGR: MQLONG = 5;
1969pub const MQOT_CHANNEL: MQLONG = 6;
1970pub const MQOT_AUTH_INFO: MQLONG = 7;
1971pub const MQOT_TOPIC: MQLONG = 8;
1972pub const MQOT_COMM_INFO: MQLONG = 9;
1973pub const MQOT_CF_STRUC: MQLONG = 10;
1974pub const MQOT_LISTENER: MQLONG = 11;
1975pub const MQOT_SERVICE: MQLONG = 12;
1976pub const MQOT_RESERVED_1: MQLONG = 999;
1977pub const MQOT_ALL: MQLONG = 1001;
1978pub const MQOT_ALIAS_Q: MQLONG = 1002;
1979pub const MQOT_MODEL_Q: MQLONG = 1003;
1980pub const MQOT_LOCAL_Q: MQLONG = 1004;
1981pub const MQOT_REMOTE_Q: MQLONG = 1005;
1982pub const MQOT_SENDER_CHANNEL: MQLONG = 1007;
1983pub const MQOT_SERVER_CHANNEL: MQLONG = 1008;
1984pub const MQOT_REQUESTER_CHANNEL: MQLONG = 1009;
1985pub const MQOT_RECEIVER_CHANNEL: MQLONG = 1010;
1986pub const MQOT_CURRENT_CHANNEL: MQLONG = 1011;
1987pub const MQOT_SAVED_CHANNEL: MQLONG = 1012;
1988pub const MQOT_SVRCONN_CHANNEL: MQLONG = 1013;
1989pub const MQOT_CLNTCONN_CHANNEL: MQLONG = 1014;
1990pub const MQOT_SHORT_CHANNEL: MQLONG = 1015;
1991pub const MQOT_CHLAUTH: MQLONG = 1016;
1992pub const MQOT_REMOTE_Q_MGR_NAME: MQLONG = 1017;
1993pub const MQOT_PROT_POLICY: MQLONG = 1019;
1994pub const MQOT_TT_CHANNEL: MQLONG = 1020;
1995pub const MQOT_AMQP_CHANNEL: MQLONG = 1021;
1996pub const MQOT_AUTH_REC: MQLONG = 1022;
1997pub const MQPD_STRUC_ID: &::std::ffi::CStr = c"PD  ";
1998pub const MQPD_VERSION_1: MQLONG = 1;
1999pub const MQPD_CURRENT_VERSION: MQLONG = 1;
2000pub const MQPD_LENGTH_1: usize = 24;
2001pub const MQPD_CURRENT_LENGTH: usize = 24;
2002pub const MQPD_NONE: MQLONG = 0;
2003pub const MQPD_SUPPORT_OPTIONAL: MQLONG = 1;
2004pub const MQPD_SUPPORT_REQUIRED: MQLONG = 1048576;
2005pub const MQPD_SUPPORT_REQUIRED_IF_LOCAL: MQLONG = 1024;
2006pub const MQPD_REJECT_UNSUP_MASK: MQLONG = -1048576;
2007pub const MQPD_ACCEPT_UNSUP_IF_XMIT_MASK: MQLONG = 1047552;
2008pub const MQPD_ACCEPT_UNSUP_MASK: MQLONG = 1023;
2009pub const MQPD_NO_CONTEXT: MQLONG = 0;
2010pub const MQPD_USER_CONTEXT: MQLONG = 1;
2011pub const MQCOPY_NONE: MQLONG = 0;
2012pub const MQCOPY_ALL: MQLONG = 1;
2013pub const MQCOPY_FORWARD: MQLONG = 2;
2014pub const MQCOPY_PUBLISH: MQLONG = 4;
2015pub const MQCOPY_REPLY: MQLONG = 8;
2016pub const MQCOPY_REPORT: MQLONG = 16;
2017pub const MQCOPY_DEFAULT: MQLONG = 22;
2018pub const MQPMO_STRUC_ID: &::std::ffi::CStr = c"PMO ";
2019pub const MQPMO_VERSION_1: MQLONG = 1;
2020pub const MQPMO_VERSION_2: MQLONG = 2;
2021pub const MQPMO_VERSION_3: MQLONG = 3;
2022pub const MQPMO_CURRENT_VERSION: MQLONG = 3;
2023pub const MQPMO_LENGTH_1: usize = 128;
2024pub const MQPMO_LENGTH_2: usize = 160;
2025pub const MQPMO_LENGTH_3: usize = 184;
2026pub const MQPMO_CURRENT_LENGTH: usize = 184;
2027pub const MQPMO_SYNCPOINT: MQLONG = 2;
2028pub const MQPMO_NO_SYNCPOINT: MQLONG = 4;
2029pub const MQPMO_DEFAULT_CONTEXT: MQLONG = 32;
2030pub const MQPMO_NEW_MSG_ID: MQLONG = 64;
2031pub const MQPMO_NEW_CORREL_ID: MQLONG = 128;
2032pub const MQPMO_PASS_IDENTITY_CONTEXT: MQLONG = 256;
2033pub const MQPMO_PASS_ALL_CONTEXT: MQLONG = 512;
2034pub const MQPMO_SET_IDENTITY_CONTEXT: MQLONG = 1024;
2035pub const MQPMO_SET_ALL_CONTEXT: MQLONG = 2048;
2036pub const MQPMO_ALTERNATE_USER_AUTHORITY: MQLONG = 4096;
2037pub const MQPMO_FAIL_IF_QUIESCING: MQLONG = 8192;
2038pub const MQPMO_NO_CONTEXT: MQLONG = 16384;
2039pub const MQPMO_LOGICAL_ORDER: MQLONG = 32768;
2040pub const MQPMO_ASYNC_RESPONSE: MQLONG = 65536;
2041pub const MQPMO_SYNC_RESPONSE: MQLONG = 131072;
2042pub const MQPMO_RESOLVE_LOCAL_Q: MQLONG = 262144;
2043pub const MQPMO_WARN_IF_NO_SUBS_MATCHED: MQLONG = 524288;
2044pub const MQPMO_RETAIN: MQLONG = 2097152;
2045pub const MQPMO_MD_FOR_OUTPUT_ONLY: MQLONG = 8388608;
2046pub const MQPMO_SCOPE_QMGR: MQLONG = 67108864;
2047pub const MQPMO_SUPPRESS_REPLYTO: MQLONG = 134217728;
2048pub const MQPMO_NOT_OWN_SUBS: MQLONG = 268435456;
2049pub const MQPMO_RESPONSE_AS_Q_DEF: MQLONG = 0;
2050pub const MQPMO_RESPONSE_AS_TOPIC_DEF: MQLONG = 0;
2051pub const MQPMO_NONE: MQLONG = 0;
2052pub const MQPMO_PUB_OPTIONS_MASK: MQLONG = 2097152;
2053pub const MQPMRF_MSG_ID: MQLONG = 1;
2054pub const MQPMRF_CORREL_ID: MQLONG = 2;
2055pub const MQPMRF_GROUP_ID: MQLONG = 4;
2056pub const MQPMRF_FEEDBACK: MQLONG = 8;
2057pub const MQPMRF_ACCOUNTING_TOKEN: MQLONG = 16;
2058pub const MQPMRF_NONE: MQLONG = 0;
2059pub const MQACTP_NEW: MQLONG = 0;
2060pub const MQACTP_FORWARD: MQLONG = 1;
2061pub const MQACTP_REPLY: MQLONG = 2;
2062pub const MQACTP_REPORT: MQLONG = 3;
2063pub const MQRFH_STRUC_ID: &::std::ffi::CStr = c"RFH ";
2064pub const MQRFH_VERSION_1: MQLONG = 1;
2065pub const MQRFH_VERSION_2: MQLONG = 2;
2066pub const MQRFH_STRUC_LENGTH_FIXED: usize = 32;
2067pub const MQRFH_STRUC_LENGTH_FIXED_2: usize = 36;
2068pub const MQRFH_LENGTH_1: usize = 32;
2069pub const MQRFH_CURRENT_LENGTH: usize = 32;
2070pub const MQRFH_NONE: MQLONG = 0;
2071pub const MQRFH_NO_FLAGS: MQLONG = 0;
2072pub const MQRFH_FLAGS_RESTRICTED_MASK: MQLONG = -65536;
2073pub const MQNVS_APPL_TYPE: &::std::ffi::CStr = c"OPT_APP_GRP ";
2074pub const MQNVS_MSG_TYPE: &::std::ffi::CStr = c"OPT_MSG_TYPE ";
2075pub const MQRFH2_LENGTH_2: usize = 36;
2076pub const MQRFH2_CURRENT_LENGTH: usize = 36;
2077pub const MQRMH_STRUC_ID: &::std::ffi::CStr = c"RMH ";
2078pub const MQRMH_VERSION_1: MQLONG = 1;
2079pub const MQRMH_CURRENT_VERSION: MQLONG = 1;
2080pub const MQRMH_LENGTH_1: usize = 108;
2081pub const MQRMH_CURRENT_LENGTH: usize = 108;
2082pub const MQRMHF_LAST: MQLONG = 1;
2083pub const MQRMHF_NOT_LAST: MQLONG = 0;
2084pub const MQOII_NONE: &[u8; 25] = 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";
2085pub const MQSD_STRUC_ID: &::std::ffi::CStr = c"SD  ";
2086pub const MQSD_VERSION_1: MQLONG = 1;
2087pub const MQSD_CURRENT_VERSION: MQLONG = 1;
2088pub const MQSD_LENGTH_1: usize = 344;
2089pub const MQSD_CURRENT_LENGTH: usize = 344;
2090pub const MQSID_NONE: &[u8; 41] = 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";
2091pub const MQSIDT_NONE: u8 = 0u8;
2092pub const MQSIDT_NT_SECURITY_ID: u8 = 1u8;
2093pub const MQSIDT_WAS_SECURITY_ID: u8 = 2u8;
2094pub const MQSMPO_STRUC_ID: &::std::ffi::CStr = c"SMPO";
2095pub const MQSMPO_VERSION_1: MQLONG = 1;
2096pub const MQSMPO_CURRENT_VERSION: MQLONG = 1;
2097pub const MQSMPO_LENGTH_1: usize = 20;
2098pub const MQSMPO_CURRENT_LENGTH: usize = 20;
2099pub const MQSMPO_SET_FIRST: MQLONG = 0;
2100pub const MQSMPO_SET_PROP_UNDER_CURSOR: MQLONG = 1;
2101pub const MQSMPO_SET_PROP_AFTER_CURSOR: MQLONG = 2;
2102pub const MQSMPO_APPEND_PROPERTY: MQLONG = 4;
2103pub const MQSMPO_SET_PROP_BEFORE_CURSOR: MQLONG = 8;
2104pub const MQSMPO_NONE: MQLONG = 0;
2105pub const MQSRO_STRUC_ID: &::std::ffi::CStr = c"SRO ";
2106pub const MQSRO_VERSION_1: MQLONG = 1;
2107pub const MQSRO_CURRENT_VERSION: MQLONG = 1;
2108pub const MQSRO_LENGTH_1: usize = 16;
2109pub const MQSRO_CURRENT_LENGTH: usize = 16;
2110pub const MQSRO_NONE: MQLONG = 0;
2111pub const MQSRO_FAIL_IF_QUIESCING: MQLONG = 8192;
2112pub const MQSTS_STRUC_ID: &::std::ffi::CStr = c"STAT";
2113pub const MQSTS_VERSION_1: MQLONG = 1;
2114pub const MQSTS_VERSION_2: MQLONG = 2;
2115pub const MQSTS_CURRENT_VERSION: MQLONG = 2;
2116pub const MQSTS_LENGTH_1: usize = 224;
2117pub const MQSTS_LENGTH_2: usize = 280;
2118pub const MQSTS_CURRENT_LENGTH: usize = 280;
2119pub const MQTM_STRUC_ID: &::std::ffi::CStr = c"TM  ";
2120pub const MQTM_VERSION_1: MQLONG = 1;
2121pub const MQTM_CURRENT_VERSION: MQLONG = 1;
2122pub const MQTM_LENGTH_1: usize = 684;
2123pub const MQTM_CURRENT_LENGTH: usize = 684;
2124pub const MQTMC_STRUC_ID: &::std::ffi::CStr = c"TMC ";
2125pub const MQTMC2_LENGTH_1: usize = 684;
2126pub const MQTMC2_LENGTH_2: usize = 732;
2127pub const MQTMC2_CURRENT_LENGTH: usize = 732;
2128pub const MQTMC_VERSION_1: &::std::ffi::CStr = c"   1";
2129pub const MQTMC_VERSION_2: &::std::ffi::CStr = c"   2";
2130pub const MQTMC_CURRENT_VERSION: &::std::ffi::CStr = c"   2";
2131pub const MQWIH_STRUC_ID: &::std::ffi::CStr = c"WIH ";
2132pub const MQWIH_VERSION_1: MQLONG = 1;
2133pub const MQWIH_CURRENT_VERSION: MQLONG = 1;
2134pub const MQWIH_LENGTH_1: usize = 120;
2135pub const MQWIH_CURRENT_LENGTH: usize = 120;
2136pub const MQWIH_NONE: MQLONG = 0;
2137pub const MQXQH_STRUC_ID: &::std::ffi::CStr = c"XQH ";
2138pub const MQXQH_VERSION_1: MQLONG = 1;
2139pub const MQXQH_CURRENT_VERSION: MQLONG = 1;
2140pub const MQXQH_LENGTH_1: usize = 428;
2141pub const MQXQH_CURRENT_LENGTH: usize = 428;
2142pub const MQHC_DEF_HCONN: MQHCONN = 0;
2143pub const MQHC_UNUSABLE_HCONN: MQHCONN = -1;
2144pub const MQHC_UNASSOCIATED_HCONN: MQHCONN = -3;
2145pub const MQ_OPERATOR_MESSAGE_LENGTH: usize = 4;
2146pub const MQ_ABEND_CODE_LENGTH: usize = 4;
2147pub const MQ_ACCOUNTING_TOKEN_LENGTH: usize = 32;
2148pub const MQ_APPL_DESC_LENGTH: usize = 64;
2149pub const MQ_APPL_IDENTITY_DATA_LENGTH: usize = 32;
2150pub const MQ_APPL_NAME_LENGTH: usize = 28;
2151pub const MQ_APPL_ORIGIN_DATA_LENGTH: usize = 4;
2152pub const MQ_APPL_TAG_LENGTH: usize = 28;
2153pub const MQ_ARM_SUFFIX_LENGTH: usize = 2;
2154pub const MQ_ATTENTION_ID_LENGTH: usize = 4;
2155pub const MQ_AUTH_INFO_CONN_NAME_LENGTH: usize = 264;
2156pub const MQ_AUTH_INFO_DESC_LENGTH: usize = 64;
2157pub const MQ_AUTH_INFO_NAME_LENGTH: usize = 48;
2158pub const MQ_AUTH_INFO_OCSP_URL_LENGTH: usize = 256;
2159pub const MQ_AUTHENTICATOR_LENGTH: usize = 8;
2160pub const MQ_AUTO_REORG_CATALOG_LENGTH: usize = 44;
2161pub const MQ_AUTO_REORG_TIME_LENGTH: usize = 4;
2162pub const MQ_BATCH_INTERFACE_ID_LENGTH: usize = 8;
2163pub const MQ_BRIDGE_NAME_LENGTH: usize = 24;
2164pub const MQ_CANCEL_CODE_LENGTH: usize = 4;
2165pub const MQ_CF_STRUC_DESC_LENGTH: usize = 64;
2166pub const MQ_CF_STRUC_NAME_LENGTH: usize = 12;
2167pub const MQ_CHANNEL_DATE_LENGTH: usize = 12;
2168pub const MQ_CHANNEL_DESC_LENGTH: usize = 64;
2169pub const MQ_CHANNEL_NAME_LENGTH: usize = 20;
2170pub const MQ_CHANNEL_TIME_LENGTH: usize = 8;
2171pub const MQ_CHINIT_SERVICE_PARM_LENGTH: usize = 32;
2172pub const MQ_CICS_FILE_NAME_LENGTH: usize = 8;
2173pub const MQ_AMQP_CLIENT_ID_LENGTH: usize = 256;
2174pub const MQ_CLIENT_ID_LENGTH: usize = 23;
2175pub const MQ_CLIENT_USER_ID_LENGTH: usize = 1024;
2176pub const MQ_CLUSTER_NAME_LENGTH: usize = 48;
2177pub const MQ_COMM_INFO_DESC_LENGTH: usize = 64;
2178pub const MQ_COMM_INFO_NAME_LENGTH: usize = 48;
2179pub const MQ_CONN_NAME_LENGTH: usize = 264;
2180pub const MQ_CONN_TAG_LENGTH: usize = 128;
2181pub const MQ_CONNECTION_ID_LENGTH: usize = 24;
2182pub const MQ_CORREL_ID_LENGTH: usize = 24;
2183pub const MQ_CREATION_DATE_LENGTH: usize = 12;
2184pub const MQ_CREATION_TIME_LENGTH: usize = 8;
2185pub const MQ_CSP_PASSWORD_LENGTH: usize = 256;
2186pub const MQ_CSP_TOKEN_LENGTH: usize = 8192;
2187pub const MQ_DATE_LENGTH: usize = 12;
2188pub const MQ_DISTINGUISHED_NAME_LENGTH: usize = 1024;
2189pub const MQ_DNS_GROUP_NAME_LENGTH: usize = 18;
2190pub const MQ_EXIT_DATA_LENGTH: usize = 32;
2191pub const MQ_EXIT_INFO_NAME_LENGTH: usize = 48;
2192pub const MQ_EXIT_NAME_LENGTH: usize = 128;
2193pub const MQ_EXIT_PD_AREA_LENGTH: usize = 48;
2194pub const MQ_EXIT_USER_AREA_LENGTH: usize = 16;
2195pub const MQ_FACILITY_LENGTH: usize = 8;
2196pub const MQ_FACILITY_LIKE_LENGTH: usize = 4;
2197pub const MQ_FORMAT_LENGTH: usize = 8;
2198pub const MQ_FUNCTION_LENGTH: usize = 4;
2199pub const MQ_GROUP_ID_LENGTH: usize = 24;
2200pub const MQ_APPL_FUNCTION_NAME_LENGTH: usize = 10;
2201pub const MQ_INITIAL_KEY_LENGTH: usize = 256;
2202pub const MQ_INSTALLATION_DESC_LENGTH: usize = 64;
2203pub const MQ_INSTALLATION_NAME_LENGTH: usize = 16;
2204pub const MQ_INSTALLATION_PATH_LENGTH: usize = 256;
2205pub const MQ_ISOTIME_LENGTH: usize = 64;
2206pub const MQ_JAAS_CONFIG_LENGTH: usize = 1024;
2207pub const MQ_LDAP_PASSWORD_LENGTH: usize = 32;
2208pub const MQ_LDAP_BASE_DN_LENGTH: usize = 1024;
2209pub const MQ_LDAP_FIELD_LENGTH: usize = 128;
2210pub const MQ_LDAP_CLASS_LENGTH: usize = 128;
2211pub const MQ_LISTENER_NAME_LENGTH: usize = 48;
2212pub const MQ_LISTENER_DESC_LENGTH: usize = 64;
2213pub const MQ_LOCAL_ADDRESS_LENGTH: usize = 48;
2214pub const MQ_LTERM_OVERRIDE_LENGTH: usize = 8;
2215pub const MQ_LU_NAME_LENGTH: usize = 8;
2216pub const MQ_LUWID_LENGTH: usize = 16;
2217pub const MQ_MAX_EXIT_NAME_LENGTH: usize = 128;
2218pub const MQ_MAX_MCA_USER_ID_LENGTH: usize = 64;
2219pub const MQ_MAX_LDAP_MCA_USER_ID_LENGTH: usize = 1024;
2220pub const MQ_MAX_PROPERTY_NAME_LENGTH: usize = 4095;
2221pub const MQ_MAX_USER_ID_LENGTH: usize = 64;
2222pub const MQ_MCA_JOB_NAME_LENGTH: usize = 28;
2223pub const MQ_MCA_NAME_LENGTH: usize = 20;
2224pub const MQ_MCA_USER_DATA_LENGTH: usize = 32;
2225pub const MQ_MCA_USER_ID_LENGTH: usize = 12;
2226pub const MQ_LDAP_MCA_USER_ID_LENGTH: usize = 1024;
2227pub const MQ_MFS_MAP_NAME_LENGTH: usize = 8;
2228pub const MQ_MODE_NAME_LENGTH: usize = 8;
2229pub const MQ_MSG_HEADER_LENGTH: usize = 4000;
2230pub const MQ_MSG_ID_LENGTH: usize = 24;
2231pub const MQ_MSG_TOKEN_LENGTH: usize = 16;
2232pub const MQ_NAMELIST_DESC_LENGTH: usize = 64;
2233pub const MQ_NAMELIST_NAME_LENGTH: usize = 48;
2234pub const MQ_NHA_GROUP_NAME_LENGTH: usize = 48;
2235pub const MQ_NHA_INSTANCE_NAME_LENGTH: usize = 48;
2236pub const MQ_OBJECT_INSTANCE_ID_LENGTH: usize = 24;
2237pub const MQ_OBJECT_NAME_LENGTH: usize = 48;
2238pub const MQ_PASS_TICKET_APPL_LENGTH: usize = 8;
2239pub const MQ_PASSWORD_LENGTH: usize = 12;
2240pub const MQ_PROCESS_APPL_ID_LENGTH: usize = 256;
2241pub const MQ_PROCESS_DESC_LENGTH: usize = 64;
2242pub const MQ_PROCESS_ENV_DATA_LENGTH: usize = 128;
2243pub const MQ_PROCESS_NAME_LENGTH: usize = 48;
2244pub const MQ_PROCESS_USER_DATA_LENGTH: usize = 128;
2245pub const MQ_PROGRAM_NAME_LENGTH: usize = 20;
2246pub const MQ_PUT_APPL_NAME_LENGTH: usize = 28;
2247pub const MQ_PUT_DATE_LENGTH: usize = 8;
2248pub const MQ_PUT_TIME_LENGTH: usize = 8;
2249pub const MQ_Q_DESC_LENGTH: usize = 64;
2250pub const MQ_Q_MGR_DESC_LENGTH: usize = 64;
2251pub const MQ_Q_MGR_IDENTIFIER_LENGTH: usize = 48;
2252pub const MQ_Q_MGR_NAME_LENGTH: usize = 48;
2253pub const MQ_Q_NAME_LENGTH: usize = 48;
2254pub const MQ_QSG_NAME_LENGTH: usize = 4;
2255pub const MQ_REMOTE_SYS_ID_LENGTH: usize = 4;
2256pub const MQ_SECURITY_ID_LENGTH: usize = 40;
2257pub const MQ_SELECTOR_LENGTH: usize = 10240;
2258pub const MQ_SERVICE_ARGS_LENGTH: usize = 255;
2259pub const MQ_SERVICE_COMMAND_LENGTH: usize = 255;
2260pub const MQ_SERVICE_DESC_LENGTH: usize = 64;
2261pub const MQ_SERVICE_NAME_LENGTH: usize = 32;
2262pub const MQ_SERVICE_PATH_LENGTH: usize = 255;
2263pub const MQ_SERVICE_STEP_LENGTH: usize = 8;
2264pub const MQ_SHORT_CONN_NAME_LENGTH: usize = 20;
2265pub const MQ_SHORT_DNAME_LENGTH: usize = 256;
2266pub const MQ_SSL_CIPHER_SPEC_LENGTH: usize = 32;
2267pub const MQ_SSL_CIPHER_SUITE_LENGTH: usize = 32;
2268pub const MQ_SSL_CRYPTO_HARDWARE_LENGTH: usize = 256;
2269pub const MQ_SSL_ENCRYP_KEY_REPO_PWD_LEN: usize = 1536;
2270pub const MQ_SSL_HANDSHAKE_STAGE_LENGTH: usize = 32;
2271pub const MQ_SSL_KEY_LIBRARY_LENGTH: usize = 44;
2272pub const MQ_SSL_KEY_MEMBER_LENGTH: usize = 8;
2273pub const MQ_SSL_KEY_REPOSITORY_LENGTH: usize = 256;
2274pub const MQ_SSL_KEY_REPO_PWD_LEN: usize = 1024;
2275pub const MQ_SSL_PEER_NAME_LENGTH: usize = 1024;
2276pub const MQ_SSL_SHORT_PEER_NAME_LENGTH: usize = 256;
2277pub const MQ_START_CODE_LENGTH: usize = 4;
2278pub const MQ_STORAGE_CLASS_DESC_LENGTH: usize = 64;
2279pub const MQ_STORAGE_CLASS_LENGTH: usize = 8;
2280pub const MQ_SUB_IDENTITY_LENGTH: usize = 128;
2281pub const MQ_SUB_POINT_LENGTH: usize = 128;
2282pub const MQ_TCP_NAME_LENGTH: usize = 8;
2283pub const MQ_TEMPORARY_Q_PREFIX_LENGTH: usize = 32;
2284pub const MQ_TIME_LENGTH: usize = 8;
2285pub const MQ_TOPIC_DESC_LENGTH: usize = 64;
2286pub const MQ_TOPIC_NAME_LENGTH: usize = 48;
2287pub const MQ_TOPIC_STR_LENGTH: usize = 10240;
2288pub const MQ_TOTAL_EXIT_DATA_LENGTH: usize = 999;
2289pub const MQ_TOTAL_EXIT_NAME_LENGTH: usize = 999;
2290pub const MQ_TP_NAME_LENGTH: usize = 64;
2291pub const MQ_TPIPE_NAME_LENGTH: usize = 8;
2292pub const MQ_TRAN_INSTANCE_ID_LENGTH: usize = 16;
2293pub const MQ_TRANSACTION_ID_LENGTH: usize = 4;
2294pub const MQ_TRIGGER_DATA_LENGTH: usize = 64;
2295pub const MQ_TRIGGER_PROGRAM_NAME_LENGTH: usize = 8;
2296pub const MQ_TRIGGER_TERM_ID_LENGTH: usize = 4;
2297pub const MQ_TRIGGER_TRANS_ID_LENGTH: usize = 4;
2298pub const MQ_USER_ID_LENGTH: usize = 12;
2299pub const MQ_LONG_USER_ID_LENGTH: usize = 1024;
2300pub const MQ_VERSION_LENGTH: usize = 8;
2301pub const MQ_XCF_GROUP_NAME_LENGTH: usize = 8;
2302pub const MQ_XCF_MEMBER_NAME_LENGTH: usize = 16;
2303pub const MQ_SMDS_NAME_LENGTH: usize = 4;
2304pub const MQ_CHLAUTH_DESC_LENGTH: usize = 64;
2305pub const MQ_CUSTOM_LENGTH: usize = 128;
2306pub const MQ_SUITE_B_SIZE: MQLONG = 4;
2307pub const MQ_CERT_LABEL_LENGTH: usize = 64;
2308pub const MQCC_OK: MQLONG = 0;
2309pub const MQCC_WARNING: MQLONG = 1;
2310pub const MQCC_FAILED: MQLONG = 2;
2311pub const MQCC_UNKNOWN: MQLONG = -1;
2312pub const MQRC_NONE: MQLONG = 0;
2313pub const MQRC_APPL_FIRST: MQLONG = 900;
2314pub const MQRC_APPL_LAST: MQLONG = 999;
2315pub const MQRC_ALIAS_BASE_Q_TYPE_ERROR: MQLONG = 2001;
2316pub const MQRC_ALREADY_CONNECTED: MQLONG = 2002;
2317pub const MQRC_BACKED_OUT: MQLONG = 2003;
2318pub const MQRC_BUFFER_ERROR: MQLONG = 2004;
2319pub const MQRC_BUFFER_LENGTH_ERROR: MQLONG = 2005;
2320pub const MQRC_CHAR_ATTR_LENGTH_ERROR: MQLONG = 2006;
2321pub const MQRC_CHAR_ATTRS_ERROR: MQLONG = 2007;
2322pub const MQRC_CHAR_ATTRS_TOO_SHORT: MQLONG = 2008;
2323pub const MQRC_CONNECTION_BROKEN: MQLONG = 2009;
2324pub const MQRC_DATA_LENGTH_ERROR: MQLONG = 2010;
2325pub const MQRC_DYNAMIC_Q_NAME_ERROR: MQLONG = 2011;
2326pub const MQRC_ENVIRONMENT_ERROR: MQLONG = 2012;
2327pub const MQRC_EXPIRY_ERROR: MQLONG = 2013;
2328pub const MQRC_FEEDBACK_ERROR: MQLONG = 2014;
2329pub const MQRC_GET_INHIBITED: MQLONG = 2016;
2330pub const MQRC_HANDLE_NOT_AVAILABLE: MQLONG = 2017;
2331pub const MQRC_HCONN_ERROR: MQLONG = 2018;
2332pub const MQRC_HOBJ_ERROR: MQLONG = 2019;
2333pub const MQRC_INHIBIT_VALUE_ERROR: MQLONG = 2020;
2334pub const MQRC_INT_ATTR_COUNT_ERROR: MQLONG = 2021;
2335pub const MQRC_INT_ATTR_COUNT_TOO_SMALL: MQLONG = 2022;
2336pub const MQRC_INT_ATTRS_ARRAY_ERROR: MQLONG = 2023;
2337pub const MQRC_SYNCPOINT_LIMIT_REACHED: MQLONG = 2024;
2338pub const MQRC_MAX_CONNS_LIMIT_REACHED: MQLONG = 2025;
2339pub const MQRC_MD_ERROR: MQLONG = 2026;
2340pub const MQRC_MISSING_REPLY_TO_Q: MQLONG = 2027;
2341pub const MQRC_MSG_TYPE_ERROR: MQLONG = 2029;
2342pub const MQRC_MSG_TOO_BIG_FOR_Q: MQLONG = 2030;
2343pub const MQRC_MSG_TOO_BIG_FOR_Q_MGR: MQLONG = 2031;
2344pub const MQRC_NO_MSG_AVAILABLE: MQLONG = 2033;
2345pub const MQRC_NO_MSG_UNDER_CURSOR: MQLONG = 2034;
2346pub const MQRC_NOT_AUTHORIZED: MQLONG = 2035;
2347pub const MQRC_NOT_OPEN_FOR_BROWSE: MQLONG = 2036;
2348pub const MQRC_NOT_OPEN_FOR_INPUT: MQLONG = 2037;
2349pub const MQRC_NOT_OPEN_FOR_INQUIRE: MQLONG = 2038;
2350pub const MQRC_NOT_OPEN_FOR_OUTPUT: MQLONG = 2039;
2351pub const MQRC_NOT_OPEN_FOR_SET: MQLONG = 2040;
2352pub const MQRC_OBJECT_CHANGED: MQLONG = 2041;
2353pub const MQRC_OBJECT_IN_USE: MQLONG = 2042;
2354pub const MQRC_OBJECT_TYPE_ERROR: MQLONG = 2043;
2355pub const MQRC_OD_ERROR: MQLONG = 2044;
2356pub const MQRC_OPTION_NOT_VALID_FOR_TYPE: MQLONG = 2045;
2357pub const MQRC_OPTIONS_ERROR: MQLONG = 2046;
2358pub const MQRC_PERSISTENCE_ERROR: MQLONG = 2047;
2359pub const MQRC_PERSISTENT_NOT_ALLOWED: MQLONG = 2048;
2360pub const MQRC_PRIORITY_EXCEEDS_MAXIMUM: MQLONG = 2049;
2361pub const MQRC_PRIORITY_ERROR: MQLONG = 2050;
2362pub const MQRC_PUT_INHIBITED: MQLONG = 2051;
2363pub const MQRC_Q_DELETED: MQLONG = 2052;
2364pub const MQRC_Q_FULL: MQLONG = 2053;
2365pub const MQRC_Q_NOT_EMPTY: MQLONG = 2055;
2366pub const MQRC_Q_SPACE_NOT_AVAILABLE: MQLONG = 2056;
2367pub const MQRC_Q_TYPE_ERROR: MQLONG = 2057;
2368pub const MQRC_Q_MGR_NAME_ERROR: MQLONG = 2058;
2369pub const MQRC_Q_MGR_NOT_AVAILABLE: MQLONG = 2059;
2370pub const MQRC_REPORT_OPTIONS_ERROR: MQLONG = 2061;
2371pub const MQRC_SECOND_MARK_NOT_ALLOWED: MQLONG = 2062;
2372pub const MQRC_SECURITY_ERROR: MQLONG = 2063;
2373pub const MQRC_TOKEN_TIMESTAMP_NOT_VALID: MQLONG = 2064;
2374pub const MQRC_SELECTOR_COUNT_ERROR: MQLONG = 2065;
2375pub const MQRC_SELECTOR_LIMIT_EXCEEDED: MQLONG = 2066;
2376pub const MQRC_SELECTOR_ERROR: MQLONG = 2067;
2377pub const MQRC_SELECTOR_NOT_FOR_TYPE: MQLONG = 2068;
2378pub const MQRC_SIGNAL_OUTSTANDING: MQLONG = 2069;
2379pub const MQRC_SIGNAL_REQUEST_ACCEPTED: MQLONG = 2070;
2380pub const MQRC_STORAGE_NOT_AVAILABLE: MQLONG = 2071;
2381pub const MQRC_SYNCPOINT_NOT_AVAILABLE: MQLONG = 2072;
2382pub const MQRC_TRIGGER_CONTROL_ERROR: MQLONG = 2075;
2383pub const MQRC_TRIGGER_DEPTH_ERROR: MQLONG = 2076;
2384pub const MQRC_TRIGGER_MSG_PRIORITY_ERR: MQLONG = 2077;
2385pub const MQRC_TRIGGER_TYPE_ERROR: MQLONG = 2078;
2386pub const MQRC_TRUNCATED_MSG_ACCEPTED: MQLONG = 2079;
2387pub const MQRC_TRUNCATED_MSG_FAILED: MQLONG = 2080;
2388pub const MQRC_UNKNOWN_ALIAS_BASE_Q: MQLONG = 2082;
2389pub const MQRC_UNKNOWN_OBJECT_NAME: MQLONG = 2085;
2390pub const MQRC_UNKNOWN_OBJECT_Q_MGR: MQLONG = 2086;
2391pub const MQRC_UNKNOWN_REMOTE_Q_MGR: MQLONG = 2087;
2392pub const MQRC_WAIT_INTERVAL_ERROR: MQLONG = 2090;
2393pub const MQRC_XMIT_Q_TYPE_ERROR: MQLONG = 2091;
2394pub const MQRC_XMIT_Q_USAGE_ERROR: MQLONG = 2092;
2395pub const MQRC_NOT_OPEN_FOR_PASS_ALL: MQLONG = 2093;
2396pub const MQRC_NOT_OPEN_FOR_PASS_IDENT: MQLONG = 2094;
2397pub const MQRC_NOT_OPEN_FOR_SET_ALL: MQLONG = 2095;
2398pub const MQRC_NOT_OPEN_FOR_SET_IDENT: MQLONG = 2096;
2399pub const MQRC_CONTEXT_HANDLE_ERROR: MQLONG = 2097;
2400pub const MQRC_CONTEXT_NOT_AVAILABLE: MQLONG = 2098;
2401pub const MQRC_SIGNAL1_ERROR: MQLONG = 2099;
2402pub const MQRC_OBJECT_ALREADY_EXISTS: MQLONG = 2100;
2403pub const MQRC_OBJECT_DAMAGED: MQLONG = 2101;
2404pub const MQRC_RESOURCE_PROBLEM: MQLONG = 2102;
2405pub const MQRC_ANOTHER_Q_MGR_CONNECTED: MQLONG = 2103;
2406pub const MQRC_UNKNOWN_REPORT_OPTION: MQLONG = 2104;
2407pub const MQRC_STORAGE_CLASS_ERROR: MQLONG = 2105;
2408pub const MQRC_COD_NOT_VALID_FOR_XCF_Q: MQLONG = 2106;
2409pub const MQRC_XWAIT_CANCELED: MQLONG = 2107;
2410pub const MQRC_XWAIT_ERROR: MQLONG = 2108;
2411pub const MQRC_SUPPRESSED_BY_EXIT: MQLONG = 2109;
2412pub const MQRC_FORMAT_ERROR: MQLONG = 2110;
2413pub const MQRC_SOURCE_CCSID_ERROR: MQLONG = 2111;
2414pub const MQRC_SOURCE_INTEGER_ENC_ERROR: MQLONG = 2112;
2415pub const MQRC_SOURCE_DECIMAL_ENC_ERROR: MQLONG = 2113;
2416pub const MQRC_SOURCE_FLOAT_ENC_ERROR: MQLONG = 2114;
2417pub const MQRC_TARGET_CCSID_ERROR: MQLONG = 2115;
2418pub const MQRC_TARGET_INTEGER_ENC_ERROR: MQLONG = 2116;
2419pub const MQRC_TARGET_DECIMAL_ENC_ERROR: MQLONG = 2117;
2420pub const MQRC_TARGET_FLOAT_ENC_ERROR: MQLONG = 2118;
2421pub const MQRC_NOT_CONVERTED: MQLONG = 2119;
2422pub const MQRC_CONVERTED_MSG_TOO_BIG: MQLONG = 2120;
2423pub const MQRC_TRUNCATED: MQLONG = 2120;
2424pub const MQRC_NO_EXTERNAL_PARTICIPANTS: MQLONG = 2121;
2425pub const MQRC_PARTICIPANT_NOT_AVAILABLE: MQLONG = 2122;
2426pub const MQRC_OUTCOME_MIXED: MQLONG = 2123;
2427pub const MQRC_OUTCOME_PENDING: MQLONG = 2124;
2428pub const MQRC_BRIDGE_STARTED: MQLONG = 2125;
2429pub const MQRC_BRIDGE_STOPPED: MQLONG = 2126;
2430pub const MQRC_ADAPTER_STORAGE_SHORTAGE: MQLONG = 2127;
2431pub const MQRC_UOW_IN_PROGRESS: MQLONG = 2128;
2432pub const MQRC_ADAPTER_CONN_LOAD_ERROR: MQLONG = 2129;
2433pub const MQRC_ADAPTER_SERV_LOAD_ERROR: MQLONG = 2130;
2434pub const MQRC_ADAPTER_DEFS_ERROR: MQLONG = 2131;
2435pub const MQRC_ADAPTER_DEFS_LOAD_ERROR: MQLONG = 2132;
2436pub const MQRC_ADAPTER_CONV_LOAD_ERROR: MQLONG = 2133;
2437pub const MQRC_BO_ERROR: MQLONG = 2134;
2438pub const MQRC_DH_ERROR: MQLONG = 2135;
2439pub const MQRC_MULTIPLE_REASONS: MQLONG = 2136;
2440pub const MQRC_OPEN_FAILED: MQLONG = 2137;
2441pub const MQRC_ADAPTER_DISC_LOAD_ERROR: MQLONG = 2138;
2442pub const MQRC_CNO_ERROR: MQLONG = 2139;
2443pub const MQRC_CICS_WAIT_FAILED: MQLONG = 2140;
2444pub const MQRC_DLH_ERROR: MQLONG = 2141;
2445pub const MQRC_HEADER_ERROR: MQLONG = 2142;
2446pub const MQRC_SOURCE_LENGTH_ERROR: MQLONG = 2143;
2447pub const MQRC_TARGET_LENGTH_ERROR: MQLONG = 2144;
2448pub const MQRC_SOURCE_BUFFER_ERROR: MQLONG = 2145;
2449pub const MQRC_TARGET_BUFFER_ERROR: MQLONG = 2146;
2450pub const MQRC_INCOMPLETE_TRANSACTION: MQLONG = 2147;
2451pub const MQRC_IIH_ERROR: MQLONG = 2148;
2452pub const MQRC_PCF_ERROR: MQLONG = 2149;
2453pub const MQRC_DBCS_ERROR: MQLONG = 2150;
2454pub const MQRC_OBJECT_NAME_ERROR: MQLONG = 2152;
2455pub const MQRC_OBJECT_Q_MGR_NAME_ERROR: MQLONG = 2153;
2456pub const MQRC_RECS_PRESENT_ERROR: MQLONG = 2154;
2457pub const MQRC_OBJECT_RECORDS_ERROR: MQLONG = 2155;
2458pub const MQRC_RESPONSE_RECORDS_ERROR: MQLONG = 2156;
2459pub const MQRC_ASID_MISMATCH: MQLONG = 2157;
2460pub const MQRC_PMO_RECORD_FLAGS_ERROR: MQLONG = 2158;
2461pub const MQRC_PUT_MSG_RECORDS_ERROR: MQLONG = 2159;
2462pub const MQRC_CONN_ID_IN_USE: MQLONG = 2160;
2463pub const MQRC_Q_MGR_QUIESCING: MQLONG = 2161;
2464pub const MQRC_Q_MGR_STOPPING: MQLONG = 2162;
2465pub const MQRC_DUPLICATE_RECOV_COORD: MQLONG = 2163;
2466pub const MQRC_PMO_ERROR: MQLONG = 2173;
2467pub const MQRC_API_EXIT_NOT_FOUND: MQLONG = 2182;
2468pub const MQRC_API_EXIT_LOAD_ERROR: MQLONG = 2183;
2469pub const MQRC_REMOTE_Q_NAME_ERROR: MQLONG = 2184;
2470pub const MQRC_INCONSISTENT_PERSISTENCE: MQLONG = 2185;
2471pub const MQRC_GMO_ERROR: MQLONG = 2186;
2472pub const MQRC_CICS_BRIDGE_RESTRICTION: MQLONG = 2187;
2473pub const MQRC_STOPPED_BY_CLUSTER_EXIT: MQLONG = 2188;
2474pub const MQRC_CLUSTER_RESOLUTION_ERROR: MQLONG = 2189;
2475pub const MQRC_CONVERTED_STRING_TOO_BIG: MQLONG = 2190;
2476pub const MQRC_TMC_ERROR: MQLONG = 2191;
2477pub const MQRC_STORAGE_MEDIUM_FULL: MQLONG = 2192;
2478pub const MQRC_PAGESET_FULL: MQLONG = 2192;
2479pub const MQRC_PAGESET_ERROR: MQLONG = 2193;
2480pub const MQRC_NAME_NOT_VALID_FOR_TYPE: MQLONG = 2194;
2481pub const MQRC_UNEXPECTED_ERROR: MQLONG = 2195;
2482pub const MQRC_UNKNOWN_XMIT_Q: MQLONG = 2196;
2483pub const MQRC_UNKNOWN_DEF_XMIT_Q: MQLONG = 2197;
2484pub const MQRC_DEF_XMIT_Q_TYPE_ERROR: MQLONG = 2198;
2485pub const MQRC_DEF_XMIT_Q_USAGE_ERROR: MQLONG = 2199;
2486pub const MQRC_MSG_MARKED_BROWSE_CO_OP: MQLONG = 2200;
2487pub const MQRC_NAME_IN_USE: MQLONG = 2201;
2488pub const MQRC_CONNECTION_QUIESCING: MQLONG = 2202;
2489pub const MQRC_CONNECTION_STOPPING: MQLONG = 2203;
2490pub const MQRC_ADAPTER_NOT_AVAILABLE: MQLONG = 2204;
2491pub const MQRC_MSG_ID_ERROR: MQLONG = 2206;
2492pub const MQRC_CORREL_ID_ERROR: MQLONG = 2207;
2493pub const MQRC_FILE_SYSTEM_ERROR: MQLONG = 2208;
2494pub const MQRC_NO_MSG_LOCKED: MQLONG = 2209;
2495pub const MQRC_SOAP_DOTNET_ERROR: MQLONG = 2210;
2496pub const MQRC_SOAP_AXIS_ERROR: MQLONG = 2211;
2497pub const MQRC_SOAP_URL_ERROR: MQLONG = 2212;
2498pub const MQRC_FILE_NOT_AUDITED: MQLONG = 2216;
2499pub const MQRC_CONNECTION_NOT_AUTHORIZED: MQLONG = 2217;
2500pub const MQRC_MSG_TOO_BIG_FOR_CHANNEL: MQLONG = 2218;
2501pub const MQRC_CALL_IN_PROGRESS: MQLONG = 2219;
2502pub const MQRC_RMH_ERROR: MQLONG = 2220;
2503pub const MQRC_Q_MGR_ACTIVE: MQLONG = 2222;
2504pub const MQRC_Q_MGR_NOT_ACTIVE: MQLONG = 2223;
2505pub const MQRC_Q_DEPTH_HIGH: MQLONG = 2224;
2506pub const MQRC_Q_DEPTH_LOW: MQLONG = 2225;
2507pub const MQRC_Q_SERVICE_INTERVAL_HIGH: MQLONG = 2226;
2508pub const MQRC_Q_SERVICE_INTERVAL_OK: MQLONG = 2227;
2509pub const MQRC_RFH_HEADER_FIELD_ERROR: MQLONG = 2228;
2510pub const MQRC_RAS_PROPERTY_ERROR: MQLONG = 2229;
2511pub const MQRC_UNIT_OF_WORK_NOT_STARTED: MQLONG = 2232;
2512pub const MQRC_CHANNEL_AUTO_DEF_OK: MQLONG = 2233;
2513pub const MQRC_CHANNEL_AUTO_DEF_ERROR: MQLONG = 2234;
2514pub const MQRC_CFH_ERROR: MQLONG = 2235;
2515pub const MQRC_CFIL_ERROR: MQLONG = 2236;
2516pub const MQRC_CFIN_ERROR: MQLONG = 2237;
2517pub const MQRC_CFSL_ERROR: MQLONG = 2238;
2518pub const MQRC_CFST_ERROR: MQLONG = 2239;
2519pub const MQRC_INCOMPLETE_GROUP: MQLONG = 2241;
2520pub const MQRC_INCOMPLETE_MSG: MQLONG = 2242;
2521pub const MQRC_INCONSISTENT_CCSIDS: MQLONG = 2243;
2522pub const MQRC_INCONSISTENT_ENCODINGS: MQLONG = 2244;
2523pub const MQRC_INCONSISTENT_UOW: MQLONG = 2245;
2524pub const MQRC_INVALID_MSG_UNDER_CURSOR: MQLONG = 2246;
2525pub const MQRC_MATCH_OPTIONS_ERROR: MQLONG = 2247;
2526pub const MQRC_MDE_ERROR: MQLONG = 2248;
2527pub const MQRC_MSG_FLAGS_ERROR: MQLONG = 2249;
2528pub const MQRC_MSG_SEQ_NUMBER_ERROR: MQLONG = 2250;
2529pub const MQRC_OFFSET_ERROR: MQLONG = 2251;
2530pub const MQRC_ORIGINAL_LENGTH_ERROR: MQLONG = 2252;
2531pub const MQRC_SEGMENT_LENGTH_ZERO: MQLONG = 2253;
2532pub const MQRC_UOW_NOT_AVAILABLE: MQLONG = 2255;
2533pub const MQRC_WRONG_GMO_VERSION: MQLONG = 2256;
2534pub const MQRC_WRONG_MD_VERSION: MQLONG = 2257;
2535pub const MQRC_GROUP_ID_ERROR: MQLONG = 2258;
2536pub const MQRC_INCONSISTENT_BROWSE: MQLONG = 2259;
2537pub const MQRC_XQH_ERROR: MQLONG = 2260;
2538pub const MQRC_SRC_ENV_ERROR: MQLONG = 2261;
2539pub const MQRC_SRC_NAME_ERROR: MQLONG = 2262;
2540pub const MQRC_DEST_ENV_ERROR: MQLONG = 2263;
2541pub const MQRC_DEST_NAME_ERROR: MQLONG = 2264;
2542pub const MQRC_TM_ERROR: MQLONG = 2265;
2543pub const MQRC_CLUSTER_EXIT_ERROR: MQLONG = 2266;
2544pub const MQRC_CLUSTER_EXIT_LOAD_ERROR: MQLONG = 2267;
2545pub const MQRC_CLUSTER_PUT_INHIBITED: MQLONG = 2268;
2546pub const MQRC_CLUSTER_RESOURCE_ERROR: MQLONG = 2269;
2547pub const MQRC_NO_DESTINATIONS_AVAILABLE: MQLONG = 2270;
2548pub const MQRC_CONN_TAG_IN_USE: MQLONG = 2271;
2549pub const MQRC_PARTIALLY_CONVERTED: MQLONG = 2272;
2550pub const MQRC_CONNECTION_ERROR: MQLONG = 2273;
2551pub const MQRC_OPTION_ENVIRONMENT_ERROR: MQLONG = 2274;
2552pub const MQRC_CD_ERROR: MQLONG = 2277;
2553pub const MQRC_CLIENT_CONN_ERROR: MQLONG = 2278;
2554pub const MQRC_CHANNEL_STOPPED_BY_USER: MQLONG = 2279;
2555pub const MQRC_HCONFIG_ERROR: MQLONG = 2280;
2556pub const MQRC_FUNCTION_ERROR: MQLONG = 2281;
2557pub const MQRC_CHANNEL_STARTED: MQLONG = 2282;
2558pub const MQRC_CHANNEL_STOPPED: MQLONG = 2283;
2559pub const MQRC_CHANNEL_CONV_ERROR: MQLONG = 2284;
2560pub const MQRC_SERVICE_NOT_AVAILABLE: MQLONG = 2285;
2561pub const MQRC_INITIALIZATION_FAILED: MQLONG = 2286;
2562pub const MQRC_TERMINATION_FAILED: MQLONG = 2287;
2563pub const MQRC_UNKNOWN_Q_NAME: MQLONG = 2288;
2564pub const MQRC_SERVICE_ERROR: MQLONG = 2289;
2565pub const MQRC_Q_ALREADY_EXISTS: MQLONG = 2290;
2566pub const MQRC_USER_ID_NOT_AVAILABLE: MQLONG = 2291;
2567pub const MQRC_UNKNOWN_ENTITY: MQLONG = 2292;
2568pub const MQRC_UNKNOWN_AUTH_ENTITY: MQLONG = 2293;
2569pub const MQRC_UNKNOWN_REF_OBJECT: MQLONG = 2294;
2570pub const MQRC_CHANNEL_ACTIVATED: MQLONG = 2295;
2571pub const MQRC_CHANNEL_NOT_ACTIVATED: MQLONG = 2296;
2572pub const MQRC_UOW_CANCELED: MQLONG = 2297;
2573pub const MQRC_FUNCTION_NOT_SUPPORTED: MQLONG = 2298;
2574pub const MQRC_SELECTOR_TYPE_ERROR: MQLONG = 2299;
2575pub const MQRC_COMMAND_TYPE_ERROR: MQLONG = 2300;
2576pub const MQRC_MULTIPLE_INSTANCE_ERROR: MQLONG = 2301;
2577pub const MQRC_SYSTEM_ITEM_NOT_ALTERABLE: MQLONG = 2302;
2578pub const MQRC_BAG_CONVERSION_ERROR: MQLONG = 2303;
2579pub const MQRC_SELECTOR_OUT_OF_RANGE: MQLONG = 2304;
2580pub const MQRC_SELECTOR_NOT_UNIQUE: MQLONG = 2305;
2581pub const MQRC_INDEX_NOT_PRESENT: MQLONG = 2306;
2582pub const MQRC_STRING_ERROR: MQLONG = 2307;
2583pub const MQRC_ENCODING_NOT_SUPPORTED: MQLONG = 2308;
2584pub const MQRC_SELECTOR_NOT_PRESENT: MQLONG = 2309;
2585pub const MQRC_OUT_SELECTOR_ERROR: MQLONG = 2310;
2586pub const MQRC_STRING_TRUNCATED: MQLONG = 2311;
2587pub const MQRC_SELECTOR_WRONG_TYPE: MQLONG = 2312;
2588pub const MQRC_INCONSISTENT_ITEM_TYPE: MQLONG = 2313;
2589pub const MQRC_INDEX_ERROR: MQLONG = 2314;
2590pub const MQRC_SYSTEM_BAG_NOT_ALTERABLE: MQLONG = 2315;
2591pub const MQRC_ITEM_COUNT_ERROR: MQLONG = 2316;
2592pub const MQRC_FORMAT_NOT_SUPPORTED: MQLONG = 2317;
2593pub const MQRC_SELECTOR_NOT_SUPPORTED: MQLONG = 2318;
2594pub const MQRC_ITEM_VALUE_ERROR: MQLONG = 2319;
2595pub const MQRC_HBAG_ERROR: MQLONG = 2320;
2596pub const MQRC_PARAMETER_MISSING: MQLONG = 2321;
2597pub const MQRC_CMD_SERVER_NOT_AVAILABLE: MQLONG = 2322;
2598pub const MQRC_STRING_LENGTH_ERROR: MQLONG = 2323;
2599pub const MQRC_INQUIRY_COMMAND_ERROR: MQLONG = 2324;
2600pub const MQRC_NESTED_BAG_NOT_SUPPORTED: MQLONG = 2325;
2601pub const MQRC_BAG_WRONG_TYPE: MQLONG = 2326;
2602pub const MQRC_ITEM_TYPE_ERROR: MQLONG = 2327;
2603pub const MQRC_SYSTEM_BAG_NOT_DELETABLE: MQLONG = 2328;
2604pub const MQRC_SYSTEM_ITEM_NOT_DELETABLE: MQLONG = 2329;
2605pub const MQRC_CODED_CHAR_SET_ID_ERROR: MQLONG = 2330;
2606pub const MQRC_MSG_TOKEN_ERROR: MQLONG = 2331;
2607pub const MQRC_MISSING_WIH: MQLONG = 2332;
2608pub const MQRC_WIH_ERROR: MQLONG = 2333;
2609pub const MQRC_RFH_ERROR: MQLONG = 2334;
2610pub const MQRC_RFH_STRING_ERROR: MQLONG = 2335;
2611pub const MQRC_RFH_COMMAND_ERROR: MQLONG = 2336;
2612pub const MQRC_RFH_PARM_ERROR: MQLONG = 2337;
2613pub const MQRC_RFH_DUPLICATE_PARM: MQLONG = 2338;
2614pub const MQRC_RFH_PARM_MISSING: MQLONG = 2339;
2615pub const MQRC_CHAR_CONVERSION_ERROR: MQLONG = 2340;
2616pub const MQRC_UCS2_CONVERSION_ERROR: MQLONG = 2341;
2617pub const MQRC_DB2_NOT_AVAILABLE: MQLONG = 2342;
2618pub const MQRC_OBJECT_NOT_UNIQUE: MQLONG = 2343;
2619pub const MQRC_CONN_TAG_NOT_RELEASED: MQLONG = 2344;
2620pub const MQRC_CF_NOT_AVAILABLE: MQLONG = 2345;
2621pub const MQRC_CF_STRUC_IN_USE: MQLONG = 2346;
2622pub const MQRC_CF_STRUC_LIST_HDR_IN_USE: MQLONG = 2347;
2623pub const MQRC_CF_STRUC_AUTH_FAILED: MQLONG = 2348;
2624pub const MQRC_CF_STRUC_ERROR: MQLONG = 2349;
2625pub const MQRC_CONN_TAG_NOT_USABLE: MQLONG = 2350;
2626pub const MQRC_GLOBAL_UOW_CONFLICT: MQLONG = 2351;
2627pub const MQRC_LOCAL_UOW_CONFLICT: MQLONG = 2352;
2628pub const MQRC_HANDLE_IN_USE_FOR_UOW: MQLONG = 2353;
2629pub const MQRC_UOW_ENLISTMENT_ERROR: MQLONG = 2354;
2630pub const MQRC_UOW_MIX_NOT_SUPPORTED: MQLONG = 2355;
2631pub const MQRC_WXP_ERROR: MQLONG = 2356;
2632pub const MQRC_CURRENT_RECORD_ERROR: MQLONG = 2357;
2633pub const MQRC_NEXT_OFFSET_ERROR: MQLONG = 2358;
2634pub const MQRC_NO_RECORD_AVAILABLE: MQLONG = 2359;
2635pub const MQRC_OBJECT_LEVEL_INCOMPATIBLE: MQLONG = 2360;
2636pub const MQRC_NEXT_RECORD_ERROR: MQLONG = 2361;
2637pub const MQRC_BACKOUT_THRESHOLD_REACHED: MQLONG = 2362;
2638pub const MQRC_MSG_NOT_MATCHED: MQLONG = 2363;
2639pub const MQRC_JMS_FORMAT_ERROR: MQLONG = 2364;
2640pub const MQRC_SEGMENTS_NOT_SUPPORTED: MQLONG = 2365;
2641pub const MQRC_WRONG_CF_LEVEL: MQLONG = 2366;
2642pub const MQRC_CONFIG_CREATE_OBJECT: MQLONG = 2367;
2643pub const MQRC_CONFIG_CHANGE_OBJECT: MQLONG = 2368;
2644pub const MQRC_CONFIG_DELETE_OBJECT: MQLONG = 2369;
2645pub const MQRC_CONFIG_REFRESH_OBJECT: MQLONG = 2370;
2646pub const MQRC_CHANNEL_SSL_ERROR: MQLONG = 2371;
2647pub const MQRC_PARTICIPANT_NOT_DEFINED: MQLONG = 2372;
2648pub const MQRC_CF_STRUC_FAILED: MQLONG = 2373;
2649pub const MQRC_API_EXIT_ERROR: MQLONG = 2374;
2650pub const MQRC_API_EXIT_INIT_ERROR: MQLONG = 2375;
2651pub const MQRC_API_EXIT_TERM_ERROR: MQLONG = 2376;
2652pub const MQRC_EXIT_REASON_ERROR: MQLONG = 2377;
2653pub const MQRC_RESERVED_VALUE_ERROR: MQLONG = 2378;
2654pub const MQRC_NO_DATA_AVAILABLE: MQLONG = 2379;
2655pub const MQRC_SCO_ERROR: MQLONG = 2380;
2656pub const MQRC_KEY_REPOSITORY_ERROR: MQLONG = 2381;
2657pub const MQRC_CRYPTO_HARDWARE_ERROR: MQLONG = 2382;
2658pub const MQRC_AUTH_INFO_REC_COUNT_ERROR: MQLONG = 2383;
2659pub const MQRC_AUTH_INFO_REC_ERROR: MQLONG = 2384;
2660pub const MQRC_AIR_ERROR: MQLONG = 2385;
2661pub const MQRC_AUTH_INFO_TYPE_ERROR: MQLONG = 2386;
2662pub const MQRC_AUTH_INFO_CONN_NAME_ERROR: MQLONG = 2387;
2663pub const MQRC_LDAP_USER_NAME_ERROR: MQLONG = 2388;
2664pub const MQRC_LDAP_USER_NAME_LENGTH_ERR: MQLONG = 2389;
2665pub const MQRC_LDAP_PASSWORD_ERROR: MQLONG = 2390;
2666pub const MQRC_SSL_ALREADY_INITIALIZED: MQLONG = 2391;
2667pub const MQRC_SSL_CONFIG_ERROR: MQLONG = 2392;
2668pub const MQRC_SSL_INITIALIZATION_ERROR: MQLONG = 2393;
2669pub const MQRC_Q_INDEX_TYPE_ERROR: MQLONG = 2394;
2670pub const MQRC_CFBS_ERROR: MQLONG = 2395;
2671pub const MQRC_SSL_NOT_ALLOWED: MQLONG = 2396;
2672pub const MQRC_JSSE_ERROR: MQLONG = 2397;
2673pub const MQRC_SSL_PEER_NAME_MISMATCH: MQLONG = 2398;
2674pub const MQRC_SSL_PEER_NAME_ERROR: MQLONG = 2399;
2675pub const MQRC_UNSUPPORTED_CIPHER_SUITE: MQLONG = 2400;
2676pub const MQRC_SSL_CERTIFICATE_REVOKED: MQLONG = 2401;
2677pub const MQRC_SSL_CERT_STORE_ERROR: MQLONG = 2402;
2678pub const MQRC_CLIENT_EXIT_LOAD_ERROR: MQLONG = 2406;
2679pub const MQRC_CLIENT_EXIT_ERROR: MQLONG = 2407;
2680pub const MQRC_UOW_COMMITTED: MQLONG = 2408;
2681pub const MQRC_SSL_KEY_RESET_ERROR: MQLONG = 2409;
2682pub const MQRC_UNKNOWN_COMPONENT_NAME: MQLONG = 2410;
2683pub const MQRC_LOGGER_STATUS: MQLONG = 2411;
2684pub const MQRC_COMMAND_MQSC: MQLONG = 2412;
2685pub const MQRC_COMMAND_PCF: MQLONG = 2413;
2686pub const MQRC_CFIF_ERROR: MQLONG = 2414;
2687pub const MQRC_CFSF_ERROR: MQLONG = 2415;
2688pub const MQRC_CFGR_ERROR: MQLONG = 2416;
2689pub const MQRC_MSG_NOT_ALLOWED_IN_GROUP: MQLONG = 2417;
2690pub const MQRC_FILTER_OPERATOR_ERROR: MQLONG = 2418;
2691pub const MQRC_NESTED_SELECTOR_ERROR: MQLONG = 2419;
2692pub const MQRC_EPH_ERROR: MQLONG = 2420;
2693pub const MQRC_RFH_FORMAT_ERROR: MQLONG = 2421;
2694pub const MQRC_CFBF_ERROR: MQLONG = 2422;
2695pub const MQRC_CLIENT_CHANNEL_CONFLICT: MQLONG = 2423;
2696pub const MQRC_SD_ERROR: MQLONG = 2424;
2697pub const MQRC_TOPIC_STRING_ERROR: MQLONG = 2425;
2698pub const MQRC_STS_ERROR: MQLONG = 2426;
2699pub const MQRC_NO_SUBSCRIPTION: MQLONG = 2428;
2700pub const MQRC_SUBSCRIPTION_IN_USE: MQLONG = 2429;
2701pub const MQRC_STAT_TYPE_ERROR: MQLONG = 2430;
2702pub const MQRC_SUB_USER_DATA_ERROR: MQLONG = 2431;
2703pub const MQRC_SUB_ALREADY_EXISTS: MQLONG = 2432;
2704pub const MQRC_IDENTITY_MISMATCH: MQLONG = 2434;
2705pub const MQRC_ALTER_SUB_ERROR: MQLONG = 2435;
2706pub const MQRC_DURABILITY_NOT_ALLOWED: MQLONG = 2436;
2707pub const MQRC_NO_RETAINED_MSG: MQLONG = 2437;
2708pub const MQRC_SRO_ERROR: MQLONG = 2438;
2709pub const MQRC_SUB_NAME_ERROR: MQLONG = 2440;
2710pub const MQRC_OBJECT_STRING_ERROR: MQLONG = 2441;
2711pub const MQRC_PROPERTY_NAME_ERROR: MQLONG = 2442;
2712pub const MQRC_SEGMENTATION_NOT_ALLOWED: MQLONG = 2443;
2713pub const MQRC_CBD_ERROR: MQLONG = 2444;
2714pub const MQRC_CTLO_ERROR: MQLONG = 2445;
2715pub const MQRC_NO_CALLBACKS_ACTIVE: MQLONG = 2446;
2716pub const MQRC_CALLBACK_NOT_REGISTERED: MQLONG = 2448;
2717pub const MQRC_OPTIONS_CHANGED: MQLONG = 2457;
2718pub const MQRC_READ_AHEAD_MSGS: MQLONG = 2458;
2719pub const MQRC_SELECTOR_SYNTAX_ERROR: MQLONG = 2459;
2720pub const MQRC_HMSG_ERROR: MQLONG = 2460;
2721pub const MQRC_CMHO_ERROR: MQLONG = 2461;
2722pub const MQRC_DMHO_ERROR: MQLONG = 2462;
2723pub const MQRC_SMPO_ERROR: MQLONG = 2463;
2724pub const MQRC_IMPO_ERROR: MQLONG = 2464;
2725pub const MQRC_PROPERTY_NAME_TOO_BIG: MQLONG = 2465;
2726pub const MQRC_PROP_VALUE_NOT_CONVERTED: MQLONG = 2466;
2727pub const MQRC_PROP_TYPE_NOT_SUPPORTED: MQLONG = 2467;
2728pub const MQRC_PROPERTY_VALUE_TOO_BIG: MQLONG = 2469;
2729pub const MQRC_PROP_CONV_NOT_SUPPORTED: MQLONG = 2470;
2730pub const MQRC_PROPERTY_NOT_AVAILABLE: MQLONG = 2471;
2731pub const MQRC_PROP_NUMBER_FORMAT_ERROR: MQLONG = 2472;
2732pub const MQRC_PROPERTY_TYPE_ERROR: MQLONG = 2473;
2733pub const MQRC_PROPERTIES_TOO_BIG: MQLONG = 2478;
2734pub const MQRC_PUT_NOT_RETAINED: MQLONG = 2479;
2735pub const MQRC_ALIAS_TARGTYPE_CHANGED: MQLONG = 2480;
2736pub const MQRC_DMPO_ERROR: MQLONG = 2481;
2737pub const MQRC_PD_ERROR: MQLONG = 2482;
2738pub const MQRC_CALLBACK_TYPE_ERROR: MQLONG = 2483;
2739pub const MQRC_CBD_OPTIONS_ERROR: MQLONG = 2484;
2740pub const MQRC_MAX_MSG_LENGTH_ERROR: MQLONG = 2485;
2741pub const MQRC_CALLBACK_ROUTINE_ERROR: MQLONG = 2486;
2742pub const MQRC_CALLBACK_LINK_ERROR: MQLONG = 2487;
2743pub const MQRC_OPERATION_ERROR: MQLONG = 2488;
2744pub const MQRC_BMHO_ERROR: MQLONG = 2489;
2745pub const MQRC_UNSUPPORTED_PROPERTY: MQLONG = 2490;
2746pub const MQRC_MSG_LENGTH_ERROR: MQLONG = 2491;
2747pub const MQRC_PROP_NAME_NOT_CONVERTED: MQLONG = 2492;
2748pub const MQRC_GET_ENABLED: MQLONG = 2494;
2749pub const MQRC_MODULE_NOT_FOUND: MQLONG = 2495;
2750pub const MQRC_MODULE_INVALID: MQLONG = 2496;
2751pub const MQRC_MODULE_ENTRY_NOT_FOUND: MQLONG = 2497;
2752pub const MQRC_MIXED_CONTENT_NOT_ALLOWED: MQLONG = 2498;
2753pub const MQRC_MSG_HANDLE_IN_USE: MQLONG = 2499;
2754pub const MQRC_HCONN_ASYNC_ACTIVE: MQLONG = 2500;
2755pub const MQRC_MHBO_ERROR: MQLONG = 2501;
2756pub const MQRC_PUBLICATION_FAILURE: MQLONG = 2502;
2757pub const MQRC_SUB_INHIBITED: MQLONG = 2503;
2758pub const MQRC_SELECTOR_ALWAYS_FALSE: MQLONG = 2504;
2759pub const MQRC_XEPO_ERROR: MQLONG = 2507;
2760pub const MQRC_DURABILITY_NOT_ALTERABLE: MQLONG = 2509;
2761pub const MQRC_TOPIC_NOT_ALTERABLE: MQLONG = 2510;
2762pub const MQRC_SUBLEVEL_NOT_ALTERABLE: MQLONG = 2512;
2763pub const MQRC_PROPERTY_NAME_LENGTH_ERR: MQLONG = 2513;
2764pub const MQRC_DUPLICATE_GROUP_SUB: MQLONG = 2514;
2765pub const MQRC_GROUPING_NOT_ALTERABLE: MQLONG = 2515;
2766pub const MQRC_SELECTOR_INVALID_FOR_TYPE: MQLONG = 2516;
2767pub const MQRC_HOBJ_QUIESCED: MQLONG = 2517;
2768pub const MQRC_HOBJ_QUIESCED_NO_MSGS: MQLONG = 2518;
2769pub const MQRC_SELECTION_STRING_ERROR: MQLONG = 2519;
2770pub const MQRC_RES_OBJECT_STRING_ERROR: MQLONG = 2520;
2771pub const MQRC_CONNECTION_SUSPENDED: MQLONG = 2521;
2772pub const MQRC_INVALID_DESTINATION: MQLONG = 2522;
2773pub const MQRC_INVALID_SUBSCRIPTION: MQLONG = 2523;
2774pub const MQRC_SELECTOR_NOT_ALTERABLE: MQLONG = 2524;
2775pub const MQRC_RETAINED_MSG_Q_ERROR: MQLONG = 2525;
2776pub const MQRC_RETAINED_NOT_DELIVERED: MQLONG = 2526;
2777pub const MQRC_RFH_RESTRICTED_FORMAT_ERR: MQLONG = 2527;
2778pub const MQRC_CONNECTION_STOPPED: MQLONG = 2528;
2779pub const MQRC_ASYNC_UOW_CONFLICT: MQLONG = 2529;
2780pub const MQRC_ASYNC_XA_CONFLICT: MQLONG = 2530;
2781pub const MQRC_PUBSUB_INHIBITED: MQLONG = 2531;
2782pub const MQRC_MSG_HANDLE_COPY_FAILURE: MQLONG = 2532;
2783pub const MQRC_DEST_CLASS_NOT_ALTERABLE: MQLONG = 2533;
2784pub const MQRC_OPERATION_NOT_ALLOWED: MQLONG = 2534;
2785pub const MQRC_ACTION_ERROR: MQLONG = 2535;
2786pub const MQRC_CHANNEL_NOT_AVAILABLE: MQLONG = 2537;
2787pub const MQRC_HOST_NOT_AVAILABLE: MQLONG = 2538;
2788pub const MQRC_CHANNEL_CONFIG_ERROR: MQLONG = 2539;
2789pub const MQRC_UNKNOWN_CHANNEL_NAME: MQLONG = 2540;
2790pub const MQRC_LOOPING_PUBLICATION: MQLONG = 2541;
2791pub const MQRC_ALREADY_JOINED: MQLONG = 2542;
2792pub const MQRC_STANDBY_Q_MGR: MQLONG = 2543;
2793pub const MQRC_RECONNECTING: MQLONG = 2544;
2794pub const MQRC_RECONNECTED: MQLONG = 2545;
2795pub const MQRC_RECONNECT_QMID_MISMATCH: MQLONG = 2546;
2796pub const MQRC_RECONNECT_INCOMPATIBLE: MQLONG = 2547;
2797pub const MQRC_RECONNECT_FAILED: MQLONG = 2548;
2798pub const MQRC_CALL_INTERRUPTED: MQLONG = 2549;
2799pub const MQRC_NO_SUBS_MATCHED: MQLONG = 2550;
2800pub const MQRC_SELECTION_NOT_AVAILABLE: MQLONG = 2551;
2801pub const MQRC_CHANNEL_SSL_WARNING: MQLONG = 2552;
2802pub const MQRC_OCSP_URL_ERROR: MQLONG = 2553;
2803pub const MQRC_CONTENT_ERROR: MQLONG = 2554;
2804pub const MQRC_RECONNECT_Q_MGR_REQD: MQLONG = 2555;
2805pub const MQRC_RECONNECT_TIMED_OUT: MQLONG = 2556;
2806pub const MQRC_PUBLISH_EXIT_ERROR: MQLONG = 2557;
2807pub const MQRC_COMMINFO_ERROR: MQLONG = 2558;
2808pub const MQRC_DEF_SYNCPOINT_INHIBITED: MQLONG = 2559;
2809pub const MQRC_MULTICAST_ONLY: MQLONG = 2560;
2810pub const MQRC_DATA_SET_NOT_AVAILABLE: MQLONG = 2561;
2811pub const MQRC_GROUPING_NOT_ALLOWED: MQLONG = 2562;
2812pub const MQRC_GROUP_ADDRESS_ERROR: MQLONG = 2563;
2813pub const MQRC_MULTICAST_CONFIG_ERROR: MQLONG = 2564;
2814pub const MQRC_MULTICAST_INTERFACE_ERROR: MQLONG = 2565;
2815pub const MQRC_MULTICAST_SEND_ERROR: MQLONG = 2566;
2816pub const MQRC_MULTICAST_INTERNAL_ERROR: MQLONG = 2567;
2817pub const MQRC_CONNECTION_NOT_AVAILABLE: MQLONG = 2568;
2818pub const MQRC_SYNCPOINT_NOT_ALLOWED: MQLONG = 2569;
2819pub const MQRC_SSL_ALT_PROVIDER_REQUIRED: MQLONG = 2570;
2820pub const MQRC_MCAST_PUB_STATUS: MQLONG = 2571;
2821pub const MQRC_MCAST_SUB_STATUS: MQLONG = 2572;
2822pub const MQRC_PRECONN_EXIT_LOAD_ERROR: MQLONG = 2573;
2823pub const MQRC_PRECONN_EXIT_NOT_FOUND: MQLONG = 2574;
2824pub const MQRC_PRECONN_EXIT_ERROR: MQLONG = 2575;
2825pub const MQRC_CD_ARRAY_ERROR: MQLONG = 2576;
2826pub const MQRC_CHANNEL_BLOCKED: MQLONG = 2577;
2827pub const MQRC_CHANNEL_BLOCKED_WARNING: MQLONG = 2578;
2828pub const MQRC_SUBSCRIPTION_CREATE: MQLONG = 2579;
2829pub const MQRC_SUBSCRIPTION_DELETE: MQLONG = 2580;
2830pub const MQRC_SUBSCRIPTION_CHANGE: MQLONG = 2581;
2831pub const MQRC_SUBSCRIPTION_REFRESH: MQLONG = 2582;
2832pub const MQRC_INSTALLATION_MISMATCH: MQLONG = 2583;
2833pub const MQRC_NOT_PRIVILEGED: MQLONG = 2584;
2834pub const MQRC_PROPERTIES_DISABLED: MQLONG = 2586;
2835pub const MQRC_HMSG_NOT_AVAILABLE: MQLONG = 2587;
2836pub const MQRC_EXIT_PROPS_NOT_SUPPORTED: MQLONG = 2588;
2837pub const MQRC_INSTALLATION_MISSING: MQLONG = 2589;
2838pub const MQRC_FASTPATH_NOT_AVAILABLE: MQLONG = 2590;
2839pub const MQRC_CIPHER_SPEC_NOT_SUITE_B: MQLONG = 2591;
2840pub const MQRC_SUITE_B_ERROR: MQLONG = 2592;
2841pub const MQRC_CERT_VAL_POLICY_ERROR: MQLONG = 2593;
2842pub const MQRC_PASSWORD_PROTECTION_ERROR: MQLONG = 2594;
2843pub const MQRC_CSP_ERROR: MQLONG = 2595;
2844pub const MQRC_CERT_LABEL_NOT_ALLOWED: MQLONG = 2596;
2845pub const MQRC_ADMIN_TOPIC_STRING_ERROR: MQLONG = 2598;
2846pub const MQRC_AMQP_NOT_AVAILABLE: MQLONG = 2599;
2847pub const MQRC_CCDT_URL_ERROR: MQLONG = 2600;
2848pub const MQRC_Q_MGR_RECONNECT_REQUESTED: MQLONG = 2601;
2849pub const MQRC_BNO_ERROR: MQLONG = 2602;
2850pub const MQRC_OUTBOUND_SNI_NOT_VALID: MQLONG = 2603;
2851pub const MQRC_HTTPS_KEYSTORE_ERROR: MQLONG = 2604;
2852pub const MQRC_REOPEN_EXCL_INPUT_ERROR: MQLONG = 6100;
2853pub const MQRC_REOPEN_INQUIRE_ERROR: MQLONG = 6101;
2854pub const MQRC_REOPEN_SAVED_CONTEXT_ERR: MQLONG = 6102;
2855pub const MQRC_REOPEN_TEMPORARY_Q_ERROR: MQLONG = 6103;
2856pub const MQRC_ATTRIBUTE_LOCKED: MQLONG = 6104;
2857pub const MQRC_CURSOR_NOT_VALID: MQLONG = 6105;
2858pub const MQRC_ENCODING_ERROR: MQLONG = 6106;
2859pub const MQRC_STRUC_ID_ERROR: MQLONG = 6107;
2860pub const MQRC_NULL_POINTER: MQLONG = 6108;
2861pub const MQRC_NO_CONNECTION_REFERENCE: MQLONG = 6109;
2862pub const MQRC_NO_BUFFER: MQLONG = 6110;
2863pub const MQRC_BINARY_DATA_LENGTH_ERROR: MQLONG = 6111;
2864pub const MQRC_BUFFER_NOT_AUTOMATIC: MQLONG = 6112;
2865pub const MQRC_INSUFFICIENT_BUFFER: MQLONG = 6113;
2866pub const MQRC_INSUFFICIENT_DATA: MQLONG = 6114;
2867pub const MQRC_DATA_TRUNCATED: MQLONG = 6115;
2868pub const MQRC_ZERO_LENGTH: MQLONG = 6116;
2869pub const MQRC_NEGATIVE_LENGTH: MQLONG = 6117;
2870pub const MQRC_NEGATIVE_OFFSET: MQLONG = 6118;
2871pub const MQRC_INCONSISTENT_FORMAT: MQLONG = 6119;
2872pub const MQRC_INCONSISTENT_OBJECT_STATE: MQLONG = 6120;
2873pub const MQRC_CONTEXT_OBJECT_NOT_VALID: MQLONG = 6121;
2874pub const MQRC_CONTEXT_OPEN_ERROR: MQLONG = 6122;
2875pub const MQRC_STRUC_LENGTH_ERROR: MQLONG = 6123;
2876pub const MQRC_NOT_CONNECTED: MQLONG = 6124;
2877pub const MQRC_NOT_OPEN: MQLONG = 6125;
2878pub const MQRC_DISTRIBUTION_LIST_EMPTY: MQLONG = 6126;
2879pub const MQRC_INCONSISTENT_OPEN_OPTIONS: MQLONG = 6127;
2880pub const MQRC_WRONG_VERSION: MQLONG = 6128;
2881pub const MQRC_REFERENCE_ERROR: MQLONG = 6129;
2882pub const MQRC_XR_NOT_AVAILABLE: MQLONG = 6130;
2883pub const MQRC_SUB_JOIN_NOT_ALTERABLE: MQLONG = 29440;
2884pub const MQQT_LOCAL: MQLONG = 1;
2885pub const MQQT_MODEL: MQLONG = 2;
2886pub const MQQT_ALIAS: MQLONG = 3;
2887pub const MQQT_REMOTE: MQLONG = 6;
2888pub const MQQT_CLUSTER: MQLONG = 7;
2889pub const MQCQT_LOCAL_Q: MQLONG = 1;
2890pub const MQCQT_ALIAS_Q: MQLONG = 2;
2891pub const MQCQT_REMOTE_Q: MQLONG = 3;
2892pub const MQCQT_Q_MGR_ALIAS: MQLONG = 4;
2893pub const MQQT_ALL: MQLONG = 1001;
2894pub const MQQDT_PREDEFINED: MQLONG = 1;
2895pub const MQQDT_PERMANENT_DYNAMIC: MQLONG = 2;
2896pub const MQQDT_TEMPORARY_DYNAMIC: MQLONG = 3;
2897pub const MQQDT_SHARED_DYNAMIC: MQLONG = 4;
2898pub const MQQA_GET_INHIBITED: MQLONG = 1;
2899pub const MQQA_GET_ALLOWED: MQLONG = 0;
2900pub const MQQA_PUT_INHIBITED: MQLONG = 1;
2901pub const MQQA_PUT_ALLOWED: MQLONG = 0;
2902pub const MQQA_SHAREABLE: MQLONG = 1;
2903pub const MQQA_NOT_SHAREABLE: MQLONG = 0;
2904pub const MQQA_BACKOUT_HARDENED: MQLONG = 1;
2905pub const MQQA_BACKOUT_NOT_HARDENED: MQLONG = 0;
2906pub const MQMDS_PRIORITY: MQLONG = 0;
2907pub const MQMDS_FIFO: MQLONG = 1;
2908pub const MQNPM_CLASS_NORMAL: MQLONG = 0;
2909pub const MQNPM_CLASS_HIGH: MQLONG = 10;
2910pub const MQTC_OFF: MQLONG = 0;
2911pub const MQTC_ON: MQLONG = 1;
2912pub const MQTT_NONE: MQLONG = 0;
2913pub const MQTT_FIRST: MQLONG = 1;
2914pub const MQTT_EVERY: MQLONG = 2;
2915pub const MQTT_DEPTH: MQLONG = 3;
2916pub const MQTRIGGER_RESTART_NO: MQLONG = 0;
2917pub const MQTRIGGER_RESTART_YES: MQLONG = 1;
2918pub const MQUS_NORMAL: MQLONG = 0;
2919pub const MQUS_TRANSMISSION: MQLONG = 1;
2920pub const MQDL_SUPPORTED: MQLONG = 1;
2921pub const MQDL_NOT_SUPPORTED: MQLONG = 0;
2922pub const MQIT_NONE: MQLONG = 0;
2923pub const MQIT_MSG_ID: MQLONG = 1;
2924pub const MQIT_CORREL_ID: MQLONG = 2;
2925pub const MQIT_MSG_TOKEN: MQLONG = 4;
2926pub const MQIT_GROUP_ID: MQLONG = 5;
2927pub const MQBND_BIND_ON_OPEN: MQLONG = 0;
2928pub const MQBND_BIND_NOT_FIXED: MQLONG = 1;
2929pub const MQBND_BIND_ON_GROUP: MQLONG = 2;
2930pub const MQQSGD_ALL: MQLONG = -1;
2931pub const MQQSGD_Q_MGR: MQLONG = 0;
2932pub const MQQSGD_COPY: MQLONG = 1;
2933pub const MQQSGD_SHARED: MQLONG = 2;
2934pub const MQQSGD_GROUP: MQLONG = 3;
2935pub const MQQSGD_PRIVATE: MQLONG = 4;
2936pub const MQQSGD_LIVE: MQLONG = 6;
2937pub const MQREORG_DISABLED: MQLONG = 0;
2938pub const MQREORG_ENABLED: MQLONG = 1;
2939pub const MQQFS_DEFAULT: MQLONG = -1;
2940pub const MQCEX_NOLIMIT: MQLONG = -1;
2941pub const MQCEX_AS_PARENT: MQLONG = -2;
2942pub const MQOTEL_TRACE_QMGR: MQLONG = 0;
2943pub const MQOTEL_TRACE_OFF: MQLONG = 1;
2944pub const MQOTEL_TRACE_ON: MQLONG = 2;
2945pub const MQOTEL_TRACE_NONE: MQLONG = 3;
2946pub const MQOTEL_TRACE_AS_PARENT: MQLONG = 4;
2947pub const MQOTEL_PCTL_QMGR: MQLONG = 0;
2948pub const MQOTEL_PCTL_MANUAL: MQLONG = 1;
2949pub const MQOTEL_PCTL_AUTO: MQLONG = 2;
2950pub const MQOTEL_PCTL_AS_PARENT: MQLONG = 3;
2951pub const MQREADA_NO: MQLONG = 0;
2952pub const MQREADA_YES: MQLONG = 1;
2953pub const MQREADA_DISABLED: MQLONG = 2;
2954pub const MQREADA_INHIBITED: MQLONG = 3;
2955pub const MQREADA_BACKLOG: MQLONG = 4;
2956pub const MQPROP_COMPATIBILITY: MQLONG = 0;
2957pub const MQPROP_NONE: MQLONG = 1;
2958pub const MQPROP_ALL: MQLONG = 2;
2959pub const MQPROP_FORCE_MQRFH2: MQLONG = 3;
2960pub const MQPROP_V6COMPAT: MQLONG = 4;
2961pub const MQST_BEST_EFFORT: MQLONG = 0;
2962pub const MQST_MUST_DUP: MQLONG = 1;
2963pub const MQNC_MAX_NAMELIST_NAME_COUNT: MQLONG = 256;
2964pub const MQNT_NONE: MQLONG = 0;
2965pub const MQNT_Q: MQLONG = 1;
2966pub const MQNT_CLUSTER: MQLONG = 2;
2967pub const MQNT_AUTH_INFO: MQLONG = 4;
2968pub const MQNT_ALL: MQLONG = 1001;
2969pub const MQCFR_YES: MQLONG = 1;
2970pub const MQCFR_NO: MQLONG = 0;
2971pub const MQRECAUTO_NO: MQLONG = 0;
2972pub const MQRECAUTO_YES: MQLONG = 1;
2973pub const MQCFCONLOS_TERMINATE: MQLONG = 0;
2974pub const MQCFCONLOS_TOLERATE: MQLONG = 1;
2975pub const MQCFCONLOS_ASQMGR: MQLONG = 2;
2976pub const MQSVC_TYPE_COMMAND: MQLONG = 0;
2977pub const MQSVC_TYPE_SERVER: MQLONG = 1;
2978pub const MQADOPT_CHECK_NONE: MQLONG = 0;
2979pub const MQADOPT_CHECK_ALL: MQLONG = 1;
2980pub const MQADOPT_CHECK_Q_MGR_NAME: MQLONG = 2;
2981pub const MQADOPT_CHECK_NET_ADDR: MQLONG = 4;
2982pub const MQADOPT_CHECK_CHANNEL_NAME: MQLONG = 8;
2983pub const MQADOPT_TYPE_NO: MQLONG = 0;
2984pub const MQADOPT_TYPE_ALL: MQLONG = 1;
2985pub const MQADOPT_TYPE_SVR: MQLONG = 2;
2986pub const MQADOPT_TYPE_SDR: MQLONG = 4;
2987pub const MQADOPT_TYPE_RCVR: MQLONG = 8;
2988pub const MQADOPT_TYPE_CLUSRCVR: MQLONG = 16;
2989pub const MQAUTO_START_NO: MQLONG = 0;
2990pub const MQAUTO_START_YES: MQLONG = 1;
2991pub const MQCHAD_DISABLED: MQLONG = 0;
2992pub const MQCHAD_ENABLED: MQLONG = 1;
2993pub const MQCLWL_USEQ_LOCAL: MQLONG = 0;
2994pub const MQCLWL_USEQ_ANY: MQLONG = 1;
2995pub const MQCLWL_USEQ_AS_Q_MGR: MQLONG = -3;
2996pub const MQCMDL_LEVEL_1: MQLONG = 100;
2997pub const MQCMDL_LEVEL_101: MQLONG = 101;
2998pub const MQCMDL_LEVEL_110: MQLONG = 110;
2999pub const MQCMDL_LEVEL_114: MQLONG = 114;
3000pub const MQCMDL_LEVEL_120: MQLONG = 120;
3001pub const MQCMDL_LEVEL_200: MQLONG = 200;
3002pub const MQCMDL_LEVEL_201: MQLONG = 201;
3003pub const MQCMDL_LEVEL_210: MQLONG = 210;
3004pub const MQCMDL_LEVEL_211: MQLONG = 211;
3005pub const MQCMDL_LEVEL_220: MQLONG = 220;
3006pub const MQCMDL_LEVEL_221: MQLONG = 221;
3007pub const MQCMDL_LEVEL_230: MQLONG = 230;
3008pub const MQCMDL_LEVEL_320: MQLONG = 320;
3009pub const MQCMDL_LEVEL_420: MQLONG = 420;
3010pub const MQCMDL_LEVEL_500: MQLONG = 500;
3011pub const MQCMDL_LEVEL_510: MQLONG = 510;
3012pub const MQCMDL_LEVEL_520: MQLONG = 520;
3013pub const MQCMDL_LEVEL_530: MQLONG = 530;
3014pub const MQCMDL_LEVEL_531: MQLONG = 531;
3015pub const MQCMDL_LEVEL_600: MQLONG = 600;
3016pub const MQCMDL_LEVEL_700: MQLONG = 700;
3017pub const MQCMDL_LEVEL_701: MQLONG = 701;
3018pub const MQCMDL_LEVEL_710: MQLONG = 710;
3019pub const MQCMDL_LEVEL_711: MQLONG = 711;
3020pub const MQCMDL_LEVEL_750: MQLONG = 750;
3021pub const MQCMDL_LEVEL_800: MQLONG = 800;
3022pub const MQCMDL_LEVEL_801: MQLONG = 801;
3023pub const MQCMDL_LEVEL_802: MQLONG = 802;
3024pub const MQCMDL_LEVEL_900: MQLONG = 900;
3025pub const MQCMDL_LEVEL_901: MQLONG = 901;
3026pub const MQCMDL_LEVEL_902: MQLONG = 902;
3027pub const MQCMDL_LEVEL_903: MQLONG = 903;
3028pub const MQCMDL_LEVEL_904: MQLONG = 904;
3029pub const MQCMDL_LEVEL_905: MQLONG = 905;
3030pub const MQCMDL_LEVEL_910: MQLONG = 910;
3031pub const MQCMDL_LEVEL_911: MQLONG = 911;
3032pub const MQCMDL_LEVEL_912: MQLONG = 912;
3033pub const MQCMDL_LEVEL_913: MQLONG = 913;
3034pub const MQCMDL_LEVEL_914: MQLONG = 914;
3035pub const MQCMDL_LEVEL_915: MQLONG = 915;
3036pub const MQCMDL_LEVEL_920: MQLONG = 920;
3037pub const MQCMDL_LEVEL_921: MQLONG = 921;
3038pub const MQCMDL_LEVEL_922: MQLONG = 922;
3039pub const MQCMDL_LEVEL_923: MQLONG = 923;
3040pub const MQCMDL_LEVEL_924: MQLONG = 924;
3041pub const MQCMDL_LEVEL_925: MQLONG = 925;
3042pub const MQCMDL_LEVEL_930: MQLONG = 930;
3043pub const MQCMDL_LEVEL_931: MQLONG = 931;
3044pub const MQCMDL_LEVEL_932: MQLONG = 932;
3045pub const MQCMDL_LEVEL_933: MQLONG = 933;
3046pub const MQCMDL_LEVEL_934: MQLONG = 934;
3047pub const MQCMDL_LEVEL_935: MQLONG = 935;
3048pub const MQCMDL_LEVEL_940: MQLONG = 940;
3049pub const MQCMDL_LEVEL_941: MQLONG = 941;
3050pub const MQCMDL_LEVEL_942: MQLONG = 942;
3051pub const MQCMDL_LEVEL_943: MQLONG = 943;
3052pub const MQCMDL_CURRENT_LEVEL: MQLONG = 943;
3053pub const MQCSRV_CONVERT_NO: MQLONG = 0;
3054pub const MQCSRV_CONVERT_YES: MQLONG = 1;
3055pub const MQCSRV_DLQ_NO: MQLONG = 0;
3056pub const MQCSRV_DLQ_YES: MQLONG = 1;
3057pub const MQDNSWLM_NO: MQLONG = 0;
3058pub const MQDNSWLM_YES: MQLONG = 1;
3059pub const MQEXPI_OFF: MQLONG = 0;
3060pub const MQIGQ_DISABLED: MQLONG = 0;
3061pub const MQIGQ_ENABLED: MQLONG = 1;
3062pub const MQIGQPA_DEFAULT: MQLONG = 1;
3063pub const MQIGQPA_CONTEXT: MQLONG = 2;
3064pub const MQIGQPA_ONLY_IGQ: MQLONG = 3;
3065pub const MQIGQPA_ALTERNATE_OR_IGQ: MQLONG = 4;
3066pub const MQIPADDR_IPV4: MQLONG = 0;
3067pub const MQIPADDR_IPV6: MQLONG = 1;
3068pub const MQMMBI_UNLIMITED: MQLONG = -1;
3069pub const MQMON_NOT_AVAILABLE: MQLONG = -1;
3070pub const MQMON_NONE: MQLONG = -1;
3071pub const MQMON_Q_MGR: MQLONG = -3;
3072pub const MQMON_OFF: MQLONG = 0;
3073pub const MQMON_ON: MQLONG = 1;
3074pub const MQMON_DISABLED: MQLONG = 0;
3075pub const MQMON_ENABLED: MQLONG = 1;
3076pub const MQMON_LOW: MQLONG = 17;
3077pub const MQMON_MEDIUM: MQLONG = 33;
3078pub const MQMON_HIGH: MQLONG = 65;
3079pub const MQFUN_TYPE_UNKNOWN: MQLONG = 0;
3080pub const MQFUN_TYPE_JVM: MQLONG = 1;
3081pub const MQFUN_TYPE_PROGRAM: MQLONG = 2;
3082pub const MQFUN_TYPE_PROCEDURE: MQLONG = 3;
3083pub const MQFUN_TYPE_USERDEF: MQLONG = 4;
3084pub const MQFUN_TYPE_COMMAND: MQLONG = 5;
3085pub const MQACTV_DETAIL_LOW: MQLONG = 1;
3086pub const MQACTV_DETAIL_MEDIUM: MQLONG = 2;
3087pub const MQACTV_DETAIL_HIGH: MQLONG = 3;
3088pub const MQPL_MVS: MQLONG = 1;
3089pub const MQPL_OS390: MQLONG = 1;
3090pub const MQPL_ZOS: MQLONG = 1;
3091pub const MQPL_OS2: MQLONG = 2;
3092pub const MQPL_AIX: MQLONG = 3;
3093pub const MQPL_UNIX: MQLONG = 3;
3094pub const MQPL_OS400: MQLONG = 4;
3095pub const MQPL_WINDOWS: MQLONG = 5;
3096pub const MQPL_WINDOWS_NT: MQLONG = 11;
3097pub const MQPL_VMS: MQLONG = 12;
3098pub const MQPL_NSK: MQLONG = 13;
3099pub const MQPL_NSS: MQLONG = 13;
3100pub const MQPL_OPEN_TP1: MQLONG = 15;
3101pub const MQPL_VM: MQLONG = 18;
3102pub const MQPL_TPF: MQLONG = 23;
3103pub const MQPL_VSE: MQLONG = 27;
3104pub const MQPL_APPLIANCE: MQLONG = 28;
3105pub const MQPL_NATIVE: MQLONG = 3;
3106pub const MQPROP_UNRESTRICTED_LENGTH: MQLONG = -1;
3107pub const MQPSM_DISABLED: MQLONG = 0;
3108pub const MQPSM_COMPAT: MQLONG = 1;
3109pub const MQPSM_ENABLED: MQLONG = 2;
3110pub const MQPSCLUS_DISABLED: MQLONG = 0;
3111pub const MQPSCLUS_ENABLED: MQLONG = 1;
3112pub const MQQMOPT_DISABLED: MQLONG = 0;
3113pub const MQQMOPT_ENABLED: MQLONG = 1;
3114pub const MQQMOPT_REPLY: MQLONG = 2;
3115pub const MQRCVTIME_MULTIPLY: MQLONG = 0;
3116pub const MQRCVTIME_ADD: MQLONG = 1;
3117pub const MQRCVTIME_EQUAL: MQLONG = 2;
3118pub const MQRECORDING_DISABLED: MQLONG = 0;
3119pub const MQRECORDING_Q: MQLONG = 1;
3120pub const MQRECORDING_MSG: MQLONG = 2;
3121pub const MQSCYC_UPPER: MQLONG = 0;
3122pub const MQSCYC_MIXED: MQLONG = 1;
3123pub const MQSQQM_USE: MQLONG = 0;
3124pub const MQSQQM_IGNORE: MQLONG = 1;
3125pub const MQSSL_FIPS_NO: MQLONG = 0;
3126pub const MQSSL_FIPS_YES: MQLONG = 1;
3127pub const MQSP_AVAILABLE: MQLONG = 1;
3128pub const MQSP_NOT_AVAILABLE: MQLONG = 0;
3129pub const MQSVC_CONTROL_Q_MGR: MQLONG = 0;
3130pub const MQSVC_CONTROL_Q_MGR_START: MQLONG = 1;
3131pub const MQSVC_CONTROL_MANUAL: MQLONG = 2;
3132pub const MQSVC_STATUS_STOPPED: MQLONG = 0;
3133pub const MQSVC_STATUS_STARTING: MQLONG = 1;
3134pub const MQSVC_STATUS_RUNNING: MQLONG = 2;
3135pub const MQSVC_STATUS_STOPPING: MQLONG = 3;
3136pub const MQSVC_STATUS_RETRYING: MQLONG = 4;
3137pub const MQTCPKEEP_NO: MQLONG = 0;
3138pub const MQTCPKEEP_YES: MQLONG = 1;
3139pub const MQTCPSTACK_SINGLE: MQLONG = 0;
3140pub const MQTCPSTACK_MULTIPLE: MQLONG = 1;
3141pub const MQTRAXSTR_NO: MQLONG = 0;
3142pub const MQTRAXSTR_YES: MQLONG = 1;
3143pub const MQCAP_NOT_SUPPORTED: MQLONG = 0;
3144pub const MQCAP_SUPPORTED: MQLONG = 1;
3145pub const MQCAP_EXPIRED: MQLONG = 2;
3146pub const MQMEDIMGSCHED_MANUAL: MQLONG = 0;
3147pub const MQMEDIMGSCHED_AUTO: MQLONG = 1;
3148pub const MQMEDIMGINTVL_OFF: MQLONG = 0;
3149pub const MQMEDIMGLOGLN_OFF: MQLONG = 0;
3150pub const MQIMGRCOV_NO: MQLONG = 0;
3151pub const MQIMGRCOV_YES: MQLONG = 1;
3152pub const MQIMGRCOV_AS_Q_MGR: MQLONG = 2;
3153pub const MQDLV_AS_PARENT: MQLONG = 0;
3154pub const MQDLV_ALL: MQLONG = 1;
3155pub const MQDLV_ALL_DUR: MQLONG = 2;
3156pub const MQDLV_ALL_AVAIL: MQLONG = 3;
3157pub const MQMASTER_NO: MQLONG = 0;
3158pub const MQMASTER_YES: MQLONG = 1;
3159pub const MQSCOPE_ALL: MQLONG = 0;
3160pub const MQSCOPE_AS_PARENT: MQLONG = 1;
3161pub const MQSCOPE_QMGR: MQLONG = 4;
3162pub const MQSUB_DURABLE_AS_PARENT: MQLONG = 0;
3163pub const MQSUB_DURABLE_ALLOWED: MQLONG = 1;
3164pub const MQSUB_DURABLE_INHIBITED: MQLONG = 2;
3165pub const MQTA_BLOCK: MQLONG = 1;
3166pub const MQTA_PASSTHRU: MQLONG = 2;
3167pub const MQTA_SUB_AS_PARENT: MQLONG = 0;
3168pub const MQTA_SUB_INHIBITED: MQLONG = 1;
3169pub const MQTA_SUB_ALLOWED: MQLONG = 2;
3170pub const MQTA_PROXY_SUB_FORCE: MQLONG = 1;
3171pub const MQTA_PROXY_SUB_FIRSTUSE: MQLONG = 2;
3172pub const MQTA_PUB_AS_PARENT: MQLONG = 0;
3173pub const MQTA_PUB_INHIBITED: MQLONG = 1;
3174pub const MQTA_PUB_ALLOWED: MQLONG = 2;
3175pub const MQTOPT_LOCAL: MQLONG = 0;
3176pub const MQTOPT_CLUSTER: MQLONG = 1;
3177pub const MQTOPT_ALL: MQLONG = 2;
3178pub const MQMC_AS_PARENT: MQLONG = 0;
3179pub const MQMC_ENABLED: MQLONG = 1;
3180pub const MQMC_DISABLED: MQLONG = 2;
3181pub const MQMC_ONLY: MQLONG = 3;
3182pub const MQCIT_MULTICAST: MQLONG = 1;
3183pub const MQDC_MANAGED: MQLONG = 1;
3184pub const MQDC_PROVIDED: MQLONG = 2;
3185pub const MQPSPROP_NONE: MQLONG = 0;
3186pub const MQPSPROP_COMPAT: MQLONG = 1;
3187pub const MQPSPROP_RFH2: MQLONG = 2;
3188pub const MQPSPROP_MSGPROP: MQLONG = 3;
3189pub const MQRU_PUBLISH_ON_REQUEST: MQLONG = 1;
3190pub const MQRU_PUBLISH_ALL: MQLONG = 2;
3191pub const MQSUB_DURABLE_ALL: MQLONG = -1;
3192pub const MQSUB_DURABLE_YES: MQLONG = 1;
3193pub const MQSUB_DURABLE_NO: MQLONG = 2;
3194pub const MQTSCOPE_QMGR: MQLONG = 1;
3195pub const MQTSCOPE_ALL: MQLONG = 2;
3196pub const MQVU_FIXED_USER: MQLONG = 1;
3197pub const MQVU_ANY_USER: MQLONG = 2;
3198pub const MQWS_DEFAULT: MQLONG = 0;
3199pub const MQWS_CHAR: MQLONG = 1;
3200pub const MQWS_TOPIC: MQLONG = 2;
3201pub const MQUSRC_MAP: MQLONG = 0;
3202pub const MQUSRC_NOACCESS: MQLONG = 1;
3203pub const MQUSRC_CHANNEL: MQLONG = 2;
3204pub const MQWARN_YES: MQLONG = 1;
3205pub const MQWARN_NO: MQLONG = 0;
3206pub const MQDSB_DEFAULT: MQLONG = 0;
3207pub const MQDSB_8K: MQLONG = 1;
3208pub const MQDSB_16K: MQLONG = 2;
3209pub const MQDSB_32K: MQLONG = 3;
3210pub const MQDSB_64K: MQLONG = 4;
3211pub const MQDSB_128K: MQLONG = 5;
3212pub const MQDSB_256K: MQLONG = 6;
3213pub const MQDSB_512K: MQLONG = 7;
3214pub const MQDSB_1024K: MQLONG = 8;
3215pub const MQDSB_1M: MQLONG = 8;
3216pub const MQDSE_DEFAULT: MQLONG = 0;
3217pub const MQDSE_YES: MQLONG = 1;
3218pub const MQDSE_NO: MQLONG = 2;
3219pub const MQCFOFFLD_NONE: MQLONG = 0;
3220pub const MQCFOFFLD_SMDS: MQLONG = 1;
3221pub const MQCFOFFLD_DB2: MQLONG = 2;
3222pub const MQCFOFFLD_BOTH: MQLONG = 3;
3223pub const MQUSEDLQ_AS_PARENT: MQLONG = 0;
3224pub const MQUSEDLQ_NO: MQLONG = 1;
3225pub const MQUSEDLQ_YES: MQLONG = 2;
3226pub const MQ_MQTT_MAX_KEEP_ALIVE: MQLONG = 65536;
3227pub const MQ_SSL_KEY_PASSPHRASE_LENGTH: usize = 1024;
3228pub const MQHO_UNUSABLE_HOBJ: MQHOBJ = -1;
3229pub const MQHO_NONE: MQHOBJ = 0;
3230pub const MQCO_IMMEDIATE: MQLONG = 0;
3231pub const MQCO_NONE: MQLONG = 0;
3232pub const MQCO_DELETE: MQLONG = 1;
3233pub const MQCO_DELETE_PURGE: MQLONG = 2;
3234pub const MQCO_KEEP_SUB: MQLONG = 4;
3235pub const MQCO_REMOVE_SUB: MQLONG = 8;
3236pub const MQCO_QUIESCE: MQLONG = 32;
3237pub const MQOP_START: MQLONG = 1;
3238pub const MQOP_START_WAIT: MQLONG = 2;
3239pub const MQOP_STOP: MQLONG = 4;
3240pub const MQOP_REGISTER: MQLONG = 256;
3241pub const MQOP_DEREGISTER: MQLONG = 512;
3242pub const MQOP_SUSPEND: MQLONG = 65536;
3243pub const MQOP_RESUME: MQLONG = 131072;
3244pub const MQHM_UNUSABLE_HMSG: MQHMSG = -1;
3245pub const MQHM_NONE: MQHMSG = 0;
3246pub const MQBA_FIRST: MQLONG = 6001;
3247pub const MQBA_LAST: MQLONG = 8000;
3248pub const MQCA_ADMIN_TOPIC_NAME: MQLONG = 2105;
3249pub const MQCA_ALTERATION_DATE: MQLONG = 2027;
3250pub const MQCA_ALTERATION_TIME: MQLONG = 2028;
3251pub const MQCA_AMQP_SSL_CIPHER_SUITES: MQLONG = 2137;
3252pub const MQCA_AMQP_VERSION: MQLONG = 2136;
3253pub const MQCA_APPL_ID: MQLONG = 2001;
3254pub const MQCA_AUTH_INFO_CONN_NAME: MQLONG = 2053;
3255pub const MQCA_AUTH_INFO_DESC: MQLONG = 2046;
3256pub const MQCA_AUTH_INFO_NAME: MQLONG = 2045;
3257pub const MQCA_AUTH_INFO_OCSP_URL: MQLONG = 2109;
3258pub const MQCA_AUTO_REORG_CATALOG: MQLONG = 2091;
3259pub const MQCA_AUTO_REORG_START_TIME: MQLONG = 2090;
3260pub const MQCA_BACKOUT_REQ_Q_NAME: MQLONG = 2019;
3261pub const MQCA_BASE_OBJECT_NAME: MQLONG = 2002;
3262pub const MQCA_BASE_Q_NAME: MQLONG = 2002;
3263pub const MQCA_BATCH_INTERFACE_ID: MQLONG = 2068;
3264pub const MQCA_CERT_LABEL: MQLONG = 2121;
3265pub const MQCA_CF_STRUC_DESC: MQLONG = 2052;
3266pub const MQCA_CF_STRUC_NAME: MQLONG = 2039;
3267pub const MQCA_CHANNEL_AUTO_DEF_EXIT: MQLONG = 2026;
3268pub const MQCA_CHILD: MQLONG = 2101;
3269pub const MQCA_CHINIT_SERVICE_PARM: MQLONG = 2076;
3270pub const MQCA_CHLAUTH_DESC: MQLONG = 2118;
3271pub const MQCA_CICS_FILE_NAME: MQLONG = 2060;
3272pub const MQCA_CLUSTER_DATE: MQLONG = 2037;
3273pub const MQCA_CLUSTER_NAME: MQLONG = 2029;
3274pub const MQCA_CLUSTER_NAMELIST: MQLONG = 2030;
3275pub const MQCA_CLUSTER_Q_MGR_NAME: MQLONG = 2031;
3276pub const MQCA_CLUSTER_TIME: MQLONG = 2038;
3277pub const MQCA_CLUSTER_WORKLOAD_DATA: MQLONG = 2034;
3278pub const MQCA_CLUSTER_WORKLOAD_EXIT: MQLONG = 2033;
3279pub const MQCA_CLUS_CHL_NAME: MQLONG = 2124;
3280pub const MQCA_COMMAND_INPUT_Q_NAME: MQLONG = 2003;
3281pub const MQCA_COMMAND_REPLY_Q_NAME: MQLONG = 2067;
3282pub const MQCA_COMM_INFO_DESC: MQLONG = 2111;
3283pub const MQCA_COMM_INFO_NAME: MQLONG = 2110;
3284pub const MQCA_CONN_AUTH: MQLONG = 2125;
3285pub const MQCA_CREATION_DATE: MQLONG = 2004;
3286pub const MQCA_CREATION_TIME: MQLONG = 2005;
3287pub const MQCA_CUSTOM: MQLONG = 2119;
3288pub const MQCA_DEAD_LETTER_Q_NAME: MQLONG = 2006;
3289pub const MQCA_DEF_XMIT_Q_NAME: MQLONG = 2025;
3290pub const MQCA_DNS_GROUP: MQLONG = 2071;
3291pub const MQCA_ENV_DATA: MQLONG = 2007;
3292pub const MQCA_FIRST: MQLONG = 2001;
3293pub const MQCA_IGQ_USER_ID: MQLONG = 2041;
3294pub const MQCA_INITIAL_KEY: MQLONG = 2054;
3295pub const MQCA_INITIATION_Q_NAME: MQLONG = 2008;
3296pub const MQCA_INSTALLATION_DESC: MQLONG = 2115;
3297pub const MQCA_INSTALLATION_NAME: MQLONG = 2116;
3298pub const MQCA_INSTALLATION_PATH: MQLONG = 2117;
3299pub const MQCA_LAST: MQLONG = 4000;
3300pub const MQCA_LAST_USED: MQLONG = 2138;
3301pub const MQCA_LDAP_BASE_DN_GROUPS: MQLONG = 2132;
3302pub const MQCA_LDAP_BASE_DN_USERS: MQLONG = 2126;
3303pub const MQCA_LDAP_FIND_GROUP_FIELD: MQLONG = 2135;
3304pub const MQCA_LDAP_GROUP_ATTR_FIELD: MQLONG = 2134;
3305pub const MQCA_LDAP_GROUP_OBJECT_CLASS: MQLONG = 2133;
3306pub const MQCA_LDAP_PASSWORD: MQLONG = 2048;
3307pub const MQCA_LDAP_SHORT_USER_FIELD: MQLONG = 2127;
3308pub const MQCA_LDAP_USER_ATTR_FIELD: MQLONG = 2129;
3309pub const MQCA_LDAP_USER_NAME: MQLONG = 2047;
3310pub const MQCA_LDAP_USER_OBJECT_CLASS: MQLONG = 2128;
3311pub const MQCA_LU62_ARM_SUFFIX: MQLONG = 2074;
3312pub const MQCA_LU_GROUP_NAME: MQLONG = 2072;
3313pub const MQCA_LU_NAME: MQLONG = 2073;
3314pub const MQCA_MODEL_DURABLE_Q: MQLONG = 2096;
3315pub const MQCA_MODEL_NON_DURABLE_Q: MQLONG = 2097;
3316pub const MQCA_MONITOR_Q_NAME: MQLONG = 2066;
3317pub const MQCA_NAMELIST_DESC: MQLONG = 2009;
3318pub const MQCA_NAMELIST_NAME: MQLONG = 2010;
3319pub const MQCA_NAMES: MQLONG = 2020;
3320pub const MQCA_PARENT: MQLONG = 2102;
3321pub const MQCA_PASS_TICKET_APPL: MQLONG = 2086;
3322pub const MQCA_POLICY_NAME: MQLONG = 2112;
3323pub const MQCA_PROCESS_DESC: MQLONG = 2011;
3324pub const MQCA_PROCESS_NAME: MQLONG = 2012;
3325pub const MQCA_QSG_CERT_LABEL: MQLONG = 2131;
3326pub const MQCA_QSG_NAME: MQLONG = 2040;
3327pub const MQCA_Q_DESC: MQLONG = 2013;
3328pub const MQCA_Q_MGR_DESC: MQLONG = 2014;
3329pub const MQCA_Q_MGR_IDENTIFIER: MQLONG = 2032;
3330pub const MQCA_Q_MGR_NAME: MQLONG = 2015;
3331pub const MQCA_Q_NAME: MQLONG = 2016;
3332pub const MQCA_RECIPIENT_DN: MQLONG = 2114;
3333pub const MQCA_REMOTE_Q_MGR_NAME: MQLONG = 2017;
3334pub const MQCA_REMOTE_Q_NAME: MQLONG = 2018;
3335pub const MQCA_REPOSITORY_NAME: MQLONG = 2035;
3336pub const MQCA_REPOSITORY_NAMELIST: MQLONG = 2036;
3337pub const MQCA_RESUME_DATE: MQLONG = 2098;
3338pub const MQCA_RESUME_TIME: MQLONG = 2099;
3339pub const MQCA_SERVICE_DESC: MQLONG = 2078;
3340pub const MQCA_SERVICE_NAME: MQLONG = 2077;
3341pub const MQCA_SERVICE_START_ARGS: MQLONG = 2080;
3342pub const MQCA_SERVICE_START_COMMAND: MQLONG = 2079;
3343pub const MQCA_SERVICE_STOP_ARGS: MQLONG = 2082;
3344pub const MQCA_SERVICE_STOP_COMMAND: MQLONG = 2081;
3345pub const MQCA_SIGNER_DN: MQLONG = 2113;
3346pub const MQCA_SSL_CERT_ISSUER_NAME: MQLONG = 2130;
3347pub const MQCA_SSL_CRL_NAMELIST: MQLONG = 2050;
3348pub const MQCA_SSL_CRYPTO_HARDWARE: MQLONG = 2051;
3349pub const MQCA_SSL_KEY_LIBRARY: MQLONG = 2069;
3350pub const MQCA_SSL_KEY_MEMBER: MQLONG = 2070;
3351pub const MQCA_SSL_KEY_REPOSITORY: MQLONG = 2049;
3352pub const MQCA_SSL_KEY_REPO_PASSWORD: MQLONG = 2055;
3353pub const MQCA_STDERR_DESTINATION: MQLONG = 2084;
3354pub const MQCA_STDOUT_DESTINATION: MQLONG = 2083;
3355pub const MQCA_STORAGE_CLASS: MQLONG = 2022;
3356pub const MQCA_STORAGE_CLASS_DESC: MQLONG = 2042;
3357pub const MQCA_STREAM_QUEUE_NAME: MQLONG = 2138;
3358pub const MQCA_SYSTEM_LOG_Q_NAME: MQLONG = 2065;
3359pub const MQCA_TCP_NAME: MQLONG = 2075;
3360pub const MQCA_TOPIC_DESC: MQLONG = 2093;
3361pub const MQCA_TOPIC_NAME: MQLONG = 2092;
3362pub const MQCA_TOPIC_STRING: MQLONG = 2094;
3363pub const MQCA_TOPIC_STRING_FILTER: MQLONG = 2108;
3364pub const MQCA_TPIPE_NAME: MQLONG = 2085;
3365pub const MQCA_TRIGGER_CHANNEL_NAME: MQLONG = 2064;
3366pub const MQCA_TRIGGER_DATA: MQLONG = 2023;
3367pub const MQCA_TRIGGER_PROGRAM_NAME: MQLONG = 2062;
3368pub const MQCA_TRIGGER_TERM_ID: MQLONG = 2063;
3369pub const MQCA_TRIGGER_TRANS_ID: MQLONG = 2061;
3370pub const MQCA_USER_DATA: MQLONG = 2021;
3371pub const MQCA_USER_LIST: MQLONG = 4000;
3372pub const MQCA_VERSION: MQLONG = 2120;
3373pub const MQCA_XCF_GROUP_NAME: MQLONG = 2043;
3374pub const MQCA_XCF_MEMBER_NAME: MQLONG = 2044;
3375pub const MQCA_XMIT_Q_NAME: MQLONG = 2024;
3376pub const MQCA_XR_SSL_CIPHER_SUITES: MQLONG = 2123;
3377pub const MQCA_XR_VERSION: MQLONG = 2122;
3378pub const MQIA_ACCOUNTING_CONN_OVERRIDE: MQLONG = 136;
3379pub const MQIA_ACCOUNTING_INTERVAL: MQLONG = 135;
3380pub const MQIA_ACCOUNTING_MQI: MQLONG = 133;
3381pub const MQIA_ACCOUNTING_Q: MQLONG = 134;
3382pub const MQIA_ACTIVE_CHANNELS: MQLONG = 100;
3383pub const MQIA_ACTIVITY_CONN_OVERRIDE: MQLONG = 239;
3384pub const MQIA_ACTIVITY_RECORDING: MQLONG = 138;
3385pub const MQIA_ACTIVITY_TRACE: MQLONG = 240;
3386pub const MQIA_ADOPTNEWMCA_CHECK: MQLONG = 102;
3387pub const MQIA_ADOPTNEWMCA_INTERVAL: MQLONG = 104;
3388pub const MQIA_ADOPTNEWMCA_TYPE: MQLONG = 103;
3389pub const MQIA_ADOPT_CONTEXT: MQLONG = 260;
3390pub const MQIA_ADVANCED_CAPABILITY: MQLONG = 273;
3391pub const MQIA_AMQP_CAPABILITY: MQLONG = 265;
3392pub const MQIA_APPL_TYPE: MQLONG = 1;
3393pub const MQIA_ARCHIVE: MQLONG = 60;
3394pub const MQIA_AUTHENTICATION_FAIL_DELAY: MQLONG = 259;
3395pub const MQIA_AUTHENTICATION_METHOD: MQLONG = 266;
3396pub const MQIA_AUTHOREV_SCOPE: MQLONG = 277;
3397pub const MQIA_AUTHORITY_EVENT: MQLONG = 47;
3398pub const MQIA_AUTH_INFO_TYPE: MQLONG = 66;
3399pub const MQIA_AUTO_REORGANIZATION: MQLONG = 173;
3400pub const MQIA_AUTO_REORG_INTERVAL: MQLONG = 174;
3401pub const MQIA_BACKOUT_THRESHOLD: MQLONG = 22;
3402pub const MQIA_BASE_TYPE: MQLONG = 193;
3403pub const MQIA_BATCH_INTERFACE_AUTO: MQLONG = 86;
3404pub const MQIA_BRIDGE_EVENT: MQLONG = 74;
3405pub const MQIA_CAP_EXPIRY: MQLONG = 276;
3406pub const MQIA_CERT_VAL_POLICY: MQLONG = 252;
3407pub const MQIA_CF_CFCONLOS: MQLONG = 246;
3408pub const MQIA_CF_LEVEL: MQLONG = 70;
3409pub const MQIA_CF_OFFLDUSE: MQLONG = 229;
3410pub const MQIA_CF_OFFLOAD: MQLONG = 224;
3411pub const MQIA_CF_OFFLOAD_THRESHOLD1: MQLONG = 225;
3412pub const MQIA_CF_OFFLOAD_THRESHOLD2: MQLONG = 226;
3413pub const MQIA_CF_OFFLOAD_THRESHOLD3: MQLONG = 227;
3414pub const MQIA_CF_RECAUTO: MQLONG = 244;
3415pub const MQIA_CF_RECOVER: MQLONG = 71;
3416pub const MQIA_CF_SMDS_BUFFERS: MQLONG = 228;
3417pub const MQIA_CHANNEL_AUTO_DEF: MQLONG = 55;
3418pub const MQIA_CHANNEL_AUTO_DEF_EVENT: MQLONG = 56;
3419pub const MQIA_CHANNEL_EVENT: MQLONG = 73;
3420pub const MQIA_CHECK_CLIENT_BINDING: MQLONG = 258;
3421pub const MQIA_CHECK_LOCAL_BINDING: MQLONG = 257;
3422pub const MQIA_CHINIT_ADAPTERS: MQLONG = 101;
3423pub const MQIA_CHINIT_CONTROL: MQLONG = 119;
3424pub const MQIA_CHINIT_DISPATCHERS: MQLONG = 105;
3425pub const MQIA_CHINIT_TRACE_AUTO_START: MQLONG = 117;
3426pub const MQIA_CHINIT_TRACE_TABLE_SIZE: MQLONG = 118;
3427pub const MQIA_CHLAUTH_RECORDS: MQLONG = 248;
3428pub const MQIA_CLUSTER_OBJECT_STATE: MQLONG = 256;
3429pub const MQIA_CLUSTER_PUB_ROUTE: MQLONG = 255;
3430pub const MQIA_CLUSTER_Q_TYPE: MQLONG = 59;
3431pub const MQIA_CLUSTER_WORKLOAD_LENGTH: MQLONG = 58;
3432pub const MQIA_CLWL_MRU_CHANNELS: MQLONG = 97;
3433pub const MQIA_CLWL_Q_PRIORITY: MQLONG = 96;
3434pub const MQIA_CLWL_Q_RANK: MQLONG = 95;
3435pub const MQIA_CLWL_USEQ: MQLONG = 98;
3436pub const MQIA_CMD_SERVER_AUTO: MQLONG = 87;
3437pub const MQIA_CMD_SERVER_CONTROL: MQLONG = 120;
3438pub const MQIA_CMD_SERVER_CONVERT_MSG: MQLONG = 88;
3439pub const MQIA_CMD_SERVER_DLQ_MSG: MQLONG = 89;
3440pub const MQIA_CODED_CHAR_SET_ID: MQLONG = 2;
3441pub const MQIA_COMMAND_EVENT: MQLONG = 99;
3442pub const MQIA_COMMAND_LEVEL: MQLONG = 31;
3443pub const MQIA_COMM_EVENT: MQLONG = 232;
3444pub const MQIA_COMM_INFO_TYPE: MQLONG = 223;
3445pub const MQIA_CONFIGURATION_EVENT: MQLONG = 51;
3446pub const MQIA_CPI_LEVEL: MQLONG = 27;
3447pub const MQIA_CURRENT_Q_DEPTH: MQLONG = 3;
3448pub const MQIA_DEFINITION_TYPE: MQLONG = 7;
3449pub const MQIA_DEF_BIND: MQLONG = 61;
3450pub const MQIA_DEF_CLUSTER_XMIT_Q_TYPE: MQLONG = 250;
3451pub const MQIA_DEF_INPUT_OPEN_OPTION: MQLONG = 4;
3452pub const MQIA_DEF_PERSISTENCE: MQLONG = 5;
3453pub const MQIA_DEF_PRIORITY: MQLONG = 6;
3454pub const MQIA_DEF_PUT_RESPONSE_TYPE: MQLONG = 184;
3455pub const MQIA_DEF_READ_AHEAD: MQLONG = 188;
3456pub const MQIA_DISPLAY_TYPE: MQLONG = 262;
3457pub const MQIA_DIST_LISTS: MQLONG = 34;
3458pub const MQIA_DNS_WLM: MQLONG = 106;
3459pub const MQIA_DURABLE_SUB: MQLONG = 175;
3460pub const MQIA_ENCRYPTION_ALGORITHM: MQLONG = 237;
3461pub const MQIA_EXPIRY_INTERVAL: MQLONG = 39;
3462pub const MQIA_FIRST: MQLONG = 1;
3463pub const MQIA_GROUP_UR: MQLONG = 221;
3464pub const MQIA_HARDEN_GET_BACKOUT: MQLONG = 8;
3465pub const MQIA_HIGH_Q_DEPTH: MQLONG = 36;
3466pub const MQIA_IGQ_PUT_AUTHORITY: MQLONG = 65;
3467pub const MQIA_INDEX_TYPE: MQLONG = 57;
3468pub const MQIA_INHIBIT_EVENT: MQLONG = 48;
3469pub const MQIA_INHIBIT_GET: MQLONG = 9;
3470pub const MQIA_INHIBIT_PUB: MQLONG = 181;
3471pub const MQIA_INHIBIT_PUT: MQLONG = 10;
3472pub const MQIA_INHIBIT_SUB: MQLONG = 182;
3473pub const MQIA_INTRA_GROUP_QUEUING: MQLONG = 64;
3474pub const MQIA_IP_ADDRESS_VERSION: MQLONG = 93;
3475pub const MQIA_KEY_REUSE_COUNT: MQLONG = 267;
3476pub const MQIA_LAST: MQLONG = 2000;
3477pub const MQIA_LAST_USED: MQLONG = 279;
3478pub const MQIA_LDAP_AUTHORMD: MQLONG = 263;
3479pub const MQIA_LDAP_NESTGRP: MQLONG = 264;
3480pub const MQIA_LDAP_SECURE_COMM: MQLONG = 261;
3481pub const MQIA_LISTENER_PORT_NUMBER: MQLONG = 85;
3482pub const MQIA_LISTENER_TIMER: MQLONG = 107;
3483pub const MQIA_LOCAL_EVENT: MQLONG = 49;
3484pub const MQIA_LOGGER_EVENT: MQLONG = 94;
3485pub const MQIA_LU62_CHANNELS: MQLONG = 108;
3486pub const MQIA_MASTER_ADMIN: MQLONG = 186;
3487pub const MQIA_MAX_CHANNELS: MQLONG = 109;
3488pub const MQIA_MAX_CLIENTS: MQLONG = 172;
3489pub const MQIA_MAX_GLOBAL_LOCKS: MQLONG = 83;
3490pub const MQIA_MAX_HANDLES: MQLONG = 11;
3491pub const MQIA_MAX_LOCAL_LOCKS: MQLONG = 84;
3492pub const MQIA_MAX_MSG_LENGTH: MQLONG = 13;
3493pub const MQIA_MAX_OPEN_Q: MQLONG = 80;
3494pub const MQIA_MAX_PRIORITY: MQLONG = 14;
3495pub const MQIA_MAX_PROPERTIES_LENGTH: MQLONG = 192;
3496pub const MQIA_MAX_Q_DEPTH: MQLONG = 15;
3497pub const MQIA_MAX_Q_FILE_SIZE: MQLONG = 274;
3498pub const MQIA_MAX_Q_TRIGGERS: MQLONG = 90;
3499pub const MQIA_MAX_RECOVERY_TASKS: MQLONG = 171;
3500pub const MQIA_MAX_RESPONSES: MQLONG = 230;
3501pub const MQIA_MAX_UNCOMMITTED_MSGS: MQLONG = 33;
3502pub const MQIA_MCAST_BRIDGE: MQLONG = 233;
3503pub const MQIA_MEDIA_IMAGE_INTERVAL: MQLONG = 269;
3504pub const MQIA_MEDIA_IMAGE_LOG_LENGTH: MQLONG = 270;
3505pub const MQIA_MEDIA_IMAGE_RECOVER_OBJ: MQLONG = 271;
3506pub const MQIA_MEDIA_IMAGE_RECOVER_Q: MQLONG = 272;
3507pub const MQIA_MEDIA_IMAGE_SCHEDULING: MQLONG = 268;
3508pub const MQIA_MONITORING_AUTO_CLUSSDR: MQLONG = 124;
3509pub const MQIA_MONITORING_CHANNEL: MQLONG = 122;
3510pub const MQIA_MONITORING_Q: MQLONG = 123;
3511pub const MQIA_MONITOR_INTERVAL: MQLONG = 81;
3512pub const MQIA_MSG_DELIVERY_SEQUENCE: MQLONG = 16;
3513pub const MQIA_MSG_DEQ_COUNT: MQLONG = 38;
3514pub const MQIA_MSG_ENQ_COUNT: MQLONG = 37;
3515pub const MQIA_MSG_MARK_BROWSE_INTERVAL: MQLONG = 68;
3516pub const MQIA_MULTICAST: MQLONG = 176;
3517pub const MQIA_NAMELIST_TYPE: MQLONG = 72;
3518pub const MQIA_NAME_COUNT: MQLONG = 19;
3519pub const MQIA_NPM_CLASS: MQLONG = 78;
3520pub const MQIA_NPM_DELIVERY: MQLONG = 196;
3521pub const MQIA_OPEN_INPUT_COUNT: MQLONG = 17;
3522pub const MQIA_OPEN_OUTPUT_COUNT: MQLONG = 18;
3523pub const MQIA_OTEL_PROPAGATION_CONTROL: MQLONG = 279;
3524pub const MQIA_OTEL_TRACE: MQLONG = 278;
3525pub const MQIA_OUTBOUND_PORT_MAX: MQLONG = 140;
3526pub const MQIA_OUTBOUND_PORT_MIN: MQLONG = 110;
3527pub const MQIA_PAGESET_ID: MQLONG = 62;
3528pub const MQIA_PERFORMANCE_EVENT: MQLONG = 53;
3529pub const MQIA_PLATFORM: MQLONG = 32;
3530pub const MQIA_PM_DELIVERY: MQLONG = 195;
3531pub const MQIA_POLICY_VERSION: MQLONG = 238;
3532pub const MQIA_PROPERTY_CONTROL: MQLONG = 190;
3533pub const MQIA_PROT_POLICY_CAPABILITY: MQLONG = 251;
3534pub const MQIA_PROXY_SUB: MQLONG = 199;
3535pub const MQIA_PUBSUB_CLUSTER: MQLONG = 249;
3536pub const MQIA_PUBSUB_MAXMSG_RETRY_COUNT: MQLONG = 206;
3537pub const MQIA_PUBSUB_MODE: MQLONG = 187;
3538pub const MQIA_PUBSUB_NP_MSG: MQLONG = 203;
3539pub const MQIA_PUBSUB_NP_RESP: MQLONG = 205;
3540pub const MQIA_PUBSUB_SYNC_PT: MQLONG = 207;
3541pub const MQIA_PUB_COUNT: MQLONG = 215;
3542pub const MQIA_PUB_SCOPE: MQLONG = 219;
3543pub const MQIA_QMGR_CFCONLOS: MQLONG = 245;
3544pub const MQIA_QMOPT_CONS_COMMS_MSGS: MQLONG = 155;
3545pub const MQIA_QMOPT_CONS_CRITICAL_MSGS: MQLONG = 154;
3546pub const MQIA_QMOPT_CONS_ERROR_MSGS: MQLONG = 153;
3547pub const MQIA_QMOPT_CONS_INFO_MSGS: MQLONG = 151;
3548pub const MQIA_QMOPT_CONS_REORG_MSGS: MQLONG = 156;
3549pub const MQIA_QMOPT_CONS_SYSTEM_MSGS: MQLONG = 157;
3550pub const MQIA_QMOPT_CONS_WARNING_MSGS: MQLONG = 152;
3551pub const MQIA_QMOPT_CSMT_ON_ERROR: MQLONG = 150;
3552pub const MQIA_QMOPT_INTERNAL_DUMP: MQLONG = 170;
3553pub const MQIA_QMOPT_LOG_COMMS_MSGS: MQLONG = 162;
3554pub const MQIA_QMOPT_LOG_CRITICAL_MSGS: MQLONG = 161;
3555pub const MQIA_QMOPT_LOG_ERROR_MSGS: MQLONG = 160;
3556pub const MQIA_QMOPT_LOG_INFO_MSGS: MQLONG = 158;
3557pub const MQIA_QMOPT_LOG_REORG_MSGS: MQLONG = 163;
3558pub const MQIA_QMOPT_LOG_SYSTEM_MSGS: MQLONG = 164;
3559pub const MQIA_QMOPT_LOG_WARNING_MSGS: MQLONG = 159;
3560pub const MQIA_QMOPT_TRACE_COMMS: MQLONG = 166;
3561pub const MQIA_QMOPT_TRACE_CONVERSION: MQLONG = 168;
3562pub const MQIA_QMOPT_TRACE_MQI_CALLS: MQLONG = 165;
3563pub const MQIA_QMOPT_TRACE_REORG: MQLONG = 167;
3564pub const MQIA_QMOPT_TRACE_SYSTEM: MQLONG = 169;
3565pub const MQIA_QSG_DISP: MQLONG = 63;
3566pub const MQIA_Q_DEPTH_HIGH_EVENT: MQLONG = 43;
3567pub const MQIA_Q_DEPTH_HIGH_LIMIT: MQLONG = 40;
3568pub const MQIA_Q_DEPTH_LOW_EVENT: MQLONG = 44;
3569pub const MQIA_Q_DEPTH_LOW_LIMIT: MQLONG = 41;
3570pub const MQIA_Q_DEPTH_MAX_EVENT: MQLONG = 42;
3571pub const MQIA_Q_SERVICE_INTERVAL: MQLONG = 54;
3572pub const MQIA_Q_SERVICE_INTERVAL_EVENT: MQLONG = 46;
3573pub const MQIA_Q_TYPE: MQLONG = 20;
3574pub const MQIA_Q_USERS: MQLONG = 82;
3575pub const MQIA_READ_AHEAD: MQLONG = 189;
3576pub const MQIA_RECEIVE_TIMEOUT: MQLONG = 111;
3577pub const MQIA_RECEIVE_TIMEOUT_MIN: MQLONG = 113;
3578pub const MQIA_RECEIVE_TIMEOUT_TYPE: MQLONG = 112;
3579pub const MQIA_REMOTE_EVENT: MQLONG = 50;
3580pub const MQIA_RESPONSE_RESTART_POINT: MQLONG = 231;
3581pub const MQIA_RETENTION_INTERVAL: MQLONG = 21;
3582pub const MQIA_REVERSE_DNS_LOOKUP: MQLONG = 254;
3583pub const MQIA_SCOPE: MQLONG = 45;
3584pub const MQIA_SECURITY_CASE: MQLONG = 141;
3585pub const MQIA_SERVICE_CONTROL: MQLONG = 139;
3586pub const MQIA_SERVICE_TYPE: MQLONG = 121;
3587pub const MQIA_SHAREABILITY: MQLONG = 23;
3588pub const MQIA_SHARED_Q_Q_MGR_NAME: MQLONG = 77;
3589pub const MQIA_SIGNATURE_ALGORITHM: MQLONG = 236;
3590pub const MQIA_SSL_EVENT: MQLONG = 75;
3591pub const MQIA_SSL_FIPS_REQUIRED: MQLONG = 92;
3592pub const MQIA_SSL_RESET_COUNT: MQLONG = 76;
3593pub const MQIA_SSL_TASKS: MQLONG = 69;
3594pub const MQIA_START_STOP_EVENT: MQLONG = 52;
3595pub const MQIA_STATISTICS_AUTO_CLUSSDR: MQLONG = 130;
3596pub const MQIA_STATISTICS_CHANNEL: MQLONG = 129;
3597pub const MQIA_STATISTICS_INTERVAL: MQLONG = 131;
3598pub const MQIA_STATISTICS_MQI: MQLONG = 127;
3599pub const MQIA_STATISTICS_Q: MQLONG = 128;
3600pub const MQIA_STREAM_QUEUE_QOS: MQLONG = 275;
3601pub const MQIA_SUB_CONFIGURATION_EVENT: MQLONG = 242;
3602pub const MQIA_SUB_COUNT: MQLONG = 204;
3603pub const MQIA_SUB_SCOPE: MQLONG = 218;
3604pub const MQIA_SUITE_B_STRENGTH: MQLONG = 247;
3605pub const MQIA_SYNCPOINT: MQLONG = 30;
3606pub const MQIA_TCP_CHANNELS: MQLONG = 114;
3607pub const MQIA_TCP_KEEP_ALIVE: MQLONG = 115;
3608pub const MQIA_TCP_STACK_TYPE: MQLONG = 116;
3609pub const MQIA_TIME_SINCE_RESET: MQLONG = 35;
3610pub const MQIA_TOLERATE_UNPROTECTED: MQLONG = 235;
3611pub const MQIA_TOPIC_DEF_PERSISTENCE: MQLONG = 185;
3612pub const MQIA_TOPIC_NODE_COUNT: MQLONG = 253;
3613pub const MQIA_TOPIC_TYPE: MQLONG = 208;
3614pub const MQIA_TRACE_ROUTE_RECORDING: MQLONG = 137;
3615pub const MQIA_TREE_LIFE_TIME: MQLONG = 183;
3616pub const MQIA_TRIGGER_CONTROL: MQLONG = 24;
3617pub const MQIA_TRIGGER_DEPTH: MQLONG = 29;
3618pub const MQIA_TRIGGER_INTERVAL: MQLONG = 25;
3619pub const MQIA_TRIGGER_MSG_PRIORITY: MQLONG = 26;
3620pub const MQIA_TRIGGER_RESTART: MQLONG = 91;
3621pub const MQIA_TRIGGER_TYPE: MQLONG = 28;
3622pub const MQIA_UR_DISP: MQLONG = 222;
3623pub const MQIA_USAGE: MQLONG = 12;
3624pub const MQIA_USER_LIST: MQLONG = 2000;
3625pub const MQIA_USE_DEAD_LETTER_Q: MQLONG = 234;
3626pub const MQIA_WILDCARD_OPERATION: MQLONG = 216;
3627pub const MQIA_XR_CAPABILITY: MQLONG = 243;
3628pub const MQIAV_NOT_APPLICABLE: MQLONG = -1;
3629pub const MQIAV_UNDEFINED: MQLONG = -2;
3630pub const MQMCB_DISABLED: MQLONG = 0;
3631pub const MQMCB_ENABLED: MQLONG = 1;
3632pub const MQKEY_REUSE_DISABLED: MQLONG = 0;
3633pub const MQKEY_REUSE_UNLIMITED: MQLONG = -1;
3634pub const MQGA_FIRST: MQLONG = 8001;
3635pub const MQGA_LAST: MQLONG = 9000;
3636pub const MQOO_BIND_AS_Q_DEF: MQLONG = 0;
3637pub const MQOO_READ_AHEAD_AS_Q_DEF: MQLONG = 0;
3638pub const MQOO_INPUT_AS_Q_DEF: MQLONG = 1;
3639pub const MQOO_INPUT_SHARED: MQLONG = 2;
3640pub const MQOO_INPUT_EXCLUSIVE: MQLONG = 4;
3641pub const MQOO_BROWSE: MQLONG = 8;
3642pub const MQOO_OUTPUT: MQLONG = 16;
3643pub const MQOO_INQUIRE: MQLONG = 32;
3644pub const MQOO_SET: MQLONG = 64;
3645pub const MQOO_SAVE_ALL_CONTEXT: MQLONG = 128;
3646pub const MQOO_PASS_IDENTITY_CONTEXT: MQLONG = 256;
3647pub const MQOO_PASS_ALL_CONTEXT: MQLONG = 512;
3648pub const MQOO_SET_IDENTITY_CONTEXT: MQLONG = 1024;
3649pub const MQOO_SET_ALL_CONTEXT: MQLONG = 2048;
3650pub const MQOO_ALTERNATE_USER_AUTHORITY: MQLONG = 4096;
3651pub const MQOO_FAIL_IF_QUIESCING: MQLONG = 8192;
3652pub const MQOO_BIND_ON_OPEN: MQLONG = 16384;
3653pub const MQOO_BIND_ON_GROUP: MQLONG = 4194304;
3654pub const MQOO_BIND_NOT_FIXED: MQLONG = 32768;
3655pub const MQOO_CO_OP: MQLONG = 131072;
3656pub const MQOO_NO_READ_AHEAD: MQLONG = 524288;
3657pub const MQOO_READ_AHEAD: MQLONG = 1048576;
3658pub const MQOO_NO_MULTICAST: MQLONG = 2097152;
3659pub const MQOO_RESOLVE_LOCAL_Q: MQLONG = 262144;
3660pub const MQOO_RESOLVE_LOCAL_TOPIC: MQLONG = 262144;
3661pub const MQOO_RESOLVE_NAMES: MQLONG = 65536;
3662pub const MQTYPE_AS_SET: MQLONG = 0;
3663pub const MQTYPE_NULL: MQLONG = 2;
3664pub const MQTYPE_BOOLEAN: MQLONG = 4;
3665pub const MQTYPE_BYTE_STRING: MQLONG = 8;
3666pub const MQTYPE_INT8: MQLONG = 16;
3667pub const MQTYPE_INT16: MQLONG = 32;
3668pub const MQTYPE_INT32: MQLONG = 64;
3669pub const MQTYPE_LONG: MQLONG = 64;
3670pub const MQTYPE_INT64: MQLONG = 128;
3671pub const MQTYPE_FLOAT32: MQLONG = 256;
3672pub const MQTYPE_FLOAT64: MQLONG = 512;
3673pub const MQTYPE_STRING: MQLONG = 1024;
3674pub const MQVL_NULL_TERMINATED: MQLONG = -1;
3675pub const MQVL_EMPTY_STRING: MQLONG = 0;
3676pub const MQSTAT_TYPE_ASYNC_ERROR: MQLONG = 0;
3677pub const MQSTAT_TYPE_RECONNECTION: MQLONG = 1;
3678pub const MQSTAT_TYPE_RECONNECTION_ERROR: MQLONG = 2;
3679pub const MQSO_NONE: MQLONG = 0;
3680pub const MQSO_NON_DURABLE: MQLONG = 0;
3681pub const MQSO_READ_AHEAD_AS_Q_DEF: MQLONG = 0;
3682pub const MQSO_ALTER: MQLONG = 1;
3683pub const MQSO_CREATE: MQLONG = 2;
3684pub const MQSO_RESUME: MQLONG = 4;
3685pub const MQSO_DURABLE: MQLONG = 8;
3686pub const MQSO_GROUP_SUB: MQLONG = 16;
3687pub const MQSO_MANAGED: MQLONG = 32;
3688pub const MQSO_SET_IDENTITY_CONTEXT: MQLONG = 64;
3689pub const MQSO_NO_MULTICAST: MQLONG = 128;
3690pub const MQSO_FIXED_USERID: MQLONG = 256;
3691pub const MQSO_ANY_USERID: MQLONG = 512;
3692pub const MQSO_PUBLICATIONS_ON_REQUEST: MQLONG = 2048;
3693pub const MQSO_NEW_PUBLICATIONS_ONLY: MQLONG = 4096;
3694pub const MQSO_FAIL_IF_QUIESCING: MQLONG = 8192;
3695pub const MQSO_ALTERNATE_USER_AUTHORITY: MQLONG = 262144;
3696pub const MQSO_WILDCARD_CHAR: MQLONG = 1048576;
3697pub const MQSO_WILDCARD_TOPIC: MQLONG = 2097152;
3698pub const MQSO_SET_CORREL_ID: MQLONG = 4194304;
3699pub const MQSO_SCOPE_QMGR: MQLONG = 67108864;
3700pub const MQSO_NO_READ_AHEAD: MQLONG = 134217728;
3701pub const MQSO_READ_AHEAD: MQLONG = 268435456;
3702pub const MQSR_ACTION_PUBLICATION: MQLONG = 1;
3703unsafe extern "C" {
3704    /// Back Out Changes
3705    ///
3706    /// # Arguments
3707    /// * `Hconn`: Connection handle
3708    /// * `CompCode` (Output): Completion code
3709    /// * `Reason` (Output): Reason code qualifying `CompCode`
3710    ///
3711    /// # References
3712    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqback-back-out-changes)
3713    pub fn MQBACK(Hconn: MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG);
3714    /// Begin Unit of Work
3715    ///
3716    /// # Arguments
3717    /// * `Hconn`: Connection handle
3718    /// * `BeginOptions` (Input/Output): Options that control the action of [`MQBEGIN`]
3719    /// * `CompCode` (Output): Completion code
3720    /// * `Reason` (Output): Reason code qualifying `CompCode`
3721    ///
3722    /// # References
3723    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqbegin-begin-unit-work)
3724    pub fn MQBEGIN(
3725        Hconn: MQHCONN,
3726        BeginOptions: Option<&mut MQBO>,
3727        CompCode: &mut MQLONG,
3728        Reason: &mut MQLONG,
3729    );
3730    /// Buffer To Message Handle
3731    ///
3732    /// # Arguments
3733    /// * `Hconn`: Connection handle
3734    /// * `Hmsg`: Message handle
3735    /// * `BufMsgHOpts`: Options that control the action of [`MQBUFMH`]
3736    /// * `MsgDesc` (Input/Output): Message descriptor
3737    /// * `BufferLength`: Length in bytes of the Buffer area
3738    /// * `Buffer` (Input/Output): Area to contain the message buffer
3739    /// * `DataLength` (Output): Length of the output buffer
3740    /// * `CompCode` (Output): Completion code
3741    /// * `Reason` (Output): Reason code qualifying `CompCode`
3742    ///
3743    /// # References
3744    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqbufmh-convert-buffer-into-message-handle)
3745    pub fn MQBUFMH(
3746        Hconn: MQHCONN,
3747        Hmsg: MQHMSG,
3748        BufMsgHOpts: &MQBMHO,
3749        MsgDesc: PMQVOID,
3750        BufferLength: MQLONG,
3751        Buffer: PMQVOID,
3752        DataLength: &mut MQLONG,
3753        CompCode: &mut MQLONG,
3754        Reason: &mut MQLONG,
3755    );
3756    /// Register Message consumer
3757    ///
3758    /// # Arguments
3759    /// * `Hconn`: Connection handle
3760    /// * `Operation`: Operation
3761    /// * `CallbackDesc`: Callback descriptor
3762    /// * `Hobj`: Object handle
3763    /// * `MsgDesc`: Message Descriptor
3764    /// * `GetMsgOpts`: Get options
3765    /// * `CompCode` (Output): Completion code
3766    /// * `Reason` (Output): Reason code qualifying `CompCode`
3767    ///
3768    /// # References
3769    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqcb-manage-callback)
3770    pub fn MQCB(
3771        Hconn: MQHCONN,
3772        Operation: MQLONG,
3773        CallbackDesc: Option<&MQCBD>,
3774        Hobj: MQHOBJ,
3775        MsgDesc: PMQVOID,
3776        GetMsgOpts: Option<&MQGMO>,
3777        CompCode: &mut MQLONG,
3778        Reason: &mut MQLONG,
3779    );
3780    /// Close Object
3781    ///
3782    /// # Arguments
3783    /// * `Hconn`: Connection handle
3784    /// * `Hobj` (Input/Output): Object handle
3785    /// * `Options`: Options that control the action of [`MQCLOSE`]
3786    /// * `CompCode` (Output): Completion code
3787    /// * `Reason` (Output): Reason code qualifying `CompCode`
3788    ///
3789    /// # References
3790    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqclose-close-object)
3791    pub fn MQCLOSE(
3792        Hconn: MQHCONN,
3793        Hobj: &mut MQHOBJ,
3794        Options: MQLONG,
3795        CompCode: &mut MQLONG,
3796        Reason: &mut MQLONG,
3797    );
3798    /// Commit Changes
3799    ///
3800    /// # Arguments
3801    /// * `Hconn`: Connection handle
3802    /// * `CompCode` (Output): Completion code
3803    /// * `Reason` (Output): Reason code qualifying `CompCode`
3804    ///
3805    /// # References
3806    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqcmit-commit-changes)
3807    pub fn MQCMIT(Hconn: MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG);
3808    /// Connect Queue Manager
3809    ///
3810    /// # Arguments
3811    /// * `QMgrName`: Name of queue manager
3812    /// * `Hconn` (Output): Connection handle
3813    /// * `CompCode` (Output): Completion code
3814    /// * `Reason` (Output): Reason code qualifying `CompCode`
3815    ///
3816    /// # References
3817    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqconn-connect-queue-manager)
3818    pub fn MQCONN(
3819        QMgrName: &MQCHAR48,
3820        Hconn: &mut MQHCONN,
3821        CompCode: &mut MQLONG,
3822        Reason: &mut MQLONG,
3823    );
3824    /// Connect Queue Manager (Extended)
3825    ///
3826    /// # Arguments
3827    /// * `QMgrName`: Name of queue manager
3828    /// * `ConnectOpts` (Input/Output): Options that control the action of [`MQCONNX`]
3829    /// * `Hconn` (Output): Connection handle
3830    /// * `CompCode` (Output): Completion code
3831    /// * `Reason` (Output): Reason code qualifying `CompCode`
3832    ///
3833    /// # References
3834    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqconnx-connect-queue-manager-extended)
3835    pub fn MQCONNX(
3836        QMgrName: &MQCHAR48,
3837        ConnectOpts: &mut MQCNO,
3838        Hconn: &mut MQHCONN,
3839        CompCode: &mut MQLONG,
3840        Reason: &mut MQLONG,
3841    );
3842    /// Create Message Handle
3843    ///
3844    /// # Arguments
3845    /// * `Hconn`: Connection handle
3846    /// * `CrtMsgHOpts`: Options that control the action of [`MQCRTMH`]
3847    /// * `Hmsg` (Output): Message handle
3848    /// * `CompCode` (Output): Completion code
3849    /// * `Reason` (Output): Reason code qualifying `CompCode`
3850    ///
3851    /// # References
3852    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqcrtmh-create-message-handle)
3853    pub fn MQCRTMH(
3854        Hconn: MQHCONN,
3855        CrtMsgHOpts: &MQCMHO,
3856        Hmsg: &mut MQHMSG,
3857        CompCode: &mut MQLONG,
3858        Reason: &mut MQLONG,
3859    );
3860    /// Control Consumer
3861    ///
3862    /// # Arguments
3863    /// * `Hconn`: Connection handle
3864    /// * `Operation`: Operation
3865    /// * `ControlOpts`: Control options
3866    /// * `CompCode` (Output): Completion code
3867    /// * `Reason` (Output): Reason code qualifying `CompCode`
3868    ///
3869    /// # References
3870    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqctl-control-callbacks)
3871    pub fn MQCTL(
3872        Hconn: MQHCONN,
3873        Operation: MQLONG,
3874        ControlOpts: &MQCTLO,
3875        CompCode: &mut MQLONG,
3876        Reason: &mut MQLONG,
3877    );
3878    /// Disconnect Queue Manager
3879    ///
3880    /// # Arguments
3881    /// * `Hconn` (Input/Output): Connection handle
3882    /// * `CompCode` (Output): Completion code
3883    /// * `Reason` (Output): Reason code qualifying `CompCode`
3884    ///
3885    /// # References
3886    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqdisc-disconnect-queue-manager)
3887    pub fn MQDISC(Hconn: &mut MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG);
3888    /// Delete Message Handle
3889    ///
3890    /// # Arguments
3891    /// * `Hconn`: Connection handle
3892    /// * `Hmsg` (Input/Output): Message handle
3893    /// * `DltMsgHOpts`: Options that control the action of [`MQDLTMH`]
3894    /// * `CompCode` (Output): Completion code
3895    /// * `Reason` (Output): Reason code qualifying `CompCode`
3896    ///
3897    /// # References
3898    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqdltmh-delete-message-handle)
3899    pub fn MQDLTMH(
3900        Hconn: MQHCONN,
3901        Hmsg: &mut MQHMSG,
3902        DltMsgHOpts: &MQDMHO,
3903        CompCode: &mut MQLONG,
3904        Reason: &mut MQLONG,
3905    );
3906    /// Delete Message Property
3907    ///
3908    /// # Arguments
3909    /// * `Hconn`: Connection handle
3910    /// * `Hmsg`: Message handle
3911    /// * `DltPropOpts`: Options that control the action of [`MQDLTMP`]
3912    /// * `Name`: Property name
3913    /// * `CompCode` (Output): Completion code
3914    /// * `Reason` (Output): Reason code qualifying `CompCode`
3915    ///
3916    /// # References
3917    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqdltmp-delete-message-property)
3918    pub fn MQDLTMP(
3919        Hconn: MQHCONN,
3920        Hmsg: MQHMSG,
3921        DltPropOpts: &MQDMPO,
3922        Name: &MQCHARV,
3923        CompCode: &mut MQLONG,
3924        Reason: &mut MQLONG,
3925    );
3926    /// Get Message
3927    ///
3928    /// # Arguments
3929    /// * `Hconn`: Connection handle
3930    /// * `Hobj`: Object handle
3931    /// * `MsgDesc` (Input/Output): Message descriptor
3932    /// * `GetMsgOpts` (Input/Output): Options that control the action of [`MQGET`]
3933    /// * `BufferLength`: Length in bytes of the Buffer area
3934    /// * `Buffer` (Output): Area to contain the message data
3935    /// * `DataLength` (Output): Length of the message
3936    /// * `CompCode` (Output): Completion code
3937    /// * `Reason` (Output): Reason code qualifying `CompCode`
3938    ///
3939    /// # References
3940    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqget-get-message)
3941    pub fn MQGET(
3942        Hconn: MQHCONN,
3943        Hobj: MQHOBJ,
3944        MsgDesc: PMQVOID,
3945        GetMsgOpts: &mut MQGMO,
3946        BufferLength: MQLONG,
3947        Buffer: PMQVOID,
3948        DataLength: &mut MQLONG,
3949        CompCode: &mut MQLONG,
3950        Reason: &mut MQLONG,
3951    );
3952    /// Inquire Object Attributes
3953    ///
3954    /// # Arguments
3955    /// * `Hconn`: Connection handle
3956    /// * `Hobj`: Object handle
3957    /// * `SelectorCount`: Count of selectors
3958    /// * `Selectors`: Array of attribute selectors
3959    /// * `IntAttrCount`: Count of integer attributes
3960    /// * `IntAttrs` (Output): Array of integer attributes
3961    /// * `CharAttrLength`: Length of character attributes buffer
3962    /// * `CharAttrs` (Output): Character attributes
3963    /// * `CompCode` (Output): Completion code
3964    /// * `Reason` (Output): Reason code qualifying `CompCode`
3965    ///
3966    /// # References
3967    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqinq-inquire-object-attributes)
3968    pub fn MQINQ(
3969        Hconn: MQHCONN,
3970        Hobj: MQHOBJ,
3971        SelectorCount: MQLONG,
3972        Selectors: PMQLONG,
3973        IntAttrCount: MQLONG,
3974        IntAttrs: PMQLONG,
3975        CharAttrLength: MQLONG,
3976        CharAttrs: PMQCHAR,
3977        CompCode: &mut MQLONG,
3978        Reason: &mut MQLONG,
3979    );
3980    /// Inquire Message Property
3981    ///
3982    /// # Arguments
3983    /// * `Hconn`: Connection handle
3984    /// * `Hmsg`: Message handle
3985    /// * `InqPropOpts`: Options that control the action of [`MQINQMP`]
3986    /// * `Name`: Property name
3987    /// * `PropDesc` (Output): Property descriptor
3988    /// * `Type` (Input/Output): Property data type
3989    /// * `ValueLength`: Length in bytes of the Value area
3990    /// * `Value` (Output): Property value
3991    /// * `DataLength` (Output): Length of the property value
3992    /// * `CompCode` (Output): Completion code
3993    /// * `Reason` (Output): Reason code qualifying `CompCode`
3994    ///
3995    /// # References
3996    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqinqmp-inquire-message-property)
3997    pub fn MQINQMP(
3998        Hconn: MQHCONN,
3999        Hmsg: MQHMSG,
4000        InqPropOpts: &mut MQIMPO,
4001        Name: &MQCHARV,
4002        PropDesc: &mut MQPD,
4003        Type: &mut MQLONG,
4004        ValueLength: MQLONG,
4005        Value: PMQVOID,
4006        DataLength: &mut MQLONG,
4007        CompCode: &mut MQLONG,
4008        Reason: &mut MQLONG,
4009    );
4010    /// Message Handle To Buffer
4011    ///
4012    /// # Arguments
4013    /// * `Hconn`: Connection handle
4014    /// * `Hmsg`: Message handle
4015    /// * `MsgHBufOpts`: Options that control the action of [`MQMHBUF`]
4016    /// * `Name`: Property name
4017    /// * `MsgDesc` (Input/Output): Message descriptor
4018    /// * `BufferLength`: Length in bytes of the Buffer area
4019    /// * `Buffer` (Output): Area to contain the properties
4020    /// * `DataLength` (Output): Length of the properties
4021    /// * `CompCode` (Output): Completion code
4022    /// * `Reason` (Output): Reason code qualifying `CompCode`
4023    ///
4024    /// # References
4025    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqmhbuf-convert-message-handle-into-buffer)
4026    pub fn MQMHBUF(
4027        Hconn: MQHCONN,
4028        Hmsg: MQHMSG,
4029        MsgHBufOpts: &MQMHBO,
4030        Name: &MQCHARV,
4031        MsgDesc: PMQVOID,
4032        BufferLength: MQLONG,
4033        Buffer: PMQVOID,
4034        DataLength: &mut MQLONG,
4035        CompCode: &mut MQLONG,
4036        Reason: &mut MQLONG,
4037    );
4038    /// Open Object
4039    ///
4040    /// # Arguments
4041    /// * `Hconn`: Connection handle
4042    /// * `ObjDesc` (Input/Output): Object descriptor
4043    /// * `Options`: Options that control the action of [`MQOPEN`]
4044    /// * `Hobj` (Output): Object handle
4045    /// * `CompCode` (Output): Completion code
4046    /// * `Reason` (Output): Reason code qualifying `CompCode`
4047    ///
4048    /// # References
4049    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqopen-open-object)
4050    pub fn MQOPEN(
4051        Hconn: MQHCONN,
4052        ObjDesc: &mut MQOD,
4053        Options: MQLONG,
4054        Hobj: &mut MQHOBJ,
4055        CompCode: &mut MQLONG,
4056        Reason: &mut MQLONG,
4057    );
4058    /// Put Message
4059    ///
4060    /// # Arguments
4061    /// * `Hconn`: Connection handle
4062    /// * `Hobj`: Object handle
4063    /// * `MsgDesc` (Input/Output): Message descriptor
4064    /// * `PutMsgOpts` (Input/Output): Options that control the action of [`MQPUT`]
4065    /// * `BufferLength`: Length of the message in Buffer
4066    /// * `Buffer`: Message data
4067    /// * `CompCode` (Output): Completion code
4068    /// * `Reason` (Output): Reason code qualifying `CompCode`
4069    ///
4070    /// # References
4071    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqput-put-message)
4072    pub fn MQPUT(
4073        Hconn: MQHCONN,
4074        Hobj: MQHOBJ,
4075        MsgDesc: PMQVOID,
4076        PutMsgOpts: &mut MQPMO,
4077        BufferLength: MQLONG,
4078        Buffer: PMQVOID,
4079        CompCode: &mut MQLONG,
4080        Reason: &mut MQLONG,
4081    );
4082    /// Put One Message
4083    ///
4084    /// # Arguments
4085    /// * `Hconn`: Connection handle
4086    /// * `ObjDesc` (Input/Output): Object descriptor
4087    /// * `MsgDesc` (Input/Output): Message descriptor
4088    /// * `PutMsgOpts` (Input/Output): Options that control the action of [`MQPUT1`]
4089    /// * `BufferLength`: Length of the message in Buffer
4090    /// * `Buffer`: Message data
4091    /// * `CompCode` (Output): Completion code
4092    /// * `Reason` (Output): Reason code qualifying `CompCode`
4093    ///
4094    /// # References
4095    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqput1-put-one-message)
4096    pub fn MQPUT1(
4097        Hconn: MQHCONN,
4098        ObjDesc: &mut MQOD,
4099        MsgDesc: PMQVOID,
4100        PutMsgOpts: &mut MQPMO,
4101        BufferLength: MQLONG,
4102        Buffer: PMQVOID,
4103        CompCode: &mut MQLONG,
4104        Reason: &mut MQLONG,
4105    );
4106    /// Set Object Attributes
4107    ///
4108    /// # Arguments
4109    /// * `Hconn`: Connection handle
4110    /// * `Hobj`: Object handle
4111    /// * `SelectorCount`: Count of selectors
4112    /// * `Selectors`: Array of attribute selectors
4113    /// * `IntAttrCount`: Count of integer attributes
4114    /// * `IntAttrs`: Array of integer attributes
4115    /// * `CharAttrLength`: Length of character attributes buffer
4116    /// * `CharAttrs`: Character attributes
4117    /// * `CompCode` (Output): Completion code
4118    /// * `Reason` (Output): Reason code qualifying `CompCode`
4119    ///
4120    /// # References
4121    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqset-set-object-attributes)
4122    pub fn MQSET(
4123        Hconn: MQHCONN,
4124        Hobj: MQHOBJ,
4125        SelectorCount: MQLONG,
4126        Selectors: PMQLONG,
4127        IntAttrCount: MQLONG,
4128        IntAttrs: PMQLONG,
4129        CharAttrLength: MQLONG,
4130        CharAttrs: PMQCHAR,
4131        CompCode: &mut MQLONG,
4132        Reason: &mut MQLONG,
4133    );
4134    /// Set Message Property
4135    ///
4136    /// # Arguments
4137    /// * `Hconn`: Connection handle
4138    /// * `Hmsg`: Message handle
4139    /// * `SetPropOpts`: Options that control the action of [`MQSETMP`]
4140    /// * `Name`: Property name
4141    /// * `PropDesc` (Input/Output): Property descriptor
4142    /// * `Type`: Property data type
4143    /// * `ValueLength`: Length of the Value area
4144    /// * `Value`: Property value
4145    /// * `CompCode` (Output): Completion code
4146    /// * `Reason` (Output): Reason code qualifying `CompCode`
4147    ///
4148    /// # References
4149    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqsetmp-set-message-property)
4150    pub fn MQSETMP(
4151        Hconn: MQHCONN,
4152        Hmsg: MQHMSG,
4153        SetPropOpts: &MQSMPO,
4154        Name: &MQCHARV,
4155        PropDesc: &mut MQPD,
4156        Type: MQLONG,
4157        ValueLength: MQLONG,
4158        Value: PMQVOID,
4159        CompCode: &mut MQLONG,
4160        Reason: &mut MQLONG,
4161    );
4162    /// Get Status Information
4163    ///
4164    /// # Arguments
4165    /// * `Hconn`: Connection handle
4166    /// * `Type`: Status information type
4167    /// * `Status` (Input/Output): Status information
4168    /// * `CompCode` (Output): Completion code
4169    /// * `Reason` (Output): Reason code qualifying `CompCode`
4170    ///
4171    /// # References
4172    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqstat-retrieve-status-information)
4173    pub fn MQSTAT(
4174        Hconn: MQHCONN,
4175        Type: MQLONG,
4176        Status: &mut MQSTS,
4177        CompCode: &mut MQLONG,
4178        Reason: &mut MQLONG,
4179    );
4180    /// Subscribe to topic
4181    ///
4182    /// # Arguments
4183    /// * `Hconn`: Connection handle
4184    /// * `SubDesc` (Input/Output): Subscription descriptor
4185    /// * `Hobj` (Input/Output): Object handle for queue
4186    /// * `Hsub` (Output): Subscription object handle
4187    /// * `CompCode` (Output): Completion code
4188    /// * `Reason` (Output): Reason code qualifying `CompCode`
4189    ///
4190    /// # References
4191    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqsub-register-subscription)
4192    pub fn MQSUB(
4193        Hconn: MQHCONN,
4194        SubDesc: &mut MQSD,
4195        Hobj: Option<&mut MQHOBJ>,
4196        Hsub: &mut MQHOBJ,
4197        CompCode: &mut MQLONG,
4198        Reason: &mut MQLONG,
4199    );
4200    /// Subscription Request
4201    ///
4202    /// # Arguments
4203    /// * `Hconn`: Connection handle
4204    /// * `Hsub`: Subscription handle
4205    /// * `Action`: Action requested on the subscription
4206    /// * `SubRqOpts` (Input/Output): Subscription Request Options
4207    /// * `CompCode` (Output): Completion code
4208    /// * `Reason` (Output): Reason code qualifying `CompCode`
4209    ///
4210    /// # References
4211    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=calls-mqsubrq-subscription-request)
4212    pub fn MQSUBRQ(
4213        Hconn: MQHCONN,
4214        Hsub: MQHOBJ,
4215        Action: MQLONG,
4216        SubRqOpts: Option<&mut MQSRO>,
4217        CompCode: &mut MQLONG,
4218        Reason: &mut MQLONG,
4219    );
4220}
4221pub type PMQCD = *mut MQCD;
4222pub type PPMQCD = *mut PMQCD;
4223/// Channel Definition
4224#[repr(C)]
4225#[derive(Debug, Copy, Clone)]
4226pub struct MQCD {
4227    /// Channel definition name
4228    pub ChannelName: [MQCHAR; 20usize],
4229    /// Structure version number
4230    pub Version: MQLONG,
4231    /// Channel type
4232    pub ChannelType: MQLONG,
4233    /// Transport type
4234    pub TransportType: MQLONG,
4235    /// Channel description
4236    pub Desc: [MQCHAR; 64usize],
4237    /// Queue-manager name
4238    pub QMgrName: [MQCHAR; 48usize],
4239    /// Transmission queue name
4240    pub XmitQName: [MQCHAR; 48usize],
4241    /// First 20 bytes of connection name
4242    pub ShortConnectionName: [MQCHAR; 20usize],
4243    /// Reserved
4244    pub MCAName: [MQCHAR; 20usize],
4245    /// LU 6.2 Mode name
4246    pub ModeName: [MQCHAR; 8usize],
4247    /// LU 6.2 transaction program name
4248    pub TpName: [MQCHAR; 64usize],
4249    /// Batch size
4250    pub BatchSize: MQLONG,
4251    /// Disconnect interval
4252    pub DiscInterval: MQLONG,
4253    /// Short retry count
4254    pub ShortRetryCount: MQLONG,
4255    /// Short retry wait interval
4256    pub ShortRetryInterval: MQLONG,
4257    /// Long retry count
4258    pub LongRetryCount: MQLONG,
4259    /// Long retry wait interval
4260    pub LongRetryInterval: MQLONG,
4261    /// Channel security exit name
4262    pub SecurityExit: [MQCHAR; 128usize],
4263    /// Channel message exit name
4264    pub MsgExit: [MQCHAR; 128usize],
4265    /// Channel send exit name
4266    pub SendExit: [MQCHAR; 128usize],
4267    /// Channel receive exit name
4268    pub ReceiveExit: [MQCHAR; 128usize],
4269    /// Highest allowable message sequence number
4270    pub SeqNumberWrap: MQLONG,
4271    /// Maximum message length
4272    pub MaxMsgLength: MQLONG,
4273    /// Put authority
4274    pub PutAuthority: MQLONG,
4275    /// Data conversion
4276    pub DataConversion: MQLONG,
4277    /// Channel security exit user data
4278    pub SecurityUserData: [MQCHAR; 32usize],
4279    /// Channel message exit user data
4280    pub MsgUserData: [MQCHAR; 32usize],
4281    /// Channel send exit user data
4282    pub SendUserData: [MQCHAR; 32usize],
4283    /// Channel receive exit user data
4284    pub ReceiveUserData: [MQCHAR; 32usize],
4285    /// User identifier
4286    pub UserIdentifier: [MQCHAR; 12usize],
4287    /// Password
4288    pub Password: [MQCHAR; 12usize],
4289    /// First 12 bytes of MCA user identifier
4290    pub MCAUserIdentifier: [MQCHAR; 12usize],
4291    /// Message channel agent type
4292    pub MCAType: MQLONG,
4293    /// Connection name
4294    pub ConnectionName: [MQCHAR; 264usize],
4295    /// First 12 bytes of user identifier from partner
4296    pub RemoteUserIdentifier: [MQCHAR; 12usize],
4297    /// Password from partner
4298    pub RemotePassword: [MQCHAR; 12usize],
4299    /// Channel message retry exit name
4300    pub MsgRetryExit: [MQCHAR; 128usize],
4301    /// Channel message retry exit user data
4302    pub MsgRetryUserData: [MQCHAR; 32usize],
4303    /// Number of times MCA will try to put the message, after first attempt has failed
4304    pub MsgRetryCount: MQLONG,
4305    /// Minimum interval in milliseconds after which the open or put operation will be retried
4306    pub MsgRetryInterval: MQLONG,
4307    /// Time in seconds between heartbeat flows
4308    pub HeartbeatInterval: MQLONG,
4309    /// Batch duration
4310    pub BatchInterval: MQLONG,
4311    /// Speed at which nonpersistent messages are sent
4312    pub NonPersistentMsgSpeed: MQLONG,
4313    /// Length of [`MQCD`] structure
4314    pub StrucLength: MQLONG,
4315    /// Length of exit name
4316    pub ExitNameLength: MQLONG,
4317    /// Length of exit user data
4318    pub ExitDataLength: MQLONG,
4319    /// Number of message exits defined
4320    pub MsgExitsDefined: MQLONG,
4321    /// Number of send exits defined
4322    pub SendExitsDefined: MQLONG,
4323    /// Number of receive exits defined
4324    pub ReceiveExitsDefined: MQLONG,
4325    /// Address of first MsgExit field
4326    pub MsgExitPtr: MQPTR,
4327    /// Address of first MsgUserData field
4328    pub MsgUserDataPtr: MQPTR,
4329    /// Address of first SendExit field
4330    pub SendExitPtr: MQPTR,
4331    /// Address of first SendUserData field
4332    pub SendUserDataPtr: MQPTR,
4333    /// Address of first ReceiveExit field
4334    pub ReceiveExitPtr: MQPTR,
4335    /// Address of first ReceiveUserData field
4336    pub ReceiveUserDataPtr: MQPTR,
4337    /// Address of a list of cluster names
4338    pub ClusterPtr: MQPTR,
4339    /// Number of clusters to which the channel belongs
4340    pub ClustersDefined: MQLONG,
4341    /// Network priority
4342    pub NetworkPriority: MQLONG,
4343    /// Length of long MCA user identifier
4344    pub LongMCAUserIdLength: MQLONG,
4345    /// Length of long remote user identifier
4346    pub LongRemoteUserIdLength: MQLONG,
4347    /// Address of long MCA user identifier
4348    pub LongMCAUserIdPtr: MQPTR,
4349    /// Address of long remote user identifier
4350    pub LongRemoteUserIdPtr: MQPTR,
4351    /// MCA security identifier
4352    pub MCASecurityId: MQBYTE40,
4353    /// Remote security identifier
4354    pub RemoteSecurityId: MQBYTE40,
4355    /// SSL CipherSpec
4356    pub SSLCipherSpec: [MQCHAR; 32usize],
4357    /// Address of SSL peer name
4358    pub SSLPeerNamePtr: MQPTR,
4359    /// Length of SSL peer name
4360    pub SSLPeerNameLength: MQLONG,
4361    /// Whether SSL client authentication is required
4362    pub SSLClientAuth: MQLONG,
4363    /// Keepalive interval
4364    pub KeepAliveInterval: MQLONG,
4365    /// Local communications address
4366    pub LocalAddress: [MQCHAR; 48usize],
4367    /// Batch heartbeat interval
4368    pub BatchHeartbeat: MQLONG,
4369    /// Header data compression list
4370    pub HdrCompList: [MQLONG; 2usize],
4371    /// Message data compression list
4372    pub MsgCompList: [MQLONG; 16usize],
4373    /// Channel rank
4374    pub CLWLChannelRank: MQLONG,
4375    /// Channel priority
4376    pub CLWLChannelPriority: MQLONG,
4377    /// Channel weight
4378    pub CLWLChannelWeight: MQLONG,
4379    /// Channel monitoring
4380    pub ChannelMonitoring: MQLONG,
4381    /// Channel statistics
4382    pub ChannelStatistics: MQLONG,
4383    /// Limit on sharing conversations
4384    pub SharingConversations: MQLONG,
4385    /// Message property control
4386    pub PropertyControl: MQLONG,
4387    /// Limit on SVRCONN channel instances
4388    pub MaxInstances: MQLONG,
4389    /// Limit on SVRCONN channel instances per client
4390    pub MaxInstancesPerClient: MQLONG,
4391    /// Client channel weight
4392    pub ClientChannelWeight: MQLONG,
4393    /// Connection affinity
4394    pub ConnectionAffinity: MQLONG,
4395    /// Batch data limit
4396    pub BatchDataLimit: MQLONG,
4397    /// Use Dead Letter Queue
4398    pub UseDLQ: MQLONG,
4399    /// Default client reconnect option
4400    pub DefReconnect: MQLONG,
4401    /// Certificate label
4402    pub CertificateLabel: [MQCHAR; 64usize],
4403    /// SPL Protection
4404    pub SPLProtection: MQLONG,
4405}
4406pub const MQCD_VERSION_1: MQLONG = 1;
4407pub const MQCD_VERSION_2: MQLONG = 2;
4408pub const MQCD_VERSION_3: MQLONG = 3;
4409pub const MQCD_VERSION_4: MQLONG = 4;
4410pub const MQCD_VERSION_5: MQLONG = 5;
4411pub const MQCD_VERSION_6: MQLONG = 6;
4412pub const MQCD_VERSION_7: MQLONG = 7;
4413pub const MQCD_VERSION_8: MQLONG = 8;
4414pub const MQCD_VERSION_9: MQLONG = 9;
4415pub const MQCD_VERSION_10: MQLONG = 10;
4416pub const MQCD_VERSION_11: MQLONG = 11;
4417pub const MQCD_VERSION_12: MQLONG = 12;
4418pub const MQCD_CURRENT_VERSION: MQLONG = 12;
4419pub const MQCD_LENGTH_1: usize = 984;
4420pub const MQCD_LENGTH_2: usize = 1312;
4421pub const MQCD_LENGTH_3: usize = 1480;
4422pub const MQCD_LENGTH_4: usize = 1568;
4423pub const MQCD_LENGTH_5: usize = 1584;
4424pub const MQCD_LENGTH_6: usize = 1688;
4425pub const MQCD_LENGTH_7: usize = 1792;
4426pub const MQCD_LENGTH_8: usize = 1888;
4427pub const MQCD_LENGTH_9: usize = 1912;
4428pub const MQCD_LENGTH_10: usize = 1920;
4429pub const MQCD_LENGTH_11: usize = 1984;
4430pub const MQCD_LENGTH_12: usize = 1992;
4431pub const MQCD_CURRENT_LENGTH: usize = 1992;
4432pub const MQCHT_SENDER: MQLONG = 1;
4433pub const MQCHT_SERVER: MQLONG = 2;
4434pub const MQCHT_RECEIVER: MQLONG = 3;
4435pub const MQCHT_REQUESTER: MQLONG = 4;
4436pub const MQCHT_ALL: MQLONG = 5;
4437pub const MQCHT_CLNTCONN: MQLONG = 6;
4438pub const MQCHT_SVRCONN: MQLONG = 7;
4439pub const MQCHT_CLUSRCVR: MQLONG = 8;
4440pub const MQCHT_CLUSSDR: MQLONG = 9;
4441pub const MQCHT_MQTT: MQLONG = 10;
4442pub const MQCHT_AMQP: MQLONG = 11;
4443pub const MQCOMPRESS_NOT_AVAILABLE: MQLONG = -1;
4444pub const MQCOMPRESS_NONE: MQLONG = 0;
4445pub const MQCOMPRESS_RLE: MQLONG = 1;
4446pub const MQCOMPRESS_ZLIBFAST: MQLONG = 2;
4447pub const MQCOMPRESS_ZLIBHIGH: MQLONG = 4;
4448pub const MQCOMPRESS_SYSTEM: MQLONG = 8;
4449pub const MQCOMPRESS_LZ4FAST: MQLONG = 16;
4450pub const MQCOMPRESS_LZ4HIGH: MQLONG = 32;
4451pub const MQCOMPRESS_ANY: MQLONG = 268435455;
4452pub const MQXPT_ALL: MQLONG = -1;
4453pub const MQXPT_LOCAL: MQLONG = 0;
4454pub const MQXPT_LU62: MQLONG = 1;
4455pub const MQXPT_TCP: MQLONG = 2;
4456pub const MQXPT_NETBIOS: MQLONG = 3;
4457pub const MQXPT_SPX: MQLONG = 4;
4458pub const MQXPT_DECNET: MQLONG = 5;
4459pub const MQXPT_UDP: MQLONG = 6;
4460pub const MQCAFTY_NONE: MQLONG = 0;
4461pub const MQCAFTY_PREFERRED: MQLONG = 1;
4462pub const MQDCC_DEFAULT_CONVERSION: MQLONG = 1;
4463pub const MQDCC_FILL_TARGET_BUFFER: MQLONG = 2;
4464pub const MQDCC_INT_DEFAULT_CONVERSION: MQLONG = 4;
4465pub const MQDCC_SOURCE_ENC_NATIVE: MQLONG = 32;
4466pub const MQDCC_SOURCE_ENC_NORMAL: MQLONG = 16;
4467pub const MQDCC_SOURCE_ENC_REVERSED: MQLONG = 32;
4468pub const MQDCC_SOURCE_ENC_UNDEFINED: MQLONG = 0;
4469pub const MQDCC_TARGET_ENC_NATIVE: MQLONG = 512;
4470pub const MQDCC_TARGET_ENC_NORMAL: MQLONG = 256;
4471pub const MQDCC_TARGET_ENC_REVERSED: MQLONG = 512;
4472pub const MQDCC_TARGET_ENC_UNDEFINED: MQLONG = 0;
4473pub const MQDCC_NONE: MQLONG = 0;
4474pub const MQDCC_SOURCE_ENC_MASK: MQLONG = 240;
4475pub const MQDCC_TARGET_ENC_MASK: MQLONG = 3840;
4476pub const MQDCC_SOURCE_ENC_FACTOR: MQLONG = 16;
4477pub const MQDCC_TARGET_ENC_FACTOR: MQLONG = 256;
4478unsafe extern "C" {
4479    /// Convert Characters
4480    ///
4481    /// # Arguments
4482    /// * `Hconn`: Connection handle
4483    /// * `Options`: Options that control the action of [`MQXCNVC`]
4484    /// * `SourceCCSID`: Coded character set identifier of string before conversion
4485    /// * `SourceLength`: Length of string before conversion
4486    /// * `SourceBuffer`: String to be converted
4487    /// * `TargetCCSID`: Coded character set identifier of string after conversion
4488    /// * `TargetLength`: Length of output buffer
4489    /// * `TargetBuffer` (Output): String after conversion
4490    /// * `DataLength` (Output): Length of output string
4491    /// * `CompCode` (Output): Completion code
4492    /// * `Reason` (Output): Reason code qualifying `CompCode`
4493    ///
4494    /// # References
4495    /// * [IBM Documentation](https://www.ibm.com/docs/en/ibm-mq/latest?topic=exit-mqxcnvc-convert-characters)
4496    pub fn MQXCNVC(
4497        Hconn: MQHCONN,
4498        Options: MQLONG,
4499        SourceCCSID: MQLONG,
4500        SourceLength: MQLONG,
4501        SourceBuffer: PMQCHAR,
4502        TargetCCSID: MQLONG,
4503        TargetLength: MQLONG,
4504        TargetBuffer: PMQCHAR,
4505        DataLength: &mut MQLONG,
4506        CompCode: &mut MQLONG,
4507        Reason: &mut MQLONG,
4508    );
4509}