libmqm_sys/pregen/
function.rs

1#[cfg(feature = "exits")]
2pub trait Exits {
3    /// Register Entry Point
4    ///
5    /// # Arguments
6    /// * `Hconfig`: Configuration handle
7    /// * `ExitReason`: Exit reason
8    /// * `Function`: Function identifier
9    /// * `EntryPoint`: Exit function entry point
10    /// * `ExitOpts`: Options that control the action of [`MQXEP`](Self::MQXEP)
11    /// * `CompCode` (Output): Completion code
12    /// * `Reason` (Output): Reason code qualifying `CompCode`
13    ///
14    /// # References
15    /// * [IBM `MQXEP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q109660_.html)
16    unsafe fn MQXEP(
17        &self,
18        Hconfig: crate::exits::MQHCONFIG,
19        ExitReason: crate::MQLONG,
20        Function: crate::MQLONG,
21        EntryPoint: crate::PMQFUNC,
22        ExitOpts: Option<&crate::exits::MQXEPO>,
23        CompCode: &mut crate::MQLONG,
24        Reason: &mut crate::MQLONG,
25    );
26    /// Cluster Workload Navigate Records
27    ///
28    /// # Arguments
29    /// * `ExitParms` (Input/Output): Exit parameter structure
30    /// * `CurrentRecord`: Address of current record
31    /// * `NextOffset`: Offset of next record
32    /// * `NextRecord` (Output): Address of next record or structure
33    /// * `CompCode` (Output): Completion code
34    /// * `Reason` (Output): Reason code qualifying `CompCode`
35    ///
36    /// # References
37    /// * [IBM `MQXCLWLN` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q082540_.html)
38    unsafe fn MQXCLWLN(
39        &self,
40        ExitParms: &mut crate::exits::MQWXP,
41        CurrentRecord: crate::MQPTR,
42        NextOffset: crate::MQLONG,
43        NextRecord: &mut crate::MQPTR,
44        CompCode: &mut crate::MQLONG,
45        Reason: &mut crate::MQLONG,
46    );
47    /// Convert Message Data
48    ///
49    /// # Arguments
50    /// * `DataConvExitParms` (Input/Output): Data-conversion exit parameter block
51    /// * `MsgDesc` (Input/Output): Message descriptor
52    /// * `InBufferLength`: Length in bytes of `InBuffer`
53    /// * `InBuffer`: Buffer containing the unconverted message
54    /// * `OutBufferLength`: Length in bytes of `OutBuffer`
55    /// * `OutBuffer` (Output): Buffer containing the converted message
56    unsafe fn MQXDX(
57        &self,
58        DataConvExitParms: &mut crate::exits::MQDXP,
59        MsgDesc: crate::PMQMD,
60        InBufferLength: crate::MQLONG,
61        InBuffer: crate::PMQVOID,
62        OutBufferLength: crate::MQLONG,
63        OutBuffer: crate::PMQVOID,
64    );
65    /// Add Component Entry Point
66    ///
67    /// # Arguments
68    /// * `Hconfig`: Configuration handle
69    /// * `Function`: Function identifier
70    /// * `EntryPoint`: Function entry point
71    /// * `CompCode` (Output): Completion code
72    /// * `Reason` (Output): Reason code qualifying `CompCode`
73    ///
74    /// # References
75    /// * [IBM `MQZEP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q110350_.html)
76    unsafe fn MQZEP(
77        &self,
78        Hconfig: crate::exits::MQHCONFIG,
79        Function: crate::MQLONG,
80        EntryPoint: crate::PMQFUNC,
81        CompCode: &mut crate::MQLONG,
82        Reason: &mut crate::MQLONG,
83    );
84}
85#[cfg(feature = "mqai")]
86pub trait Mqai {
87    /// Add Nested Bag to Bag
88    ///
89    /// # Arguments
90    /// * `Bag`: Bag handle
91    /// * `Selector`: Item selector
92    /// * `ItemValue`: Item value
93    /// * `CompCode` (Output): Completion code
94    /// * `Reason` (Output): Reason code qualifying `CompCode`
95    ///
96    /// # References
97    /// * [IBM `mqAddBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089150_.html)
98    unsafe fn mqAddBag(
99        &self,
100        Bag: crate::mqai::MQHBAG,
101        Selector: crate::MQLONG,
102        ItemValue: crate::mqai::MQHBAG,
103        CompCode: &mut crate::MQLONG,
104        Reason: &mut crate::MQLONG,
105    );
106    /// Add Byte String to Bag
107    ///
108    /// # Arguments
109    /// * `Bag`: Bag handle
110    /// * `Selector`: Item selector
111    /// * `BufferLength`: Length of buffer
112    /// * `Buffer`: Buffer containing item value
113    /// * `CompCode` (Output): Completion code
114    /// * `Reason` (Output): Reason code qualifying `CompCode`
115    ///
116    /// # References
117    /// * [IBM `mqAddByteString` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089160_.html)
118    unsafe fn mqAddByteString(
119        &self,
120        Bag: crate::mqai::MQHBAG,
121        Selector: crate::MQLONG,
122        BufferLength: crate::MQLONG,
123        Buffer: crate::PMQBYTE,
124        CompCode: &mut crate::MQLONG,
125        Reason: &mut crate::MQLONG,
126    );
127    /// Add Byte String Filter to Bag
128    ///
129    /// # Arguments
130    /// * `Bag`: Bag handle
131    /// * `Selector`: Item selector
132    /// * `BufferLength`: Length of buffer
133    /// * `Buffer`: Buffer containing item value
134    /// * `Operator`: Item operator
135    /// * `CompCode` (Output): Completion code
136    /// * `Reason` (Output): Reason code qualifying `CompCode`
137    ///
138    /// # References
139    /// * [IBM `mqAddByteStringFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089170_.html)
140    unsafe fn mqAddByteStringFilter(
141        &self,
142        Bag: crate::mqai::MQHBAG,
143        Selector: crate::MQLONG,
144        BufferLength: crate::MQLONG,
145        Buffer: crate::PMQBYTE,
146        Operator: crate::MQLONG,
147        CompCode: &mut crate::MQLONG,
148        Reason: &mut crate::MQLONG,
149    );
150    /// Add an Inquiry Item to Bag
151    ///
152    /// # Arguments
153    /// * `Bag`: Bag handle
154    /// * `Selector`: Attribute selector
155    /// * `CompCode` (Output): Completion code
156    /// * `Reason` (Output): Reason code qualifying `CompCode`
157    ///
158    /// # References
159    /// * [IBM `mqAddInquiry` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089180_.html)
160    unsafe fn mqAddInquiry(
161        &self,
162        Bag: crate::mqai::MQHBAG,
163        Selector: crate::MQLONG,
164        CompCode: &mut crate::MQLONG,
165        Reason: &mut crate::MQLONG,
166    );
167    /// Add Integer to Bag
168    ///
169    /// # Arguments
170    /// * `Bag`: Bag handle
171    /// * `Selector`: Item selector
172    /// * `ItemValue`: Item value
173    /// * `CompCode` (Output): Completion code
174    /// * `Reason` (Output): Reason code qualifying `CompCode`
175    ///
176    /// # References
177    /// * [IBM `mqAddInteger` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089190_.html)
178    unsafe fn mqAddInteger(
179        &self,
180        Bag: crate::mqai::MQHBAG,
181        Selector: crate::MQLONG,
182        ItemValue: crate::MQLONG,
183        CompCode: &mut crate::MQLONG,
184        Reason: &mut crate::MQLONG,
185    );
186    /// Add 64-bit Integer to Bag
187    ///
188    /// # Arguments
189    /// * `Bag`: Bag handle
190    /// * `Selector`: Item selector
191    /// * `ItemValue`: Item value
192    /// * `CompCode` (Output): Completion code
193    /// * `Reason` (Output): Reason code qualifying `CompCode`
194    ///
195    /// # References
196    /// * [IBM `mqAddInteger64` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089200_.html)
197    unsafe fn mqAddInteger64(
198        &self,
199        Bag: crate::mqai::MQHBAG,
200        Selector: crate::MQLONG,
201        ItemValue: crate::MQINT64,
202        CompCode: &mut crate::MQLONG,
203        Reason: &mut crate::MQLONG,
204    );
205    /// Add Integer Filter to Bag
206    ///
207    /// # Arguments
208    /// * `Bag`: Bag handle
209    /// * `Selector`: Item selector
210    /// * `ItemValue`: Item value
211    /// * `Operator`: Item operator
212    /// * `CompCode` (Output): Completion code
213    /// * `Reason` (Output): Reason code qualifying `CompCode`
214    ///
215    /// # References
216    /// * [IBM `mqAddIntegerFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089210_.html)
217    unsafe fn mqAddIntegerFilter(
218        &self,
219        Bag: crate::mqai::MQHBAG,
220        Selector: crate::MQLONG,
221        ItemValue: crate::MQLONG,
222        Operator: crate::MQLONG,
223        CompCode: &mut crate::MQLONG,
224        Reason: &mut crate::MQLONG,
225    );
226    /// Add String to Bag
227    ///
228    /// # Arguments
229    /// * `Bag`: Bag handle
230    /// * `Selector`: Item selector
231    /// * `BufferLength`: Length of buffer
232    /// * `Buffer`: Buffer containing item value
233    /// * `CompCode` (Output): Completion code
234    /// * `Reason` (Output): Reason code qualifying `CompCode`
235    ///
236    /// # References
237    /// * [IBM `mqAddString` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089220_.html)
238    unsafe fn mqAddString(
239        &self,
240        Bag: crate::mqai::MQHBAG,
241        Selector: crate::MQLONG,
242        BufferLength: crate::MQLONG,
243        Buffer: crate::PMQCHAR,
244        CompCode: &mut crate::MQLONG,
245        Reason: &mut crate::MQLONG,
246    );
247    /// Add String Filter to Bag
248    ///
249    /// # Arguments
250    /// * `Bag`: Bag handle
251    /// * `Selector`: Item selector
252    /// * `BufferLength`: Length of buffer
253    /// * `Buffer`: Buffer containing item value
254    /// * `Operator`: Item operator
255    /// * `CompCode` (Output): Completion code
256    /// * `Reason` (Output): Reason code qualifying `CompCode`
257    ///
258    /// # References
259    /// * [IBM `mqAddStringFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089230_.html)
260    unsafe fn mqAddStringFilter(
261        &self,
262        Bag: crate::mqai::MQHBAG,
263        Selector: crate::MQLONG,
264        BufferLength: crate::MQLONG,
265        Buffer: crate::PMQCHAR,
266        Operator: crate::MQLONG,
267        CompCode: &mut crate::MQLONG,
268        Reason: &mut crate::MQLONG,
269    );
270    /// Convert Bag to PCF
271    ///
272    /// # Arguments
273    /// * `OptionsBag`: Handle of options bag
274    /// * `DataBag`: Handle of data bag
275    /// * `BufferLength`: Length of buffer
276    /// * `Buffer` (Output): Buffer to contain PCF
277    /// * `DataLength` (Output): Length of PCF returned in buffer
278    /// * `CompCode` (Output): Completion code
279    /// * `Reason` (Output): Reason code qualifying `CompCode`
280    ///
281    /// # References
282    /// * [IBM `mqBagToBuffer` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089240_.html)
283    unsafe fn mqBagToBuffer(
284        &self,
285        OptionsBag: crate::mqai::MQHBAG,
286        DataBag: crate::mqai::MQHBAG,
287        BufferLength: crate::MQLONG,
288        Buffer: crate::PMQVOID,
289        DataLength: &mut crate::MQLONG,
290        CompCode: &mut crate::MQLONG,
291        Reason: &mut crate::MQLONG,
292    );
293    /// Convert PCF to Bag
294    ///
295    /// # Arguments
296    /// * `OptionsBag`: Handle of options bag
297    /// * `BufferLength`: Length of buffer
298    /// * `Buffer`: Buffer containing PCF
299    /// * `DataBag` (Input/Output): Handle of bag to contain data
300    /// * `CompCode` (Output): Completion code
301    /// * `Reason` (Output): Reason code qualifying `CompCode`
302    ///
303    /// # References
304    /// * [IBM `mqBufferToBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089250_.html)
305    unsafe fn mqBufferToBag(
306        &self,
307        OptionsBag: crate::mqai::MQHBAG,
308        BufferLength: crate::MQLONG,
309        Buffer: crate::PMQVOID,
310        DataBag: crate::mqai::MQHBAG,
311        CompCode: &mut crate::MQLONG,
312        Reason: &mut crate::MQLONG,
313    );
314    /// Delete All Items in Bag
315    ///
316    /// # Arguments
317    /// * `Bag`: Bag handle
318    /// * `CompCode` (Output): Completion code
319    /// * `Reason` (Output): Reason code qualifying `CompCode`
320    ///
321    /// # References
322    /// * [IBM `mqClearBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089260_.html)
323    unsafe fn mqClearBag(
324        &self,
325        Bag: crate::mqai::MQHBAG,
326        CompCode: &mut crate::MQLONG,
327        Reason: &mut crate::MQLONG,
328    );
329    /// Count Items in Bag
330    ///
331    /// # Arguments
332    /// * `Bag`: Bag handle
333    /// * `Selector`: Item selector
334    /// * `ItemCount` (Output): Number of items
335    /// * `CompCode` (Output): Completion code
336    /// * `Reason` (Output): Reason code qualifying `CompCode`
337    ///
338    /// # References
339    /// * [IBM `mqCountItems` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089270_.html)
340    unsafe fn mqCountItems(
341        &self,
342        Bag: crate::mqai::MQHBAG,
343        Selector: crate::MQLONG,
344        ItemCount: &mut crate::MQLONG,
345        CompCode: &mut crate::MQLONG,
346        Reason: &mut crate::MQLONG,
347    );
348    /// Create Bag
349    ///
350    /// # Arguments
351    /// * `Options`: Bag options
352    /// * `Bag` (Output): Handle of bag created
353    /// * `CompCode` (Output): Completion code
354    /// * `Reason` (Output): Reason code qualifying `CompCode`
355    ///
356    /// # References
357    /// * [IBM `mqCreateBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089280_.html)
358    unsafe fn mqCreateBag(
359        &self,
360        Options: crate::MQLONG,
361        Bag: &mut crate::mqai::MQHBAG,
362        CompCode: &mut crate::MQLONG,
363        Reason: &mut crate::MQLONG,
364    );
365    /// Delete Bag
366    ///
367    /// # Arguments
368    /// * `Bag` (Input/Output): Bag handle
369    /// * `CompCode` (Output): Completion code
370    /// * `Reason` (Output): Reason code qualifying `CompCode`
371    ///
372    /// # References
373    /// * [IBM `mqDeleteBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089290_.html)
374    unsafe fn mqDeleteBag(
375        &self,
376        Bag: &mut crate::mqai::MQHBAG,
377        CompCode: &mut crate::MQLONG,
378        Reason: &mut crate::MQLONG,
379    );
380    /// Delete Item in Bag
381    ///
382    /// # Arguments
383    /// * `Bag`: Bag handle
384    /// * `Selector`: Item selector
385    /// * `ItemIndex`: Item index
386    /// * `CompCode` (Output): Completion code
387    /// * `Reason` (Output): Reason code qualifying `CompCode`
388    ///
389    /// # References
390    /// * [IBM `mqDeleteItem` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089300_.html)
391    unsafe fn mqDeleteItem(
392        &self,
393        Bag: crate::mqai::MQHBAG,
394        Selector: crate::MQLONG,
395        ItemIndex: crate::MQLONG,
396        CompCode: &mut crate::MQLONG,
397        Reason: &mut crate::MQLONG,
398    );
399    /// Send Admin Command and Receive Reponse
400    ///
401    /// # Arguments
402    /// * `Hconn`: Connection handle
403    /// * `Command`: Command identifier
404    /// * `OptionsBag`: Handle of options bag
405    /// * `AdminBag`: Handle of admin bag
406    /// * `ResponseBag`: Handle of response bag
407    /// * `AdminQ`: Handle of admin queue
408    /// * `ResponseQ`: Handle of response queue
409    /// * `CompCode` (Output): Completion code
410    /// * `Reason` (Output): Reason code qualifying `CompCode`
411    ///
412    /// # References
413    /// * [IBM `mqExecute` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089310_.html)
414    unsafe fn mqExecute(
415        &self,
416        Hconn: crate::MQHCONN,
417        Command: crate::MQLONG,
418        OptionsBag: crate::mqai::MQHBAG,
419        AdminBag: crate::mqai::MQHBAG,
420        ResponseBag: crate::mqai::MQHBAG,
421        AdminQ: crate::MQHOBJ,
422        ResponseQ: crate::MQHOBJ,
423        CompCode: &mut crate::MQLONG,
424        Reason: &mut crate::MQLONG,
425    );
426    /// Receive PCF Message into Bag
427    ///
428    /// # Arguments
429    /// * `Hconn`: Connection handle
430    /// * `Hobj`: Queue handle
431    /// * `MsgDesc` (Input/Output): Message descriptor
432    /// * `GetMsgOpts` (Input/Output): Get-message options
433    /// * `Bag` (Input/Output): Handle of bag to contain message
434    /// * `CompCode` (Output): Completion code
435    /// * `Reason` (Output): Reason code qualifying `CompCode`
436    ///
437    /// # References
438    /// * [IBM `mqGetBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089320_.html)
439    unsafe fn mqGetBag(
440        &self,
441        Hconn: crate::MQHCONN,
442        Hobj: crate::MQHOBJ,
443        MsgDesc: crate::PMQVOID,
444        GetMsgOpts: &mut crate::MQGMO,
445        Bag: crate::mqai::MQHBAG,
446        CompCode: &mut crate::MQLONG,
447        Reason: &mut crate::MQLONG,
448    );
449    /// Inquire Handle in Bag
450    ///
451    /// # Arguments
452    /// * `Bag`: Bag handle
453    /// * `Selector`: Item selector
454    /// * `ItemIndex`: Item index
455    /// * `ItemValue` (Output): Item value
456    /// * `CompCode` (Output): Completion code
457    /// * `Reason` (Output): Reason code qualifying `CompCode`
458    ///
459    /// # References
460    /// * [IBM `mqInquireBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089330_.html)
461    unsafe fn mqInquireBag(
462        &self,
463        Bag: crate::mqai::MQHBAG,
464        Selector: crate::MQLONG,
465        ItemIndex: crate::MQLONG,
466        ItemValue: &mut crate::mqai::MQHBAG,
467        CompCode: &mut crate::MQLONG,
468        Reason: &mut crate::MQLONG,
469    );
470    /// Inquire Byte String in Bag
471    ///
472    /// # Arguments
473    /// * `Bag`: Bag handle
474    /// * `Selector`: Item selector
475    /// * `ItemIndex`: Item index
476    /// * `BufferLength`: Length of buffer
477    /// * `Buffer` (Output): Buffer to contain string
478    /// * `ByteStringLength` (Output): Length of byte string returned
479    /// * `CompCode` (Output): Completion code
480    /// * `Reason` (Output): Reason code qualifying `CompCode`
481    ///
482    /// # References
483    /// * [IBM `mqInquireByteString` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089340_.html)
484    unsafe fn mqInquireByteString(
485        &self,
486        Bag: crate::mqai::MQHBAG,
487        Selector: crate::MQLONG,
488        ItemIndex: crate::MQLONG,
489        BufferLength: crate::MQLONG,
490        Buffer: crate::PMQBYTE,
491        ByteStringLength: &mut crate::MQLONG,
492        CompCode: &mut crate::MQLONG,
493        Reason: &mut crate::MQLONG,
494    );
495    /// Inquire Byte String Filter in Bag
496    ///
497    /// # Arguments
498    /// * `Bag`: Bag handle
499    /// * `Selector`: Item selector
500    /// * `ItemIndex`: Item index
501    /// * `BufferLength`: Length of buffer
502    /// * `Buffer` (Output): Buffer to contain string
503    /// * `ByteStringLength` (Output): Length of byte string returned
504    /// * `Operator` (Output): Item operator
505    /// * `CompCode` (Output): Completion code
506    /// * `Reason` (Output): Reason code qualifying `CompCode`
507    ///
508    /// # References
509    /// * [IBM `mqInquireByteStringFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089350_.html)
510    unsafe fn mqInquireByteStringFilter(
511        &self,
512        Bag: crate::mqai::MQHBAG,
513        Selector: crate::MQLONG,
514        ItemIndex: crate::MQLONG,
515        BufferLength: crate::MQLONG,
516        Buffer: crate::PMQBYTE,
517        ByteStringLength: &mut crate::MQLONG,
518        Operator: &mut crate::MQLONG,
519        CompCode: &mut crate::MQLONG,
520        Reason: &mut crate::MQLONG,
521    );
522    /// Inquire Integer in Bag
523    ///
524    /// # Arguments
525    /// * `Bag`: Bag handle
526    /// * `Selector`: Item selector
527    /// * `ItemIndex`: Item index
528    /// * `ItemValue` (Output): Item value
529    /// * `CompCode` (Output): Completion code
530    /// * `Reason` (Output): Reason code qualifying `CompCode`
531    ///
532    /// # References
533    /// * [IBM `mqInquireInteger` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089360_.html)
534    unsafe fn mqInquireInteger(
535        &self,
536        Bag: crate::mqai::MQHBAG,
537        Selector: crate::MQLONG,
538        ItemIndex: crate::MQLONG,
539        ItemValue: &mut crate::MQLONG,
540        CompCode: &mut crate::MQLONG,
541        Reason: &mut crate::MQLONG,
542    );
543    /// Inquire 64-bit Integer in Bag
544    ///
545    /// # Arguments
546    /// * `Bag`: Bag handle
547    /// * `Selector`: Item selector
548    /// * `ItemIndex`: Item index
549    /// * `ItemValue` (Output): Item value
550    /// * `CompCode` (Output): Completion code
551    /// * `Reason` (Output): Reason code qualifying `CompCode`
552    ///
553    /// # References
554    /// * [IBM `mqInquireInteger64` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089370_.html)
555    unsafe fn mqInquireInteger64(
556        &self,
557        Bag: crate::mqai::MQHBAG,
558        Selector: crate::MQLONG,
559        ItemIndex: crate::MQLONG,
560        ItemValue: &mut crate::MQINT64,
561        CompCode: &mut crate::MQLONG,
562        Reason: &mut crate::MQLONG,
563    );
564    /// Inquire Integer Filter in Bag
565    ///
566    /// # Arguments
567    /// * `Bag`: Bag handle
568    /// * `Selector`: Item selector
569    /// * `ItemIndex`: Item index
570    /// * `ItemValue` (Output): Item value
571    /// * `Operator` (Output): Item operator
572    /// * `CompCode` (Output): Completion code
573    /// * `Reason` (Output): Reason code qualifying `CompCode`
574    ///
575    /// # References
576    /// * [IBM `mqInquireIntegerFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089380_.html)
577    unsafe fn mqInquireIntegerFilter(
578        &self,
579        Bag: crate::mqai::MQHBAG,
580        Selector: crate::MQLONG,
581        ItemIndex: crate::MQLONG,
582        ItemValue: &mut crate::MQLONG,
583        Operator: &mut crate::MQLONG,
584        CompCode: &mut crate::MQLONG,
585        Reason: &mut crate::MQLONG,
586    );
587    /// Inquire Attributes of Item in Bag
588    ///
589    /// # Arguments
590    /// * `Bag`: Bag handle
591    /// * `Selector`: Item selector
592    /// * `ItemIndex`: Item index
593    /// * `OutSelector` (Output): Selector of item
594    /// * `ItemType` (Output): Data type of item
595    /// * `CompCode` (Output): Completion code
596    /// * `Reason` (Output): Reason code qualifying `CompCode`
597    ///
598    /// # References
599    /// * [IBM `mqInquireItemInfo` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089390_.html)
600    unsafe fn mqInquireItemInfo(
601        &self,
602        Bag: crate::mqai::MQHBAG,
603        Selector: crate::MQLONG,
604        ItemIndex: crate::MQLONG,
605        OutSelector: &mut crate::MQLONG,
606        ItemType: &mut crate::MQLONG,
607        CompCode: &mut crate::MQLONG,
608        Reason: &mut crate::MQLONG,
609    );
610    /// Inquire String in Bag
611    ///
612    /// # Arguments
613    /// * `Bag`: Bag handle
614    /// * `Selector`: Item selector
615    /// * `ItemIndex`: Item index
616    /// * `BufferLength`: Length of buffer
617    /// * `Buffer` (Output): Buffer to contain string
618    /// * `StringLength` (Output): Length of string returned
619    /// * `CodedCharSetId` (Output): Character-set identifier of string
620    /// * `CompCode` (Output): Completion code
621    /// * `Reason` (Output): Reason code qualifying `CompCode`
622    ///
623    /// # References
624    /// * [IBM `mqInquireString` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089400_.html)
625    unsafe fn mqInquireString(
626        &self,
627        Bag: crate::mqai::MQHBAG,
628        Selector: crate::MQLONG,
629        ItemIndex: crate::MQLONG,
630        BufferLength: crate::MQLONG,
631        Buffer: crate::PMQCHAR,
632        StringLength: &mut crate::MQLONG,
633        CodedCharSetId: &mut crate::MQLONG,
634        CompCode: &mut crate::MQLONG,
635        Reason: &mut crate::MQLONG,
636    );
637    /// Inquire String Filter in Bag
638    ///
639    /// # Arguments
640    /// * `Bag`: Bag handle
641    /// * `Selector`: Item selector
642    /// * `ItemIndex`: Item index
643    /// * `BufferLength`: Length of buffer
644    /// * `Buffer` (Output): Buffer to contain string
645    /// * `StringLength` (Output): Length of string returned
646    /// * `CodedCharSetId` (Output): Character-set identifier of string
647    /// * `Operator` (Output): Item operator
648    /// * `CompCode` (Output): Completion code
649    /// * `Reason` (Output): Reason code qualifying `CompCode`
650    ///
651    /// # References
652    /// * [IBM `mqInquireStringFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089410_.html)
653    unsafe fn mqInquireStringFilter(
654        &self,
655        Bag: crate::mqai::MQHBAG,
656        Selector: crate::MQLONG,
657        ItemIndex: crate::MQLONG,
658        BufferLength: crate::MQLONG,
659        Buffer: crate::PMQCHAR,
660        StringLength: &mut crate::MQLONG,
661        CodedCharSetId: &mut crate::MQLONG,
662        Operator: &mut crate::MQLONG,
663        CompCode: &mut crate::MQLONG,
664        Reason: &mut crate::MQLONG,
665    );
666    /// Pad Null-terminated String with Blanks
667    ///
668    /// # Arguments
669    /// * `String`: Null-terminated string to be padded
670    /// * `BufferLength`: Length of buffer
671    /// * `Buffer` (Output): Buffer to contain padded string
672    /// * `CompCode` (Output): Completion code
673    /// * `Reason` (Output): Reason code qualifying `CompCode`
674    ///
675    /// # References
676    /// * [IBM `mqPad` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089420_.html)
677    unsafe fn mqPad(
678        &self,
679        String: crate::PMQCHAR,
680        BufferLength: crate::MQLONG,
681        Buffer: crate::PMQCHAR,
682        CompCode: &mut crate::MQLONG,
683        Reason: &mut crate::MQLONG,
684    );
685    /// Send Bag as PCF Message
686    ///
687    /// # Arguments
688    /// * `Hconn`: Connection handle
689    /// * `Hobj`: Queue handle
690    /// * `MsgDesc` (Input/Output): Message descriptor
691    /// * `PutMsgOpts` (Input/Output): Put-message options
692    /// * `Bag`: Handle of bag containing message data
693    /// * `CompCode` (Output): Completion code
694    /// * `Reason` (Output): Reason code qualifying `CompCode`
695    ///
696    /// # References
697    /// * [IBM `mqPutBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089430_.html)
698    unsafe fn mqPutBag(
699        &self,
700        Hconn: crate::MQHCONN,
701        Hobj: crate::MQHOBJ,
702        MsgDesc: crate::PMQVOID,
703        PutMsgOpts: &mut crate::MQPMO,
704        Bag: crate::mqai::MQHBAG,
705        CompCode: &mut crate::MQLONG,
706        Reason: &mut crate::MQLONG,
707    );
708    /// Modify Byte String in Bag
709    ///
710    /// # Arguments
711    /// * `Bag`: Bag handle
712    /// * `Selector`: Item selector
713    /// * `ItemIndex`: Item index
714    /// * `BufferLength`: Length of buffer
715    /// * `Buffer`: Buffer containing item value
716    /// * `CompCode` (Output): Completion code
717    /// * `Reason` (Output): Reason code qualifying `CompCode`
718    ///
719    /// # References
720    /// * [IBM `mqSetByteString` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089440_.html)
721    unsafe fn mqSetByteString(
722        &self,
723        Bag: crate::mqai::MQHBAG,
724        Selector: crate::MQLONG,
725        ItemIndex: crate::MQLONG,
726        BufferLength: crate::MQLONG,
727        Buffer: crate::PMQBYTE,
728        CompCode: &mut crate::MQLONG,
729        Reason: &mut crate::MQLONG,
730    );
731    /// Modify Byte String Filter in Bag
732    ///
733    /// # Arguments
734    /// * `Bag`: Bag handle
735    /// * `Selector`: Item selector
736    /// * `ItemIndex`: Item index
737    /// * `BufferLength`: Length of buffer
738    /// * `Buffer`: Buffer containing item value
739    /// * `Operator`: Item operator
740    /// * `CompCode` (Output): Completion code
741    /// * `Reason` (Output): Reason code qualifying `CompCode`
742    ///
743    /// # References
744    /// * [IBM `mqSetByteStringFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089450_.html)
745    unsafe fn mqSetByteStringFilter(
746        &self,
747        Bag: crate::mqai::MQHBAG,
748        Selector: crate::MQLONG,
749        ItemIndex: crate::MQLONG,
750        BufferLength: crate::MQLONG,
751        Buffer: crate::PMQBYTE,
752        Operator: crate::MQLONG,
753        CompCode: &mut crate::MQLONG,
754        Reason: &mut crate::MQLONG,
755    );
756    /// Modify Integer in Bag
757    ///
758    /// # Arguments
759    /// * `Bag`: Bag handle
760    /// * `Selector`: Item selector
761    /// * `ItemIndex`: Item index
762    /// * `ItemValue`: Item value
763    /// * `CompCode` (Output): Completion code
764    /// * `Reason` (Output): Reason code qualifying `CompCode`
765    ///
766    /// # References
767    /// * [IBM `mqSetInteger` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089460_.html)
768    unsafe fn mqSetInteger(
769        &self,
770        Bag: crate::mqai::MQHBAG,
771        Selector: crate::MQLONG,
772        ItemIndex: crate::MQLONG,
773        ItemValue: crate::MQLONG,
774        CompCode: &mut crate::MQLONG,
775        Reason: &mut crate::MQLONG,
776    );
777    /// Modify 64-bit Integer in Bag
778    ///
779    /// # Arguments
780    /// * `Bag`: Bag handle
781    /// * `Selector`: Item selector
782    /// * `ItemIndex`: Item index
783    /// * `ItemValue`: Item value
784    /// * `CompCode` (Output): Completion code
785    /// * `Reason` (Output): Reason code qualifying `CompCode`
786    ///
787    /// # References
788    /// * [IBM `mqSetInteger64` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089470_.html)
789    unsafe fn mqSetInteger64(
790        &self,
791        Bag: crate::mqai::MQHBAG,
792        Selector: crate::MQLONG,
793        ItemIndex: crate::MQLONG,
794        ItemValue: crate::MQINT64,
795        CompCode: &mut crate::MQLONG,
796        Reason: &mut crate::MQLONG,
797    );
798    /// Modify Integer Filter in Bag
799    ///
800    /// # Arguments
801    /// * `Bag`: Bag handle
802    /// * `Selector`: Item selector
803    /// * `ItemIndex`: Item index
804    /// * `ItemValue`: Item value
805    /// * `Operator`: Item operator
806    /// * `CompCode` (Output): Completion code
807    /// * `Reason` (Output): Reason code qualifying `CompCode`
808    ///
809    /// # References
810    /// * [IBM `mqSetIntegerFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089480_.html)
811    unsafe fn mqSetIntegerFilter(
812        &self,
813        Bag: crate::mqai::MQHBAG,
814        Selector: crate::MQLONG,
815        ItemIndex: crate::MQLONG,
816        ItemValue: crate::MQLONG,
817        Operator: crate::MQLONG,
818        CompCode: &mut crate::MQLONG,
819        Reason: &mut crate::MQLONG,
820    );
821    /// Modify String in Bag
822    ///
823    /// # Arguments
824    /// * `Bag`: Bag handle
825    /// * `Selector`: Item selector
826    /// * `ItemIndex`: Item index
827    /// * `BufferLength`: Length of buffer
828    /// * `Buffer`: Buffer containing item value
829    /// * `CompCode` (Output): Completion code
830    /// * `Reason` (Output): Reason code qualifying `CompCode`
831    ///
832    /// # References
833    /// * [IBM `mqSetString` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089490_.html)
834    unsafe fn mqSetString(
835        &self,
836        Bag: crate::mqai::MQHBAG,
837        Selector: crate::MQLONG,
838        ItemIndex: crate::MQLONG,
839        BufferLength: crate::MQLONG,
840        Buffer: crate::PMQCHAR,
841        CompCode: &mut crate::MQLONG,
842        Reason: &mut crate::MQLONG,
843    );
844    /// Modify String Filter in Bag
845    ///
846    /// # Arguments
847    /// * `Bag`: Bag handle
848    /// * `Selector`: Item selector
849    /// * `ItemIndex`: Item index
850    /// * `BufferLength`: Length of buffer
851    /// * `Buffer`: Buffer containing item value
852    /// * `Operator`: Item operator
853    /// * `CompCode` (Output): Completion code
854    /// * `Reason` (Output): Reason code qualifying `CompCode`
855    ///
856    /// # References
857    /// * [IBM `mqSetStringFilter` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089500_.html)
858    unsafe fn mqSetStringFilter(
859        &self,
860        Bag: crate::mqai::MQHBAG,
861        Selector: crate::MQLONG,
862        ItemIndex: crate::MQLONG,
863        BufferLength: crate::MQLONG,
864        Buffer: crate::PMQCHAR,
865        Operator: crate::MQLONG,
866        CompCode: &mut crate::MQLONG,
867        Reason: &mut crate::MQLONG,
868    );
869    /// Replace Trailing Blanks with Null Character
870    ///
871    /// # Arguments
872    /// * `BufferLength`: Length of buffer
873    /// * `Buffer`: Buffer containing blank-padded string
874    /// * `String` (Output): String with blanks discarded
875    /// * `CompCode` (Output): Completion code
876    /// * `Reason` (Output): Reason code qualifying `CompCode`
877    ///
878    /// # References
879    /// * [IBM `mqTrim` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089510_.html)
880    unsafe fn mqTrim(
881        &self,
882        BufferLength: crate::MQLONG,
883        Buffer: crate::PMQCHAR,
884        String: crate::PMQCHAR,
885        CompCode: &mut crate::MQLONG,
886        Reason: &mut crate::MQLONG,
887    );
888    /// Delete Trailing Items in Bag
889    ///
890    /// # Arguments
891    /// * `Bag`: Bag handle
892    /// * `ItemCount`: Number of items to remain in bag
893    /// * `CompCode` (Output): Completion code
894    /// * `Reason` (Output): Reason code qualifying `CompCode`
895    ///
896    /// # References
897    /// * [IBM `mqTruncateBag` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refadmin/q089520_.html)
898    unsafe fn mqTruncateBag(
899        &self,
900        Bag: crate::mqai::MQHBAG,
901        ItemCount: crate::MQLONG,
902        CompCode: &mut crate::MQLONG,
903        Reason: &mut crate::MQLONG,
904    );
905}
906pub trait Mqi {
907    /// Back Out Changes
908    ///
909    /// # Arguments
910    /// * `Hconn`: Connection handle
911    /// * `CompCode` (Output): Completion code
912    /// * `Reason` (Output): Reason code qualifying `CompCode`
913    ///
914    /// # References
915    /// * [IBM `MQBACK` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101690_.html)
916    unsafe fn MQBACK(
917        &self,
918        Hconn: crate::MQHCONN,
919        CompCode: &mut crate::MQLONG,
920        Reason: &mut crate::MQLONG,
921    );
922    /// Begin Unit of Work
923    ///
924    /// # Arguments
925    /// * `Hconn`: Connection handle
926    /// * `BeginOptions` (Input/Output): Options that control the action of [`MQBEGIN`](Self::MQBEGIN)
927    /// * `CompCode` (Output): Completion code
928    /// * `Reason` (Output): Reason code qualifying `CompCode`
929    ///
930    /// # References
931    /// * [IBM `MQBEGIN` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101700_.html)
932    unsafe fn MQBEGIN(
933        &self,
934        Hconn: crate::MQHCONN,
935        BeginOptions: Option<&mut crate::MQBO>,
936        CompCode: &mut crate::MQLONG,
937        Reason: &mut crate::MQLONG,
938    );
939    /// Buffer To Message Handle
940    ///
941    /// # Arguments
942    /// * `Hconn`: Connection handle
943    /// * `Hmsg`: Message handle
944    /// * `BufMsgHOpts`: Options that control the action of [`MQBUFMH`](Self::MQBUFMH)
945    /// * `MsgDesc` (Input/Output): Message descriptor
946    /// * `BufferLength`: Length in bytes of the Buffer area
947    /// * `Buffer` (Input/Output): Area to contain the message buffer
948    /// * `DataLength` (Output): Length of the output buffer
949    /// * `CompCode` (Output): Completion code
950    /// * `Reason` (Output): Reason code qualifying `CompCode`
951    ///
952    /// # References
953    /// * [IBM `MQBUFMH` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101710_.html)
954    unsafe fn MQBUFMH(
955        &self,
956        Hconn: crate::MQHCONN,
957        Hmsg: crate::MQHMSG,
958        BufMsgHOpts: &crate::MQBMHO,
959        MsgDesc: crate::PMQVOID,
960        BufferLength: crate::MQLONG,
961        Buffer: crate::PMQVOID,
962        DataLength: &mut crate::MQLONG,
963        CompCode: &mut crate::MQLONG,
964        Reason: &mut crate::MQLONG,
965    );
966    /// Register Message consumer
967    ///
968    /// # Arguments
969    /// * `Hconn`: Connection handle
970    /// * `Operation`: Operation
971    /// * `CallbackDesc`: Callback descriptor
972    /// * `Hobj`: Object handle
973    /// * `MsgDesc`: Message Descriptor
974    /// * `GetMsgOpts`: Get options
975    /// * `CompCode` (Output): Completion code
976    /// * `Reason` (Output): Reason code qualifying `CompCode`
977    ///
978    /// # References
979    /// * [IBM `MQCB` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101720_.html)
980    unsafe fn MQCB(
981        &self,
982        Hconn: crate::MQHCONN,
983        Operation: crate::MQLONG,
984        CallbackDesc: Option<&crate::MQCBD>,
985        Hobj: crate::MQHOBJ,
986        MsgDesc: crate::PMQVOID,
987        GetMsgOpts: Option<&crate::MQGMO>,
988        CompCode: &mut crate::MQLONG,
989        Reason: &mut crate::MQLONG,
990    );
991    /// Close Object
992    ///
993    /// # Arguments
994    /// * `Hconn`: Connection handle
995    /// * `Hobj` (Input/Output): Object handle
996    /// * `Options`: Options that control the action of [`MQCLOSE`](Self::MQCLOSE)
997    /// * `CompCode` (Output): Completion code
998    /// * `Reason` (Output): Reason code qualifying `CompCode`
999    ///
1000    /// # References
1001    /// * [IBM `MQCLOSE` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101740_.html)
1002    unsafe fn MQCLOSE(
1003        &self,
1004        Hconn: crate::MQHCONN,
1005        Hobj: &mut crate::MQHOBJ,
1006        Options: crate::MQLONG,
1007        CompCode: &mut crate::MQLONG,
1008        Reason: &mut crate::MQLONG,
1009    );
1010    /// Commit Changes
1011    ///
1012    /// # Arguments
1013    /// * `Hconn`: Connection handle
1014    /// * `CompCode` (Output): Completion code
1015    /// * `Reason` (Output): Reason code qualifying `CompCode`
1016    ///
1017    /// # References
1018    /// * [IBM `MQCMIT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101750_.html)
1019    unsafe fn MQCMIT(
1020        &self,
1021        Hconn: crate::MQHCONN,
1022        CompCode: &mut crate::MQLONG,
1023        Reason: &mut crate::MQLONG,
1024    );
1025    /// Connect Queue Manager
1026    ///
1027    /// # Arguments
1028    /// * `QMgrName`: Name of queue manager
1029    /// * `Hconn` (Output): Connection handle
1030    /// * `CompCode` (Output): Completion code
1031    /// * `Reason` (Output): Reason code qualifying `CompCode`
1032    ///
1033    /// # References
1034    /// * [IBM `MQCONN` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101760_.html)
1035    unsafe fn MQCONN(
1036        &self,
1037        QMgrName: &crate::MQCHAR48,
1038        Hconn: &mut crate::MQHCONN,
1039        CompCode: &mut crate::MQLONG,
1040        Reason: &mut crate::MQLONG,
1041    );
1042    /// Connect Queue Manager (Extended)
1043    ///
1044    /// # Arguments
1045    /// * `QMgrName`: Name of queue manager
1046    /// * `ConnectOpts` (Input/Output): Options that control the action of [`MQCONNX`](Self::MQCONNX)
1047    /// * `Hconn` (Output): Connection handle
1048    /// * `CompCode` (Output): Completion code
1049    /// * `Reason` (Output): Reason code qualifying `CompCode`
1050    ///
1051    /// # References
1052    /// * [IBM `MQCONNX` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101770_.html)
1053    unsafe fn MQCONNX(
1054        &self,
1055        QMgrName: &crate::MQCHAR48,
1056        ConnectOpts: &mut crate::MQCNO,
1057        Hconn: &mut crate::MQHCONN,
1058        CompCode: &mut crate::MQLONG,
1059        Reason: &mut crate::MQLONG,
1060    );
1061    /// Create Message Handle
1062    ///
1063    /// # Arguments
1064    /// * `Hconn`: Connection handle
1065    /// * `CrtMsgHOpts`: Options that control the action of [`MQCRTMH`](Self::MQCRTMH)
1066    /// * `Hmsg` (Output): Message handle
1067    /// * `CompCode` (Output): Completion code
1068    /// * `Reason` (Output): Reason code qualifying `CompCode`
1069    ///
1070    /// # References
1071    /// * [IBM `MQCRTMH` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101780_.html)
1072    unsafe fn MQCRTMH(
1073        &self,
1074        Hconn: crate::MQHCONN,
1075        CrtMsgHOpts: &crate::MQCMHO,
1076        Hmsg: &mut crate::MQHMSG,
1077        CompCode: &mut crate::MQLONG,
1078        Reason: &mut crate::MQLONG,
1079    );
1080    /// Control Consumer
1081    ///
1082    /// # Arguments
1083    /// * `Hconn`: Connection handle
1084    /// * `Operation`: Operation
1085    /// * `ControlOpts`: Control options
1086    /// * `CompCode` (Output): Completion code
1087    /// * `Reason` (Output): Reason code qualifying `CompCode`
1088    ///
1089    /// # References
1090    /// * [IBM `MQCTL` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101790_.html)
1091    unsafe fn MQCTL(
1092        &self,
1093        Hconn: crate::MQHCONN,
1094        Operation: crate::MQLONG,
1095        ControlOpts: &crate::MQCTLO,
1096        CompCode: &mut crate::MQLONG,
1097        Reason: &mut crate::MQLONG,
1098    );
1099    /// Disconnect Queue Manager
1100    ///
1101    /// # Arguments
1102    /// * `Hconn` (Input/Output): Connection handle
1103    /// * `CompCode` (Output): Completion code
1104    /// * `Reason` (Output): Reason code qualifying `CompCode`
1105    ///
1106    /// # References
1107    /// * [IBM `MQDISC` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101800_.html)
1108    unsafe fn MQDISC(
1109        &self,
1110        Hconn: &mut crate::MQHCONN,
1111        CompCode: &mut crate::MQLONG,
1112        Reason: &mut crate::MQLONG,
1113    );
1114    /// Delete Message Handle
1115    ///
1116    /// # Arguments
1117    /// * `Hconn`: Connection handle
1118    /// * `Hmsg` (Input/Output): Message handle
1119    /// * `DltMsgHOpts`: Options that control the action of [`MQDLTMH`](Self::MQDLTMH)
1120    /// * `CompCode` (Output): Completion code
1121    /// * `Reason` (Output): Reason code qualifying `CompCode`
1122    ///
1123    /// # References
1124    /// * [IBM `MQDLTMH` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101810_.html)
1125    unsafe fn MQDLTMH(
1126        &self,
1127        Hconn: crate::MQHCONN,
1128        Hmsg: &mut crate::MQHMSG,
1129        DltMsgHOpts: &crate::MQDMHO,
1130        CompCode: &mut crate::MQLONG,
1131        Reason: &mut crate::MQLONG,
1132    );
1133    /// Delete Message Property
1134    ///
1135    /// # Arguments
1136    /// * `Hconn`: Connection handle
1137    /// * `Hmsg`: Message handle
1138    /// * `DltPropOpts`: Options that control the action of [`MQDLTMP`](Self::MQDLTMP)
1139    /// * `Name`: Property name
1140    /// * `CompCode` (Output): Completion code
1141    /// * `Reason` (Output): Reason code qualifying `CompCode`
1142    ///
1143    /// # References
1144    /// * [IBM `MQDLTMP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101820_.html)
1145    unsafe fn MQDLTMP(
1146        &self,
1147        Hconn: crate::MQHCONN,
1148        Hmsg: crate::MQHMSG,
1149        DltPropOpts: &crate::MQDMPO,
1150        Name: &crate::MQCHARV,
1151        CompCode: &mut crate::MQLONG,
1152        Reason: &mut crate::MQLONG,
1153    );
1154    /// Get Message
1155    ///
1156    /// # Arguments
1157    /// * `Hconn`: Connection handle
1158    /// * `Hobj`: Object handle
1159    /// * `MsgDesc` (Input/Output): Message descriptor
1160    /// * `GetMsgOpts` (Input/Output): Options that control the action of [`MQGET`](Self::MQGET)
1161    /// * `BufferLength`: Length in bytes of the Buffer area
1162    /// * `Buffer` (Output): Area to contain the message data
1163    /// * `DataLength` (Output): Length of the message
1164    /// * `CompCode` (Output): Completion code
1165    /// * `Reason` (Output): Reason code qualifying `CompCode`
1166    ///
1167    /// # References
1168    /// * [IBM `MQGET` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101830_.html)
1169    unsafe fn MQGET(
1170        &self,
1171        Hconn: crate::MQHCONN,
1172        Hobj: crate::MQHOBJ,
1173        MsgDesc: crate::PMQVOID,
1174        GetMsgOpts: &mut crate::MQGMO,
1175        BufferLength: crate::MQLONG,
1176        Buffer: crate::PMQVOID,
1177        DataLength: &mut crate::MQLONG,
1178        CompCode: &mut crate::MQLONG,
1179        Reason: &mut crate::MQLONG,
1180    );
1181    /// Inquire Object Attributes
1182    ///
1183    /// # Arguments
1184    /// * `Hconn`: Connection handle
1185    /// * `Hobj`: Object handle
1186    /// * `SelectorCount`: Count of selectors
1187    /// * `Selectors`: Array of attribute selectors
1188    /// * `IntAttrCount`: Count of integer attributes
1189    /// * `IntAttrs` (Output): Array of integer attributes
1190    /// * `CharAttrLength`: Length of character attributes buffer
1191    /// * `CharAttrs` (Output): Character attributes
1192    /// * `CompCode` (Output): Completion code
1193    /// * `Reason` (Output): Reason code qualifying `CompCode`
1194    ///
1195    /// # References
1196    /// * [IBM `MQINQ` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101840_.html)
1197    unsafe fn MQINQ(
1198        &self,
1199        Hconn: crate::MQHCONN,
1200        Hobj: crate::MQHOBJ,
1201        SelectorCount: crate::MQLONG,
1202        Selectors: crate::PMQLONG,
1203        IntAttrCount: crate::MQLONG,
1204        IntAttrs: crate::PMQLONG,
1205        CharAttrLength: crate::MQLONG,
1206        CharAttrs: crate::PMQCHAR,
1207        CompCode: &mut crate::MQLONG,
1208        Reason: &mut crate::MQLONG,
1209    );
1210    /// Inquire Message Property
1211    ///
1212    /// # Arguments
1213    /// * `Hconn`: Connection handle
1214    /// * `Hmsg`: Message handle
1215    /// * `InqPropOpts`: Options that control the action of [`MQINQMP`](Self::MQINQMP)
1216    /// * `Name`: Property name
1217    /// * `PropDesc` (Output): Property descriptor
1218    /// * `Type` (Input/Output): Property data type
1219    /// * `ValueLength`: Length in bytes of the Value area
1220    /// * `Value` (Output): Property value
1221    /// * `DataLength` (Output): Length of the property value
1222    /// * `CompCode` (Output): Completion code
1223    /// * `Reason` (Output): Reason code qualifying `CompCode`
1224    ///
1225    /// # References
1226    /// * [IBM `MQINQMP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101850_.html)
1227    unsafe fn MQINQMP(
1228        &self,
1229        Hconn: crate::MQHCONN,
1230        Hmsg: crate::MQHMSG,
1231        InqPropOpts: &mut crate::MQIMPO,
1232        Name: &crate::MQCHARV,
1233        PropDesc: &mut crate::MQPD,
1234        Type: &mut crate::MQLONG,
1235        ValueLength: crate::MQLONG,
1236        Value: crate::PMQVOID,
1237        DataLength: &mut crate::MQLONG,
1238        CompCode: &mut crate::MQLONG,
1239        Reason: &mut crate::MQLONG,
1240    );
1241    /// Message Handle To Buffer
1242    ///
1243    /// # Arguments
1244    /// * `Hconn`: Connection handle
1245    /// * `Hmsg`: Message handle
1246    /// * `MsgHBufOpts`: Options that control the action of [`MQMHBUF`](Self::MQMHBUF)
1247    /// * `Name`: Property name
1248    /// * `MsgDesc` (Input/Output): Message descriptor
1249    /// * `BufferLength`: Length in bytes of the Buffer area
1250    /// * `Buffer` (Output): Area to contain the properties
1251    /// * `DataLength` (Output): Length of the properties
1252    /// * `CompCode` (Output): Completion code
1253    /// * `Reason` (Output): Reason code qualifying `CompCode`
1254    ///
1255    /// # References
1256    /// * [IBM `MQMHBUF` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101860_.html)
1257    unsafe fn MQMHBUF(
1258        &self,
1259        Hconn: crate::MQHCONN,
1260        Hmsg: crate::MQHMSG,
1261        MsgHBufOpts: &crate::MQMHBO,
1262        Name: &crate::MQCHARV,
1263        MsgDesc: crate::PMQVOID,
1264        BufferLength: crate::MQLONG,
1265        Buffer: crate::PMQVOID,
1266        DataLength: &mut crate::MQLONG,
1267        CompCode: &mut crate::MQLONG,
1268        Reason: &mut crate::MQLONG,
1269    );
1270    /// Open Object
1271    ///
1272    /// # Arguments
1273    /// * `Hconn`: Connection handle
1274    /// * `ObjDesc` (Input/Output): Object descriptor
1275    /// * `Options`: Options that control the action of [`MQOPEN`](Self::MQOPEN)
1276    /// * `Hobj` (Output): Object handle
1277    /// * `CompCode` (Output): Completion code
1278    /// * `Reason` (Output): Reason code qualifying `CompCode`
1279    ///
1280    /// # References
1281    /// * [IBM `MQOPEN` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101870_.html)
1282    unsafe fn MQOPEN(
1283        &self,
1284        Hconn: crate::MQHCONN,
1285        ObjDesc: &mut crate::MQOD,
1286        Options: crate::MQLONG,
1287        Hobj: &mut crate::MQHOBJ,
1288        CompCode: &mut crate::MQLONG,
1289        Reason: &mut crate::MQLONG,
1290    );
1291    /// Put Message
1292    ///
1293    /// # Arguments
1294    /// * `Hconn`: Connection handle
1295    /// * `Hobj`: Object handle
1296    /// * `MsgDesc` (Input/Output): Message descriptor
1297    /// * `PutMsgOpts` (Input/Output): Options that control the action of [`MQPUT`](Self::MQPUT)
1298    /// * `BufferLength`: Length of the message in Buffer
1299    /// * `Buffer`: Message data
1300    /// * `CompCode` (Output): Completion code
1301    /// * `Reason` (Output): Reason code qualifying `CompCode`
1302    ///
1303    /// # References
1304    /// * [IBM `MQPUT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101880_.html)
1305    unsafe fn MQPUT(
1306        &self,
1307        Hconn: crate::MQHCONN,
1308        Hobj: crate::MQHOBJ,
1309        MsgDesc: crate::PMQVOID,
1310        PutMsgOpts: &mut crate::MQPMO,
1311        BufferLength: crate::MQLONG,
1312        Buffer: crate::PMQVOID,
1313        CompCode: &mut crate::MQLONG,
1314        Reason: &mut crate::MQLONG,
1315    );
1316    /// Put One Message
1317    ///
1318    /// # Arguments
1319    /// * `Hconn`: Connection handle
1320    /// * `ObjDesc` (Input/Output): Object descriptor
1321    /// * `MsgDesc` (Input/Output): Message descriptor
1322    /// * `PutMsgOpts` (Input/Output): Options that control the action of [`MQPUT1`](Self::MQPUT1)
1323    /// * `BufferLength`: Length of the message in Buffer
1324    /// * `Buffer`: Message data
1325    /// * `CompCode` (Output): Completion code
1326    /// * `Reason` (Output): Reason code qualifying `CompCode`
1327    ///
1328    /// # References
1329    /// * [IBM `MQPUT1` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101890_.html)
1330    unsafe fn MQPUT1(
1331        &self,
1332        Hconn: crate::MQHCONN,
1333        ObjDesc: &mut crate::MQOD,
1334        MsgDesc: crate::PMQVOID,
1335        PutMsgOpts: &mut crate::MQPMO,
1336        BufferLength: crate::MQLONG,
1337        Buffer: crate::PMQVOID,
1338        CompCode: &mut crate::MQLONG,
1339        Reason: &mut crate::MQLONG,
1340    );
1341    /// Set Object Attributes
1342    ///
1343    /// # Arguments
1344    /// * `Hconn`: Connection handle
1345    /// * `Hobj`: Object handle
1346    /// * `SelectorCount`: Count of selectors
1347    /// * `Selectors`: Array of attribute selectors
1348    /// * `IntAttrCount`: Count of integer attributes
1349    /// * `IntAttrs`: Array of integer attributes
1350    /// * `CharAttrLength`: Length of character attributes buffer
1351    /// * `CharAttrs`: Character attributes
1352    /// * `CompCode` (Output): Completion code
1353    /// * `Reason` (Output): Reason code qualifying `CompCode`
1354    ///
1355    /// # References
1356    /// * [IBM `MQSET` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101900_.html)
1357    unsafe fn MQSET(
1358        &self,
1359        Hconn: crate::MQHCONN,
1360        Hobj: crate::MQHOBJ,
1361        SelectorCount: crate::MQLONG,
1362        Selectors: crate::PMQLONG,
1363        IntAttrCount: crate::MQLONG,
1364        IntAttrs: crate::PMQLONG,
1365        CharAttrLength: crate::MQLONG,
1366        CharAttrs: crate::PMQCHAR,
1367        CompCode: &mut crate::MQLONG,
1368        Reason: &mut crate::MQLONG,
1369    );
1370    /// Set Message Property
1371    ///
1372    /// # Arguments
1373    /// * `Hconn`: Connection handle
1374    /// * `Hmsg`: Message handle
1375    /// * `SetPropOpts`: Options that control the action of [`MQSETMP`](Self::MQSETMP)
1376    /// * `Name`: Property name
1377    /// * `PropDesc` (Input/Output): Property descriptor
1378    /// * `Type`: Property data type
1379    /// * `ValueLength`: Length of the Value area
1380    /// * `Value`: Property value
1381    /// * `CompCode` (Output): Completion code
1382    /// * `Reason` (Output): Reason code qualifying `CompCode`
1383    ///
1384    /// # References
1385    /// * [IBM `MQSETMP` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101910_.html)
1386    unsafe fn MQSETMP(
1387        &self,
1388        Hconn: crate::MQHCONN,
1389        Hmsg: crate::MQHMSG,
1390        SetPropOpts: &crate::MQSMPO,
1391        Name: &crate::MQCHARV,
1392        PropDesc: &mut crate::MQPD,
1393        Type: crate::MQLONG,
1394        ValueLength: crate::MQLONG,
1395        Value: crate::PMQVOID,
1396        CompCode: &mut crate::MQLONG,
1397        Reason: &mut crate::MQLONG,
1398    );
1399    /// Get Status Information
1400    ///
1401    /// # Arguments
1402    /// * `Hconn`: Connection handle
1403    /// * `Type`: Status information type
1404    /// * `Status` (Input/Output): Status information
1405    /// * `CompCode` (Output): Completion code
1406    /// * `Reason` (Output): Reason code qualifying `CompCode`
1407    ///
1408    /// # References
1409    /// * [IBM `MQSTAT` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101920_.html)
1410    unsafe fn MQSTAT(
1411        &self,
1412        Hconn: crate::MQHCONN,
1413        Type: crate::MQLONG,
1414        Status: &mut crate::MQSTS,
1415        CompCode: &mut crate::MQLONG,
1416        Reason: &mut crate::MQLONG,
1417    );
1418    /// Subscribe to topic
1419    ///
1420    /// # Arguments
1421    /// * `Hconn`: Connection handle
1422    /// * `SubDesc` (Input/Output): Subscription descriptor
1423    /// * `Hobj` (Input/Output): Object handle for queue
1424    /// * `Hsub` (Output): Subscription object handle
1425    /// * `CompCode` (Output): Completion code
1426    /// * `Reason` (Output): Reason code qualifying `CompCode`
1427    ///
1428    /// # References
1429    /// * [IBM `MQSUB` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101930_.html)
1430    unsafe fn MQSUB(
1431        &self,
1432        Hconn: crate::MQHCONN,
1433        SubDesc: &mut crate::MQSD,
1434        Hobj: Option<&mut crate::MQHOBJ>,
1435        Hsub: &mut crate::MQHOBJ,
1436        CompCode: &mut crate::MQLONG,
1437        Reason: &mut crate::MQLONG,
1438    );
1439    /// Subscription Request
1440    ///
1441    /// # Arguments
1442    /// * `Hconn`: Connection handle
1443    /// * `Hsub`: Subscription handle
1444    /// * `Action`: Action requested on the subscription
1445    /// * `SubRqOpts` (Input/Output): Subscription Request Options
1446    /// * `CompCode` (Output): Completion code
1447    /// * `Reason` (Output): Reason code qualifying `CompCode`
1448    ///
1449    /// # References
1450    /// * [IBM `MQSUBRQ` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q101940_.html)
1451    unsafe fn MQSUBRQ(
1452        &self,
1453        Hconn: crate::MQHCONN,
1454        Hsub: crate::MQHOBJ,
1455        Action: crate::MQLONG,
1456        SubRqOpts: Option<&mut crate::MQSRO>,
1457        CompCode: &mut crate::MQLONG,
1458        Reason: &mut crate::MQLONG,
1459    );
1460    /// Convert Characters
1461    ///
1462    /// # Arguments
1463    /// * `Hconn`: Connection handle
1464    /// * `Options`: Options that control the action of [`MQXCNVC`](Self::MQXCNVC)
1465    /// * `SourceCCSID`: Coded character set identifier of string before conversion
1466    /// * `SourceLength`: Length of string before conversion
1467    /// * `SourceBuffer`: String to be converted
1468    /// * `TargetCCSID`: Coded character set identifier of string after conversion
1469    /// * `TargetLength`: Length of output buffer
1470    /// * `TargetBuffer` (Output): String after conversion
1471    /// * `DataLength` (Output): Length of output string
1472    /// * `CompCode` (Output): Completion code
1473    /// * `Reason` (Output): Reason code qualifying `CompCode`
1474    ///
1475    /// # References
1476    /// * [IBM `MQXCNVC` Documentation](https://www.ibm.com/docs/en/SSFKSJ_latest/refdev/q104110_.html)
1477    unsafe fn MQXCNVC(
1478        &self,
1479        Hconn: crate::MQHCONN,
1480        Options: crate::MQLONG,
1481        SourceCCSID: crate::MQLONG,
1482        SourceLength: crate::MQLONG,
1483        SourceBuffer: crate::PMQCHAR,
1484        TargetCCSID: crate::MQLONG,
1485        TargetLength: crate::MQLONG,
1486        TargetBuffer: crate::PMQCHAR,
1487        DataLength: &mut crate::MQLONG,
1488        CompCode: &mut crate::MQLONG,
1489        Reason: &mut crate::MQLONG,
1490    );
1491}