1pub type PPMQCHAR = *mut PMQCHAR;
4pub type PPMQLONG = *mut PMQLONG;
5pub type PMQIEP = *mut MQIEP;
6pub type PPMQIEP = *mut PMQIEP;
7pub type MQHCONFIG = PMQIEP;
8pub type PMQHCONFIG = *mut MQHCONFIG;
9pub type PPMQHCONN = *mut PMQHCONN;
10pub type PPMQHOBJ = *mut PMQHOBJ;
11pub type PPMQVOID = *mut PMQVOID;
12pub type PPMQBO = *mut PMQBO;
13pub type PPMQCBC = *mut PMQCBC;
14pub type PPMQCBD = *mut PMQCBD;
15pub type PPMQCTLO = *mut PMQCTLO;
16pub type PPMQCNO = *mut PMQCNO;
17pub type PPMQGMO = *mut PMQGMO;
18pub type PPMQMD = *mut PMQMD;
19pub type PPMQOD = *mut PMQOD;
20pub type PPMQPMO = *mut PMQPMO;
21pub type PPMQSD = *mut PMQSD;
22pub type PPMQSRO = *mut PMQSRO;
23pub type PPMQSTS = *mut PMQSTS;
24pub type MQ_BACK_CALL = ::std::option::Option<
31 unsafe extern "C" fn(Hconn: MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG),
32>;
33pub type PMQ_BACK_CALL = MQ_BACK_CALL;
34pub type MQ_BEGIN_CALL = ::std::option::Option<
42 unsafe extern "C" fn(
43 Hconn: MQHCONN,
44 BeginOptions: Option<&mut MQBO>,
45 CompCode: &mut MQLONG,
46 Reason: &mut MQLONG,
47 ),
48>;
49pub type PMQ_BEGIN_CALL = MQ_BEGIN_CALL;
50pub type MQ_BUFMH_CALL = ::std::option::Option<
63 unsafe extern "C" fn(
64 Hconn: MQHCONN,
65 Hmsg: MQHMSG,
66 BufMsgHOpts: &MQBMHO,
67 MsgDesc: PMQVOID,
68 BufferLength: MQLONG,
69 Buffer: PMQVOID,
70 DataLength: &mut MQLONG,
71 CompCode: &mut MQLONG,
72 Reason: &mut MQLONG,
73 ),
74>;
75pub type PMQ_BUFMH_CALL = MQ_BUFMH_CALL;
76pub type MQ_CB_CALL = ::std::option::Option<
88 unsafe extern "C" fn(
89 Hconn: MQHCONN,
90 Operation: MQLONG,
91 CallbackDesc: Option<&MQCBD>,
92 Hobj: MQHOBJ,
93 MsgDesc: PMQVOID,
94 GetMsgOpts: Option<&MQGMO>,
95 CompCode: &mut MQLONG,
96 Reason: &mut MQLONG,
97 ),
98>;
99pub type PMQ_CB_CALL = MQ_CB_CALL;
100pub type MQ_CLOSE_CALL = ::std::option::Option<
109 unsafe extern "C" fn(
110 Hconn: MQHCONN,
111 Hobj: &mut MQHOBJ,
112 Options: MQLONG,
113 CompCode: &mut MQLONG,
114 Reason: &mut MQLONG,
115 ),
116>;
117pub type PMQ_CLOSE_CALL = MQ_CLOSE_CALL;
118pub type MQ_CMIT_CALL = ::std::option::Option<
125 unsafe extern "C" fn(Hconn: MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG),
126>;
127pub type PMQ_CMIT_CALL = MQ_CMIT_CALL;
128pub type MQ_CONN_CALL = ::std::option::Option<
136 unsafe extern "C" fn(
137 QMgrName: &MQCHAR48,
138 Hconn: &mut MQHCONN,
139 CompCode: &mut MQLONG,
140 Reason: &mut MQLONG,
141 ),
142>;
143pub type PMQ_CONN_CALL = MQ_CONN_CALL;
144pub type MQ_CONNX_CALL = ::std::option::Option<
153 unsafe extern "C" fn(
154 QMgrName: &MQCHAR48,
155 ConnectOpts: &mut MQCNO,
156 Hconn: &mut MQHCONN,
157 CompCode: &mut MQLONG,
158 Reason: &mut MQLONG,
159 ),
160>;
161pub type PMQ_CONNX_CALL = MQ_CONNX_CALL;
162pub type MQ_CRTMH_CALL = ::std::option::Option<
171 unsafe extern "C" fn(
172 Hconn: MQHCONN,
173 CrtMsgHOpts: &MQCMHO,
174 Hmsg: &mut MQHMSG,
175 CompCode: &mut MQLONG,
176 Reason: &mut MQLONG,
177 ),
178>;
179pub type PMQ_CRTMH_CALL = MQ_CRTMH_CALL;
180pub type MQ_CTL_CALL = ::std::option::Option<
189 unsafe extern "C" fn(
190 Hconn: MQHCONN,
191 Operation: MQLONG,
192 ControlOpts: &MQCTLO,
193 CompCode: &mut MQLONG,
194 Reason: &mut MQLONG,
195 ),
196>;
197pub type PMQ_CTL_CALL = MQ_CTL_CALL;
198pub type MQ_DISC_CALL = ::std::option::Option<
205 unsafe extern "C" fn(Hconn: &mut MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG),
206>;
207pub type PMQ_DISC_CALL = MQ_DISC_CALL;
208pub type MQ_DLTMH_CALL = ::std::option::Option<
217 unsafe extern "C" fn(
218 Hconn: MQHCONN,
219 Hmsg: &mut MQHMSG,
220 DltMsgHOpts: &MQDMHO,
221 CompCode: &mut MQLONG,
222 Reason: &mut MQLONG,
223 ),
224>;
225pub type PMQ_DLTMH_CALL = MQ_DLTMH_CALL;
226pub type MQ_DLTMP_CALL = ::std::option::Option<
236 unsafe extern "C" fn(
237 Hconn: MQHCONN,
238 Hmsg: MQHMSG,
239 DltPropOpts: &MQDMPO,
240 Name: &MQCHARV,
241 CompCode: &mut MQLONG,
242 Reason: &mut MQLONG,
243 ),
244>;
245pub type PMQ_DLTMP_CALL = MQ_DLTMP_CALL;
246pub type MQ_GET_CALL = ::std::option::Option<
259 unsafe extern "C" fn(
260 Hconn: MQHCONN,
261 Hobj: MQHOBJ,
262 MsgDesc: PMQVOID,
263 GetMsgOpts: &mut MQGMO,
264 BufferLength: MQLONG,
265 Buffer: PMQVOID,
266 DataLength: &mut MQLONG,
267 CompCode: &mut MQLONG,
268 Reason: &mut MQLONG,
269 ),
270>;
271pub type PMQ_GET_CALL = MQ_GET_CALL;
272pub type MQ_INQ_CALL = ::std::option::Option<
286 unsafe extern "C" fn(
287 Hconn: MQHCONN,
288 Hobj: MQHOBJ,
289 SelectorCount: MQLONG,
290 Selectors: PMQLONG,
291 IntAttrCount: MQLONG,
292 IntAttrs: PMQLONG,
293 CharAttrLength: MQLONG,
294 CharAttrs: PMQCHAR,
295 CompCode: &mut MQLONG,
296 Reason: &mut MQLONG,
297 ),
298>;
299pub type PMQ_INQ_CALL = MQ_INQ_CALL;
300pub type MQ_INQMP_CALL = ::std::option::Option<
315 unsafe extern "C" fn(
316 Hconn: MQHCONN,
317 Hmsg: MQHMSG,
318 InqPropOpts: &mut MQIMPO,
319 Name: &MQCHARV,
320 PropDesc: &mut MQPD,
321 Type: &mut MQLONG,
322 ValueLength: MQLONG,
323 Value: PMQVOID,
324 DataLength: &mut MQLONG,
325 CompCode: &mut MQLONG,
326 Reason: &mut MQLONG,
327 ),
328>;
329pub type PMQ_INQMP_CALL = MQ_INQMP_CALL;
330pub type MQ_MHBUF_CALL = ::std::option::Option<
344 unsafe extern "C" fn(
345 Hconn: MQHCONN,
346 Hmsg: MQHMSG,
347 MsgHBufOpts: &MQMHBO,
348 Name: &MQCHARV,
349 MsgDesc: PMQVOID,
350 BufferLength: MQLONG,
351 Buffer: PMQVOID,
352 DataLength: &mut MQLONG,
353 CompCode: &mut MQLONG,
354 Reason: &mut MQLONG,
355 ),
356>;
357pub type PMQ_MHBUF_CALL = MQ_MHBUF_CALL;
358pub type MQ_OPEN_CALL = ::std::option::Option<
368 unsafe extern "C" fn(
369 Hconn: MQHCONN,
370 ObjDesc: &mut MQOD,
371 Options: MQLONG,
372 Hobj: &mut MQHOBJ,
373 CompCode: &mut MQLONG,
374 Reason: &mut MQLONG,
375 ),
376>;
377pub type PMQ_OPEN_CALL = MQ_OPEN_CALL;
378pub type MQ_PUT_CALL = ::std::option::Option<
390 unsafe extern "C" fn(
391 Hconn: MQHCONN,
392 Hobj: MQHOBJ,
393 MsgDesc: PMQVOID,
394 PutMsgOpts: &mut MQPMO,
395 BufferLength: MQLONG,
396 Buffer: PMQVOID,
397 CompCode: &mut MQLONG,
398 Reason: &mut MQLONG,
399 ),
400>;
401pub type PMQ_PUT_CALL = MQ_PUT_CALL;
402pub type MQ_PUT1_CALL = ::std::option::Option<
414 unsafe extern "C" fn(
415 Hconn: MQHCONN,
416 ObjDesc: &mut MQOD,
417 MsgDesc: PMQVOID,
418 PutMsgOpts: &mut MQPMO,
419 BufferLength: MQLONG,
420 Buffer: PMQVOID,
421 CompCode: &mut MQLONG,
422 Reason: &mut MQLONG,
423 ),
424>;
425pub type PMQ_PUT1_CALL = MQ_PUT1_CALL;
426pub type MQ_SET_CALL = ::std::option::Option<
440 unsafe extern "C" fn(
441 Hconn: MQHCONN,
442 Hobj: MQHOBJ,
443 SelectorCount: MQLONG,
444 Selectors: PMQLONG,
445 IntAttrCount: MQLONG,
446 IntAttrs: PMQLONG,
447 CharAttrLength: MQLONG,
448 CharAttrs: PMQCHAR,
449 CompCode: &mut MQLONG,
450 Reason: &mut MQLONG,
451 ),
452>;
453pub type PMQ_SET_CALL = MQ_SET_CALL;
454pub type MQ_SETMP_CALL = ::std::option::Option<
468 unsafe extern "C" fn(
469 Hconn: MQHCONN,
470 Hmsg: MQHMSG,
471 SetPropOpts: &MQSMPO,
472 Name: &MQCHARV,
473 PropDesc: &mut MQPD,
474 Type: MQLONG,
475 ValueLength: MQLONG,
476 Value: PMQVOID,
477 CompCode: &mut MQLONG,
478 Reason: &mut MQLONG,
479 ),
480>;
481pub type PMQ_SETMP_CALL = MQ_SETMP_CALL;
482pub type MQ_STAT_CALL = ::std::option::Option<
491 unsafe extern "C" fn(
492 Hconn: MQHCONN,
493 Type: MQLONG,
494 Status: &mut MQSTS,
495 CompCode: &mut MQLONG,
496 Reason: &mut MQLONG,
497 ),
498>;
499pub type PMQ_STAT_CALL = MQ_STAT_CALL;
500pub type MQ_SUB_CALL = ::std::option::Option<
510 unsafe extern "C" fn(
511 Hconn: MQHCONN,
512 SubDesc: &mut MQSD,
513 Hobj: Option<&mut MQHOBJ>,
514 Hsub: &mut MQHOBJ,
515 CompCode: &mut MQLONG,
516 Reason: &mut MQLONG,
517 ),
518>;
519pub type PMQ_SUB_CALL = MQ_SUB_CALL;
520pub type MQ_SUBRQ_CALL = ::std::option::Option<
530 unsafe extern "C" fn(
531 Hconn: MQHCONN,
532 Hsub: MQHOBJ,
533 Action: MQLONG,
534 SubRqOpts: Option<&mut MQSRO>,
535 CompCode: &mut MQLONG,
536 Reason: &mut MQLONG,
537 ),
538>;
539pub type PMQ_SUBRQ_CALL = MQ_SUBRQ_CALL;
540pub type PMQACH = *mut MQACH;
541pub type PMQAXC = *mut MQAXC;
542pub type PMQAXP = *mut MQAXP;
543pub type PMQCXP = *mut MQCXP;
544pub type PMQDXP = *mut MQDXP;
545pub type PMQNXP = *mut MQNXP;
546pub type PMQPBC = *mut MQPBC;
547pub type PMQPSXP = *mut MQPSXP;
548pub type PMQSBC = *mut MQSBC;
549pub type PMQWCR = *mut MQWCR;
550pub type PMQWDR = *mut MQWDR;
551pub type PPMQWDR = *mut PMQWDR;
552pub type PMQWDR1 = *mut MQWDR1;
553pub type PMQWDR2 = *mut MQWDR2;
554pub type PMQWQR = *mut MQWQR;
555pub type PPMQWQR = *mut PMQWQR;
556pub type PMQWQR1 = *mut MQWQR1;
557pub type PMQWQR2 = *mut MQWQR2;
558pub type PMQWQR3 = *mut MQWQR3;
559pub type PMQWQR4 = *mut MQWQR4;
560pub type PMQWXP = *mut MQWXP;
561pub type PMQWXP1 = *mut MQWXP1;
562pub type PMQWXP2 = *mut MQWXP2;
563pub type PMQWXP3 = *mut MQWXP3;
564pub type PMQWXP4 = *mut MQWXP4;
565pub type PMQXEPO = *mut MQXEPO;
566pub type MQ_XEP_CALL = ::std::option::Option<
577 unsafe extern "C" fn(
578 Hconfig: MQHCONFIG,
579 ExitReason: MQLONG,
580 Function: MQLONG,
581 EntryPoint: PMQFUNC,
582 ExitOpts: Option<&MQXEPO>,
583 CompCode: &mut MQLONG,
584 Reason: &mut MQLONG,
585 ),
586>;
587pub type PMQ_XEP_CALL = MQ_XEP_CALL;
588pub type MQ_BACK_EXIT = ::std::option::Option<
597 unsafe extern "C" fn(
598 ExitParms: &mut MQAXP,
599 ExitContext: &mut MQAXC,
600 Hconn: &mut MQHCONN,
601 CompCode: &mut MQLONG,
602 Reason: &mut MQLONG,
603 ),
604>;
605pub type PMQ_BACK_EXIT = MQ_BACK_EXIT;
606pub type MQ_BEGIN_EXIT = ::std::option::Option<
616 unsafe extern "C" fn(
617 ExitParms: &mut MQAXP,
618 ExitContext: &mut MQAXC,
619 Hconn: &mut MQHCONN,
620 BeginOptions: PPMQBO,
621 CompCode: &mut MQLONG,
622 Reason: &mut MQLONG,
623 ),
624>;
625pub type PMQ_BEGIN_EXIT = MQ_BEGIN_EXIT;
626pub type MQ_CALLBACK_EXIT = ::std::option::Option<
637 unsafe extern "C" fn(
638 ExitParms: &mut MQAXP,
639 ExitContext: &mut MQAXC,
640 Hconn: &mut MQHCONN,
641 MsgDesc: PPMQMD,
642 GetMsgOpts: PPMQGMO,
643 Buffer: PPMQVOID,
644 MQCBContext: PPMQCBC,
645 ),
646>;
647pub type PMQ_CALLBACK_EXIT = MQ_CALLBACK_EXIT;
648pub type MQ_CB_EXIT = ::std::option::Option<
662 unsafe extern "C" fn(
663 ExitParms: &mut MQAXP,
664 ExitContext: &mut MQAXC,
665 Hconn: &mut MQHCONN,
666 Operation: PMQLONG,
667 CallbackDesc: PPMQCBD,
668 Hobj: &mut MQHOBJ,
669 MsgDesc: PPMQMD,
670 GetMsgOpts: PPMQGMO,
671 CompCode: &mut MQLONG,
672 Reason: &mut MQLONG,
673 ),
674>;
675pub type PMQ_CB_EXIT = MQ_CB_EXIT;
676pub type MQ_CLOSE_EXIT = ::std::option::Option<
687 unsafe extern "C" fn(
688 ExitParms: &mut MQAXP,
689 ExitContext: &mut MQAXC,
690 Hconn: &mut MQHCONN,
691 Hobj: PPMQHOBJ,
692 Options: PMQLONG,
693 CompCode: &mut MQLONG,
694 Reason: &mut MQLONG,
695 ),
696>;
697pub type PMQ_CLOSE_EXIT = MQ_CLOSE_EXIT;
698pub type MQ_CMIT_EXIT = ::std::option::Option<
707 unsafe extern "C" fn(
708 ExitParms: &mut MQAXP,
709 ExitContext: &mut MQAXC,
710 Hconn: &mut MQHCONN,
711 CompCode: &mut MQLONG,
712 Reason: &mut MQLONG,
713 ),
714>;
715pub type PMQ_CMIT_EXIT = MQ_CMIT_EXIT;
716pub type MQ_CONNX_EXIT = ::std::option::Option<
727 unsafe extern "C" fn(
728 ExitParms: &mut MQAXP,
729 ExitContext: &mut MQAXC,
730 QMgrName: PMQCHAR,
731 ConnectOpts: PPMQCNO,
732 Hconn: PPMQHCONN,
733 CompCode: &mut MQLONG,
734 Reason: &mut MQLONG,
735 ),
736>;
737pub type PMQ_CONNX_EXIT = MQ_CONNX_EXIT;
738pub type MQ_CTL_EXIT = ::std::option::Option<
749 unsafe extern "C" fn(
750 ExitParms: &mut MQAXP,
751 ExitContext: &mut MQAXC,
752 Hconn: &mut MQHCONN,
753 Operation: PMQLONG,
754 CtlOpts: PPMQCTLO,
755 CompCode: &mut MQLONG,
756 Reason: &mut MQLONG,
757 ),
758>;
759pub type PMQ_CTL_EXIT = MQ_CTL_EXIT;
760pub type MQ_DISC_EXIT = ::std::option::Option<
769 unsafe extern "C" fn(
770 ExitParms: &mut MQAXP,
771 ExitContext: &mut MQAXC,
772 Hconn: PPMQHCONN,
773 CompCode: &mut MQLONG,
774 Reason: &mut MQLONG,
775 ),
776>;
777pub type PMQ_DISC_EXIT = MQ_DISC_EXIT;
778pub type MQ_GET_EXIT = ::std::option::Option<
793 unsafe extern "C" fn(
794 ExitParms: &mut MQAXP,
795 ExitContext: &mut MQAXC,
796 Hconn: &mut MQHCONN,
797 Hobj: &mut MQHOBJ,
798 MsgDesc: PPMQMD,
799 GetMsgOpts: PPMQGMO,
800 BufferLength: PMQLONG,
801 Buffer: PPMQVOID,
802 DataLength: PPMQLONG,
803 CompCode: &mut MQLONG,
804 Reason: &mut MQLONG,
805 ),
806>;
807pub type PMQ_GET_EXIT = MQ_GET_EXIT;
808pub type MQ_INIT_EXIT = ::std::option::Option<
816 unsafe extern "C" fn(
817 ExitParms: &mut MQAXP,
818 ExitContext: &mut MQAXC,
819 CompCode: &mut MQLONG,
820 Reason: &mut MQLONG,
821 ),
822>;
823pub type PMQ_INIT_EXIT = MQ_INIT_EXIT;
824pub type MQ_INQ_EXIT = ::std::option::Option<
840 unsafe extern "C" fn(
841 ExitParms: &mut MQAXP,
842 ExitContext: &mut MQAXC,
843 Hconn: &mut MQHCONN,
844 Hobj: &mut MQHOBJ,
845 SelectorCount: PMQLONG,
846 Selectors: PPMQLONG,
847 IntAttrCount: PMQLONG,
848 IntAttrs: PPMQLONG,
849 CharAttrLength: PMQLONG,
850 CharAttrs: PPMQCHAR,
851 CompCode: &mut MQLONG,
852 Reason: &mut MQLONG,
853 ),
854>;
855pub type PMQ_INQ_EXIT = MQ_INQ_EXIT;
856pub type MQ_OPEN_EXIT = ::std::option::Option<
868 unsafe extern "C" fn(
869 ExitParms: &mut MQAXP,
870 ExitContext: &mut MQAXC,
871 Hconn: &mut MQHCONN,
872 ObjDesc: PPMQOD,
873 Options: PMQLONG,
874 Hobj: PPMQHOBJ,
875 CompCode: &mut MQLONG,
876 Reason: &mut MQLONG,
877 ),
878>;
879pub type PMQ_OPEN_EXIT = MQ_OPEN_EXIT;
880pub type MQ_PUT_EXIT = ::std::option::Option<
894 unsafe extern "C" fn(
895 ExitParms: &mut MQAXP,
896 ExitContext: &mut MQAXC,
897 Hconn: &mut MQHCONN,
898 Hobj: &mut MQHOBJ,
899 MsgDesc: PPMQMD,
900 PutMsgOpts: PPMQPMO,
901 BufferLength: PMQLONG,
902 Buffer: PPMQVOID,
903 CompCode: &mut MQLONG,
904 Reason: &mut MQLONG,
905 ),
906>;
907pub type PMQ_PUT_EXIT = MQ_PUT_EXIT;
908pub type MQ_PUT1_EXIT = ::std::option::Option<
922 unsafe extern "C" fn(
923 ExitParms: &mut MQAXP,
924 ExitContext: &mut MQAXC,
925 Hconn: &mut MQHCONN,
926 ObjDesc: PPMQOD,
927 MsgDesc: PPMQMD,
928 PutMsgOpts: PPMQPMO,
929 BufferLength: PMQLONG,
930 Buffer: PPMQVOID,
931 CompCode: &mut MQLONG,
932 Reason: &mut MQLONG,
933 ),
934>;
935pub type PMQ_PUT1_EXIT = MQ_PUT1_EXIT;
936pub type MQ_SET_EXIT = ::std::option::Option<
952 unsafe extern "C" fn(
953 ExitParms: &mut MQAXP,
954 ExitContext: &mut MQAXC,
955 Hconn: &mut MQHCONN,
956 Hobj: &mut MQHOBJ,
957 SelectorCount: PMQLONG,
958 Selectors: PPMQLONG,
959 IntAttrCount: PMQLONG,
960 IntAttrs: PPMQLONG,
961 CharAttrLength: PMQLONG,
962 CharAttrs: PPMQCHAR,
963 CompCode: &mut MQLONG,
964 Reason: &mut MQLONG,
965 ),
966>;
967pub type PMQ_SET_EXIT = MQ_SET_EXIT;
968pub type MQ_STAT_EXIT = ::std::option::Option<
979 unsafe extern "C" fn(
980 ExitParms: &mut MQAXP,
981 ExitContext: &mut MQAXC,
982 Hconn: &mut MQHCONN,
983 Type: PMQLONG,
984 Status: PPMQSTS,
985 CompCode: &mut MQLONG,
986 Reason: &mut MQLONG,
987 ),
988>;
989pub type PMQ_STAT_EXIT = MQ_STAT_EXIT;
990pub type MQ_SUBRQ_EXIT = ::std::option::Option<
1002 unsafe extern "C" fn(
1003 ExitParms: &mut MQAXP,
1004 ExitContext: &mut MQAXC,
1005 Hconn: &mut MQHCONN,
1006 Hsub: PMQHOBJ,
1007 Action: PMQLONG,
1008 SubRqOpts: PPMQSRO,
1009 CompCode: &mut MQLONG,
1010 Reason: &mut MQLONG,
1011 ),
1012>;
1013pub type PMQ_SUBRQ_EXIT = MQ_SUBRQ_EXIT;
1014pub type MQ_SUB_EXIT = ::std::option::Option<
1026 unsafe extern "C" fn(
1027 ExitParms: &mut MQAXP,
1028 ExitContext: &mut MQAXC,
1029 Hconn: &mut MQHCONN,
1030 SubDesc: PPMQSD,
1031 Hobj: PPMQHOBJ,
1032 Hsub: PPMQHOBJ,
1033 CompCode: &mut MQLONG,
1034 Reason: &mut MQLONG,
1035 ),
1036>;
1037pub type PMQ_SUB_EXIT = MQ_SUB_EXIT;
1038pub type MQ_TERM_EXIT = ::std::option::Option<
1046 unsafe extern "C" fn(
1047 ExitParms: &mut MQAXP,
1048 ExitContext: &mut MQAXC,
1049 CompCode: &mut MQLONG,
1050 Reason: &mut MQLONG,
1051 ),
1052>;
1053pub type PMQ_TERM_EXIT = MQ_TERM_EXIT;
1054pub type MQ_CHANNEL_EXIT = ::std::option::Option<
1065 unsafe extern "C" fn(
1066 ChannelExitParms: PMQVOID,
1067 ChannelDefinition: PMQVOID,
1068 DataLength: &mut MQLONG,
1069 AgentBufferLength: PMQLONG,
1070 AgentBuffer: PMQVOID,
1071 ExitBufferLength: PMQLONG,
1072 ExitBufferAddr: PMQPTR,
1073 ),
1074>;
1075pub type PMQ_CHANNEL_EXIT = MQ_CHANNEL_EXIT;
1076pub type MQ_CHANNEL_AUTO_DEF_EXIT = ::std::option::Option<
1082 unsafe extern "C" fn(ChannelExitParms: PMQVOID, ChannelDefinition: PMQVOID),
1083>;
1084pub type PMQ_CHANNEL_AUTO_DEF_EXIT = MQ_CHANNEL_AUTO_DEF_EXIT;
1085pub type MQ_CLUSTER_WORKLOAD_EXIT = ::std::option::Option<
1090 unsafe extern "C" fn(ExitParms: &mut MQWXP),
1091>;
1092pub type PMQ_CLUSTER_WORKLOAD_EXIT = MQ_CLUSTER_WORKLOAD_EXIT;
1093pub type MQ_DATA_CONV_EXIT = ::std::option::Option<
1103 unsafe extern "C" fn(
1104 DataConvExitParms: PMQDXP,
1105 MsgDesc: PMQMD,
1106 InBufferLength: MQLONG,
1107 InBuffer: PMQVOID,
1108 OutBufferLength: MQLONG,
1109 OutBuffer: PMQVOID,
1110 ),
1111>;
1112pub type PMQ_DATA_CONV_EXIT = MQ_DATA_CONV_EXIT;
1113pub type MQ_PUBLISH_EXIT = ::std::option::Option<
1120 unsafe extern "C" fn(ExitParms: &mut MQPSXP, PubContext: PMQPBC, SubContext: PMQSBC),
1121>;
1122pub type PMQ_PUBLISH_EXIT = MQ_PUBLISH_EXIT;
1123pub type MQ_TRANSPORT_EXIT = ::std::option::Option<
1130 unsafe extern "C" fn(
1131 ExitParms: PMQVOID,
1132 DestAddressLength: MQLONG,
1133 DestAddress: PMQCHAR,
1134 ),
1135>;
1136pub type PMQ_TRANSPORT_EXIT = MQ_TRANSPORT_EXIT;
1137pub type MQ_PRECONNECT_EXIT = ::std::option::Option<
1146 unsafe extern "C" fn(
1147 ExitParms: &mut MQNXP,
1148 QMgrName: PMQCHAR,
1149 ConnectOpts: PPMQCNO,
1150 CompCode: &mut MQLONG,
1151 Reason: &mut MQLONG,
1152 ),
1153>;
1154pub type PMQ_PRECONNECT_EXIT = MQ_PRECONNECT_EXIT;
1155pub type MQ_XCLWLN_CALL = ::std::option::Option<
1165 unsafe extern "C" fn(
1166 ExitParms: &mut MQWXP,
1167 CurrentRecord: MQPTR,
1168 NextOffset: MQLONG,
1169 NextRecord: &mut MQPTR,
1170 CompCode: &mut MQLONG,
1171 Reason: &mut MQLONG,
1172 ),
1173>;
1174pub type PMQ_XCLWLN_CALL = MQ_XCLWLN_CALL;
1175pub type MQ_XCNVC_CALL = ::std::option::Option<
1190 unsafe extern "C" fn(
1191 Hconn: MQHCONN,
1192 Options: MQLONG,
1193 SourceCCSID: MQLONG,
1194 SourceLength: MQLONG,
1195 SourceBuffer: PMQCHAR,
1196 TargetCCSID: MQLONG,
1197 TargetLength: MQLONG,
1198 TargetBuffer: PMQCHAR,
1199 DataLength: &mut MQLONG,
1200 CompCode: &mut MQLONG,
1201 Reason: &mut MQLONG,
1202 ),
1203>;
1204pub type PMQ_XCNVC_CALL = MQ_XCNVC_CALL;
1205pub type MQ_XDX_CALL = ::std::option::Option<
1215 unsafe extern "C" fn(
1216 DataConvExitParms: PMQDXP,
1217 MsgDesc: PMQMD,
1218 InBufferLength: MQLONG,
1219 InBuffer: PMQVOID,
1220 OutBufferLength: MQLONG,
1221 OutBuffer: PMQVOID,
1222 ),
1223>;
1224pub type PMQ_XDX_CALL = MQ_XDX_CALL;
1225pub type PMQZED = *mut MQZED;
1226pub type PMQZAC = *mut MQZAC;
1227pub type PMQZAD = *mut MQZAD;
1228pub type PMQZFP = *mut MQZFP;
1229pub type PMQZIC = *mut MQZIC;
1230pub type MQ_ZEP_CALL = ::std::option::Option<
1239 unsafe extern "C" fn(
1240 Hconfig: MQHCONFIG,
1241 Function: MQLONG,
1242 EntryPoint: PMQFUNC,
1243 CompCode: &mut MQLONG,
1244 Reason: &mut MQLONG,
1245 ),
1246>;
1247pub type PMQ_ZEP_CALL = MQ_ZEP_CALL;
1248pub type MQZ_INIT_AUTHORITY = ::std::option::Option<
1260 unsafe extern "C" fn(
1261 Hconfig: MQHCONFIG,
1262 Options: MQLONG,
1263 QMgrName: PMQCHAR,
1264 ComponentDataLength: MQLONG,
1265 ComponentData: PMQBYTE,
1266 Version: PMQLONG,
1267 CompCode: &mut MQLONG,
1268 Reason: &mut MQLONG,
1269 ),
1270>;
1271pub type PMQZ_INIT_AUTHORITY = MQZ_INIT_AUTHORITY;
1272pub type MQZ_TERM_AUTHORITY = ::std::option::Option<
1282 unsafe extern "C" fn(
1283 Hconfig: MQHCONFIG,
1284 Options: MQLONG,
1285 QMgrName: PMQCHAR,
1286 ComponentData: PMQBYTE,
1287 CompCode: &mut MQLONG,
1288 Reason: &mut MQLONG,
1289 ),
1290>;
1291pub type PMQZ_TERM_AUTHORITY = MQZ_TERM_AUTHORITY;
1292pub type MQZ_DELETE_AUTHORITY = ::std::option::Option<
1303 unsafe extern "C" fn(
1304 QMgrName: PMQCHAR,
1305 ObjectName: PMQCHAR,
1306 ObjectType: MQLONG,
1307 ComponentData: PMQBYTE,
1308 Continuation: PMQLONG,
1309 CompCode: &mut MQLONG,
1310 Reason: &mut MQLONG,
1311 ),
1312>;
1313pub type PMQZ_DELETE_AUTHORITY = MQZ_DELETE_AUTHORITY;
1314pub type MQZ_GET_AUTHORITY = ::std::option::Option<
1328 unsafe extern "C" fn(
1329 QMgrName: PMQCHAR,
1330 EntityName: PMQCHAR,
1331 EntityType: MQLONG,
1332 ObjectName: PMQCHAR,
1333 ObjectType: MQLONG,
1334 Authority: PMQLONG,
1335 ComponentData: PMQBYTE,
1336 Continuation: PMQLONG,
1337 CompCode: &mut MQLONG,
1338 Reason: &mut MQLONG,
1339 ),
1340>;
1341pub type PMQZ_GET_AUTHORITY = MQZ_GET_AUTHORITY;
1342pub type MQZ_GET_AUTHORITY_2 = ::std::option::Option<
1356 unsafe extern "C" fn(
1357 QMgrName: PMQCHAR,
1358 EntityData: PMQZED,
1359 EntityType: MQLONG,
1360 ObjectName: PMQCHAR,
1361 ObjectType: MQLONG,
1362 Authority: PMQLONG,
1363 ComponentData: PMQBYTE,
1364 Continuation: PMQLONG,
1365 CompCode: &mut MQLONG,
1366 Reason: &mut MQLONG,
1367 ),
1368>;
1369pub type PMQZ_GET_AUTHORITY_2 = MQZ_GET_AUTHORITY_2;
1370pub type MQZ_GET_EXPLICIT_AUTHORITY = ::std::option::Option<
1384 unsafe extern "C" fn(
1385 QMgrName: PMQCHAR,
1386 EntityName: PMQCHAR,
1387 EntityType: MQLONG,
1388 ObjectName: PMQCHAR,
1389 ObjectType: MQLONG,
1390 Authority: PMQLONG,
1391 ComponentData: PMQBYTE,
1392 Continuation: PMQLONG,
1393 CompCode: &mut MQLONG,
1394 Reason: &mut MQLONG,
1395 ),
1396>;
1397pub type PMQZ_GET_EXPLICIT_AUTHORITY = MQZ_GET_EXPLICIT_AUTHORITY;
1398pub type MQZ_GET_EXPLICIT_AUTHORITY_2 = ::std::option::Option<
1412 unsafe extern "C" fn(
1413 QMgrName: PMQCHAR,
1414 EntityData: PMQZED,
1415 EntityType: MQLONG,
1416 ObjectName: PMQCHAR,
1417 ObjectType: MQLONG,
1418 Authority: PMQLONG,
1419 ComponentData: PMQBYTE,
1420 Continuation: PMQLONG,
1421 CompCode: &mut MQLONG,
1422 Reason: &mut MQLONG,
1423 ),
1424>;
1425pub type PMQZ_GET_EXPLICIT_AUTHORITY_2 = MQZ_GET_EXPLICIT_AUTHORITY_2;
1426pub type MQZ_ENUMERATE_AUTHORITY_DATA = ::std::option::Option<
1440 unsafe extern "C" fn(
1441 QMgrName: PMQCHAR,
1442 StartEnumeration: MQLONG,
1443 Filter: PMQZAD,
1444 AuthorityBufferLength: MQLONG,
1445 AuthorityBuffer: PMQZAD,
1446 AuthorityDataLength: PMQLONG,
1447 ComponentData: PMQBYTE,
1448 Continuation: PMQLONG,
1449 CompCode: &mut MQLONG,
1450 Reason: &mut MQLONG,
1451 ),
1452>;
1453pub type PMQZ_ENUMERATE_AUTHORITY_DATA = MQZ_ENUMERATE_AUTHORITY_DATA;
1454pub type MQZ_SET_AUTHORITY = ::std::option::Option<
1468 unsafe extern "C" fn(
1469 QMgrName: PMQCHAR,
1470 EntityName: PMQCHAR,
1471 EntityType: MQLONG,
1472 ObjectName: PMQCHAR,
1473 ObjectType: MQLONG,
1474 Authority: MQLONG,
1475 ComponentData: PMQBYTE,
1476 Continuation: PMQLONG,
1477 CompCode: &mut MQLONG,
1478 Reason: &mut MQLONG,
1479 ),
1480>;
1481pub type PMQZ_SET_AUTHORITY = MQZ_SET_AUTHORITY;
1482pub type MQZ_SET_AUTHORITY_2 = ::std::option::Option<
1496 unsafe extern "C" fn(
1497 QMgrName: PMQCHAR,
1498 EntityData: PMQZED,
1499 EntityType: MQLONG,
1500 ObjectName: PMQCHAR,
1501 ObjectType: MQLONG,
1502 Authority: MQLONG,
1503 ComponentData: PMQBYTE,
1504 Continuation: PMQLONG,
1505 CompCode: &mut MQLONG,
1506 Reason: &mut MQLONG,
1507 ),
1508>;
1509pub type PMQZ_SET_AUTHORITY_2 = MQZ_SET_AUTHORITY_2;
1510pub type MQZ_COPY_ALL_AUTHORITY = ::std::option::Option<
1522 unsafe extern "C" fn(
1523 QMgrName: PMQCHAR,
1524 RefObjectName: PMQCHAR,
1525 ObjectName: PMQCHAR,
1526 ObjectType: MQLONG,
1527 ComponentData: PMQBYTE,
1528 Continuation: PMQLONG,
1529 CompCode: &mut MQLONG,
1530 Reason: &mut MQLONG,
1531 ),
1532>;
1533pub type PMQZ_COPY_ALL_AUTHORITY = MQZ_COPY_ALL_AUTHORITY;
1534pub type MQZ_CHECK_AUTHORITY = ::std::option::Option<
1548 unsafe extern "C" fn(
1549 QMgrName: PMQCHAR,
1550 EntityName: PMQCHAR,
1551 EntityType: MQLONG,
1552 ObjectName: PMQCHAR,
1553 ObjectType: MQLONG,
1554 Authority: MQLONG,
1555 ComponentData: PMQBYTE,
1556 Continuation: PMQLONG,
1557 CompCode: &mut MQLONG,
1558 Reason: &mut MQLONG,
1559 ),
1560>;
1561pub type PMQZ_CHECK_AUTHORITY = MQZ_CHECK_AUTHORITY;
1562pub type MQZ_CHECK_AUTHORITY_2 = ::std::option::Option<
1576 unsafe extern "C" fn(
1577 QMgrName: PMQCHAR,
1578 EntityData: PMQZED,
1579 EntityType: MQLONG,
1580 ObjectName: PMQCHAR,
1581 ObjectType: MQLONG,
1582 Authority: MQLONG,
1583 ComponentData: PMQBYTE,
1584 Continuation: PMQLONG,
1585 CompCode: &mut MQLONG,
1586 Reason: &mut MQLONG,
1587 ),
1588>;
1589pub type PMQZ_CHECK_AUTHORITY_2 = MQZ_CHECK_AUTHORITY_2;
1590pub type MQZ_AUTHENTICATE_USER = ::std::option::Option<
1603 unsafe extern "C" fn(
1604 QMgrName: PMQCHAR,
1605 SecurityParms: PMQCSP,
1606 ApplicationContext: PMQZAC,
1607 IdentityContext: PMQZIC,
1608 CorrelationPtr: PMQPTR,
1609 ComponentData: PMQBYTE,
1610 Continuation: PMQLONG,
1611 CompCode: &mut MQLONG,
1612 Reason: &mut MQLONG,
1613 ),
1614>;
1615pub type PMQZ_AUTHENTICATE_USER = MQZ_AUTHENTICATE_USER;
1616pub type MQZ_FREE_USER = ::std::option::Option<
1626 unsafe extern "C" fn(
1627 QMgrName: PMQCHAR,
1628 FreeParms: PMQZFP,
1629 ComponentData: PMQBYTE,
1630 Continuation: PMQLONG,
1631 CompCode: &mut MQLONG,
1632 Reason: &mut MQLONG,
1633 ),
1634>;
1635pub type PMQZ_FREE_USER = MQZ_FREE_USER;
1636pub type MQZ_INQUIRE = ::std::option::Option<
1652 unsafe extern "C" fn(
1653 QMgrName: PMQCHAR,
1654 SelectorCount: MQLONG,
1655 Selectors: PMQLONG,
1656 IntAttrCount: MQLONG,
1657 IntAttrs: PMQLONG,
1658 CharAttrLength: MQLONG,
1659 CharAttrs: PMQCHAR,
1660 SelectorReturned: PMQLONG,
1661 ComponentData: PMQBYTE,
1662 Continuation: PMQLONG,
1663 CompCode: &mut MQLONG,
1664 Reason: &mut MQLONG,
1665 ),
1666>;
1667pub type PMQZ_INQUIRE = MQZ_INQUIRE;
1668pub type MQZ_REFRESH_CACHE = ::std::option::Option<
1677 unsafe extern "C" fn(
1678 QMgrName: PMQCHAR,
1679 ComponentData: PMQBYTE,
1680 Continuation: PMQLONG,
1681 CompCode: &mut MQLONG,
1682 Reason: &mut MQLONG,
1683 ),
1684>;
1685pub type PMQZ_REFRESH_CACHE = MQZ_REFRESH_CACHE;
1686pub type MQZ_CHECK_PRIVILEGED = ::std::option::Option<
1697 unsafe extern "C" fn(
1698 QMgrName: PMQCHAR,
1699 EntityData: PMQZED,
1700 EntityType: MQLONG,
1701 ComponentData: PMQBYTE,
1702 Continuation: PMQLONG,
1703 CompCode: &mut MQLONG,
1704 Reason: &mut MQLONG,
1705 ),
1706>;
1707pub type PMQZ_CHECK_PRIVILEGED = MQZ_CHECK_PRIVILEGED;
1708pub type MQZ_INIT_NAME = ::std::option::Option<
1720 unsafe extern "C" fn(
1721 Hconfig: MQHCONFIG,
1722 Options: MQLONG,
1723 QMgrName: PMQCHAR,
1724 ComponentDataLength: MQLONG,
1725 ComponentData: PMQBYTE,
1726 Version: PMQLONG,
1727 CompCode: &mut MQLONG,
1728 Reason: &mut MQLONG,
1729 ),
1730>;
1731pub type PMQZ_INIT_NAME = MQZ_INIT_NAME;
1732pub type MQZ_TERM_NAME = ::std::option::Option<
1742 unsafe extern "C" fn(
1743 Hconfig: MQHCONFIG,
1744 Options: MQLONG,
1745 QMgrName: PMQCHAR,
1746 ComponentData: PMQBYTE,
1747 CompCode: &mut MQLONG,
1748 Reason: &mut MQLONG,
1749 ),
1750>;
1751pub type PMQZ_TERM_NAME = MQZ_TERM_NAME;
1752pub type MQZ_LOOKUP_NAME = ::std::option::Option<
1763 unsafe extern "C" fn(
1764 QMgrName: PMQCHAR,
1765 QName: PMQCHAR,
1766 ResolvedQMgrName: PMQCHAR,
1767 ComponentData: PMQBYTE,
1768 Continuation: PMQLONG,
1769 CompCode: &mut MQLONG,
1770 Reason: &mut MQLONG,
1771 ),
1772>;
1773pub type PMQZ_LOOKUP_NAME = MQZ_LOOKUP_NAME;
1774pub type MQZ_INSERT_NAME = ::std::option::Option<
1785 unsafe extern "C" fn(
1786 QMgrName: PMQCHAR,
1787 QName: PMQCHAR,
1788 ResolvedQMgrName: PMQCHAR,
1789 ComponentData: PMQBYTE,
1790 Continuation: PMQLONG,
1791 CompCode: &mut MQLONG,
1792 Reason: &mut MQLONG,
1793 ),
1794>;
1795pub type PMQZ_INSERT_NAME = MQZ_INSERT_NAME;
1796pub type MQZ_DELETE_NAME = ::std::option::Option<
1806 unsafe extern "C" fn(
1807 QMgrName: PMQCHAR,
1808 QName: PMQCHAR,
1809 ComponentData: PMQBYTE,
1810 Continuation: PMQLONG,
1811 CompCode: &mut MQLONG,
1812 Reason: &mut MQLONG,
1813 ),
1814>;
1815pub type PMQZ_DELETE_NAME = MQZ_DELETE_NAME;
1816pub type MQZ_INIT_USERID = ::std::option::Option<
1828 unsafe extern "C" fn(
1829 Hconfig: MQHCONFIG,
1830 Options: MQLONG,
1831 QMgrName: PMQCHAR,
1832 ComponentDataLength: MQLONG,
1833 ComponentData: PMQBYTE,
1834 Version: PMQLONG,
1835 CompCode: &mut MQLONG,
1836 Reason: &mut MQLONG,
1837 ),
1838>;
1839pub type PMQZ_INIT_USERID = MQZ_INIT_USERID;
1840pub type MQZ_TERM_USERID = ::std::option::Option<
1850 unsafe extern "C" fn(
1851 Hconfig: MQHCONFIG,
1852 Options: MQLONG,
1853 QMgrName: PMQCHAR,
1854 ComponentData: PMQBYTE,
1855 CompCode: &mut MQLONG,
1856 Reason: &mut MQLONG,
1857 ),
1858>;
1859pub type PMQZ_TERM_USERID = MQZ_TERM_USERID;
1860pub type MQZ_FIND_USERID = ::std::option::Option<
1871 unsafe extern "C" fn(
1872 QMgrName: PMQCHAR,
1873 UserId: PMQCHAR,
1874 Password: PMQCHAR,
1875 ComponentData: PMQBYTE,
1876 Continuation: PMQLONG,
1877 CompCode: &mut MQLONG,
1878 Reason: &mut MQLONG,
1879 ),
1880>;
1881pub type PMQZ_FIND_USERID = MQZ_FIND_USERID;
1882#[repr(C)]
1883#[derive(Debug, Copy, Clone)]
1884pub struct MQACH {
1885 pub StrucId: MQCHAR4,
1887 pub Version: MQLONG,
1889 pub StrucLength: MQLONG,
1891 pub ChainAreaLength: MQLONG,
1893 pub ExitInfoName: MQCHAR48,
1895 pub NextChainAreaPtr: PMQACH,
1897}
1898#[repr(C)]
1900#[derive(Debug, Copy, Clone)]
1901pub struct MQAXC {
1902 pub StrucId: MQCHAR4,
1904 pub Version: MQLONG,
1906 pub Environment: MQLONG,
1908 pub UserId: MQCHAR12,
1910 pub SecurityId: MQBYTE40,
1912 pub ConnectionName: [MQCHAR; 264usize],
1914 pub LongMCAUserIdLength: MQLONG,
1916 pub LongRemoteUserIdLength: MQLONG,
1918 pub LongMCAUserIdPtr: MQPTR,
1920 pub LongRemoteUserIdPtr: MQPTR,
1922 pub ApplName: MQCHAR28,
1924 pub ApplType: MQLONG,
1926 pub ProcessId: MQPID,
1928 pub ThreadId: MQTID,
1930 pub ChannelName: [MQCHAR; 20usize],
1932 pub Reserved1: MQBYTE4,
1934 pub pChannelDefinition: PMQCD,
1936}
1937#[repr(C)]
1939#[derive(Debug, Copy, Clone)]
1940pub struct MQAXP {
1941 pub StrucId: MQCHAR4,
1943 pub Version: MQLONG,
1945 pub ExitId: MQLONG,
1947 pub ExitReason: MQLONG,
1949 pub ExitResponse: MQLONG,
1951 pub ExitResponse2: MQLONG,
1953 pub Feedback: MQLONG,
1955 pub APICallerType: MQLONG,
1957 pub ExitUserArea: MQBYTE16,
1959 pub ExitData: MQCHAR32,
1961 pub ExitInfoName: MQCHAR48,
1963 pub ExitPDArea: MQBYTE48,
1965 pub QMgrName: MQCHAR48,
1967 pub ExitChainAreaPtr: PMQACH,
1969 pub Hconfig: MQHCONFIG,
1971 pub Function: MQLONG,
1973 pub ExitMsgHandle: MQHMSG,
1975}
1976#[repr(C)]
1978#[derive(Debug, Copy, Clone)]
1979pub struct MQCXP {
1980 pub StrucId: MQCHAR4,
1982 pub Version: MQLONG,
1984 pub ExitId: MQLONG,
1986 pub ExitReason: MQLONG,
1988 pub ExitResponse: MQLONG,
1990 pub ExitResponse2: MQLONG,
1992 pub Feedback: MQLONG,
1994 pub MaxSegmentLength: MQLONG,
1996 pub ExitUserArea: MQBYTE16,
1998 pub ExitData: MQCHAR32,
2000 pub MsgRetryCount: MQLONG,
2002 pub MsgRetryInterval: MQLONG,
2004 pub MsgRetryReason: MQLONG,
2006 pub HeaderLength: MQLONG,
2008 pub PartnerName: MQCHAR48,
2010 pub FAPLevel: MQLONG,
2012 pub CapabilityFlags: MQLONG,
2014 pub ExitNumber: MQLONG,
2016 pub ExitSpace: MQLONG,
2018 pub SSLCertUserid: MQCHAR12,
2020 pub SSLRemCertIssNameLength: MQLONG,
2022 pub SSLRemCertIssNamePtr: MQPTR,
2024 pub SecurityParms: PMQCSP,
2026 pub CurHdrCompression: MQLONG,
2028 pub CurMsgCompression: MQLONG,
2030 pub Hconn: MQHCONN,
2032 pub SharingConversations: MQBOOL,
2034 pub MCAUserSource: MQLONG,
2036 pub pEntryPoints: PMQIEP,
2038 pub RemoteProduct: MQCHAR4,
2040 pub RemoteVersion: MQCHAR8,
2042}
2043#[repr(C)]
2045#[derive(Debug, Copy, Clone)]
2046pub struct MQDXP {
2047 pub StrucId: MQCHAR4,
2049 pub Version: MQLONG,
2051 pub ExitOptions: MQLONG,
2053 pub AppOptions: MQLONG,
2055 pub Encoding: MQLONG,
2057 pub CodedCharSetId: MQLONG,
2059 pub DataLength: MQLONG,
2061 pub CompCode: MQLONG,
2063 pub Reason: MQLONG,
2065 pub ExitResponse: MQLONG,
2067 pub Hconn: MQHCONN,
2069 pub pEntryPoints: PMQIEP,
2071}
2072#[repr(C)]
2074#[derive(Debug, Copy, Clone)]
2075pub struct MQNXP {
2076 pub StrucId: MQCHAR4,
2078 pub Version: MQLONG,
2080 pub ExitId: MQLONG,
2082 pub ExitReason: MQLONG,
2084 pub ExitResponse: MQLONG,
2086 pub ExitResponse2: MQLONG,
2088 pub Feedback: MQLONG,
2090 pub ExitDataLength: MQLONG,
2092 pub pExitDataPtr: PMQCHAR,
2094 pub pExitUserAreaPtr: MQPTR,
2096 pub ppMQCDArrayPtr: PPMQCD,
2098 pub MQCDArrayCount: MQLONG,
2100 pub MaxMQCDVersion: MQLONG,
2102 pub pEntryPoints: PMQIEP,
2104}
2105#[repr(C)]
2107#[derive(Debug, Copy, Clone)]
2108pub struct MQPBC {
2109 pub StrucId: MQCHAR4,
2111 pub Version: MQLONG,
2113 pub PubTopicString: MQCHARV,
2115 pub MsgDescPtr: PMQMD,
2117}
2118#[repr(C)]
2120#[derive(Debug, Copy, Clone)]
2121pub struct MQPSXP {
2122 pub StrucId: MQCHAR4,
2124 pub Version: MQLONG,
2126 pub ExitId: MQLONG,
2128 pub ExitReason: MQLONG,
2130 pub ExitResponse: MQLONG,
2132 pub ExitResponse2: MQLONG,
2134 pub Feedback: MQLONG,
2136 pub Hconn: MQHCONN,
2138 pub ExitUserArea: MQBYTE16,
2140 pub ExitData: MQCHAR32,
2142 pub QMgrName: MQCHAR48,
2144 pub MsgHandle: MQHMSG,
2146 pub MsgDescPtr: PMQMD,
2148 pub MsgInPtr: PMQVOID,
2150 pub MsgInLength: MQLONG,
2152 pub MsgOutPtr: PMQVOID,
2154 pub MsgOutLength: MQLONG,
2156 pub pEntryPoints: PMQIEP,
2158}
2159#[repr(C)]
2161#[derive(Debug, Copy, Clone)]
2162pub struct MQSBC {
2163 pub StrucId: MQCHAR4,
2165 pub Version: MQLONG,
2167 pub DestinationQMgrName: MQCHAR48,
2169 pub DestinationQName: MQCHAR48,
2171 pub SubType: MQLONG,
2173 pub SubOptions: MQLONG,
2175 pub ObjectName: MQCHAR48,
2177 pub ObjectString: MQCHARV,
2179 pub SubTopicString: MQCHARV,
2181 pub SubName: MQCHARV,
2183 pub SubId: MQBYTE24,
2185 pub SelectionString: MQCHARV,
2187 pub SubLevel: MQLONG,
2189 pub PSProperties: MQLONG,
2191}
2192#[repr(C)]
2194#[derive(Debug, Copy, Clone)]
2195pub struct MQWCR {
2196 pub ClusterName: MQCHAR48,
2198 pub ClusterRecOffset: MQLONG,
2200 pub ClusterFlags: MQLONG,
2202}
2203#[repr(C)]
2205#[derive(Debug, Copy, Clone)]
2206pub struct MQWDR {
2207 pub StrucId: MQCHAR4,
2209 pub Version: MQLONG,
2211 pub StrucLength: MQLONG,
2213 pub QMgrFlags: MQLONG,
2215 pub QMgrIdentifier: MQCHAR48,
2217 pub QMgrName: MQCHAR48,
2219 pub ClusterRecOffset: MQLONG,
2221 pub ChannelState: MQLONG,
2223 pub ChannelDefOffset: MQLONG,
2225 pub DestSeqNumber: MQLONG,
2227 pub DestSeqFactor: MQINT64,
2229}
2230#[repr(C)]
2232#[derive(Debug, Copy, Clone)]
2233pub struct MQWDR1 {
2234 pub StrucId: MQCHAR4,
2236 pub Version: MQLONG,
2238 pub StrucLength: MQLONG,
2240 pub QMgrFlags: MQLONG,
2242 pub QMgrIdentifier: MQCHAR48,
2244 pub QMgrName: MQCHAR48,
2246 pub ClusterRecOffset: MQLONG,
2248 pub ChannelState: MQLONG,
2250 pub ChannelDefOffset: MQLONG,
2252}
2253#[repr(C)]
2255#[derive(Debug, Copy, Clone)]
2256pub struct MQWDR2 {
2257 pub StrucId: MQCHAR4,
2259 pub Version: MQLONG,
2261 pub StrucLength: MQLONG,
2263 pub QMgrFlags: MQLONG,
2265 pub QMgrIdentifier: MQCHAR48,
2267 pub QMgrName: MQCHAR48,
2269 pub ClusterRecOffset: MQLONG,
2271 pub ChannelState: MQLONG,
2273 pub ChannelDefOffset: MQLONG,
2275 pub DestSeqNumber: MQLONG,
2277 pub DestSeqFactor: MQINT64,
2279}
2280#[repr(C)]
2282#[derive(Debug, Copy, Clone)]
2283pub struct MQWQR {
2284 pub StrucId: MQCHAR4,
2286 pub Version: MQLONG,
2288 pub StrucLength: MQLONG,
2290 pub QFlags: MQLONG,
2292 pub QName: MQCHAR48,
2294 pub QMgrIdentifier: MQCHAR48,
2296 pub ClusterRecOffset: MQLONG,
2298 pub QType: MQLONG,
2300 pub QDesc: MQCHAR64,
2302 pub DefBind: MQLONG,
2304 pub DefPersistence: MQLONG,
2306 pub DefPriority: MQLONG,
2308 pub InhibitPut: MQLONG,
2310 pub CLWLQueuePriority: MQLONG,
2312 pub CLWLQueueRank: MQLONG,
2314 pub DefPutResponse: MQLONG,
2316 pub CapExpiry: MQLONG,
2318}
2319#[repr(C)]
2321#[derive(Debug, Copy, Clone)]
2322pub struct MQWQR1 {
2323 pub StrucId: MQCHAR4,
2325 pub Version: MQLONG,
2327 pub StrucLength: MQLONG,
2329 pub QFlags: MQLONG,
2331 pub QName: MQCHAR48,
2333 pub QMgrIdentifier: MQCHAR48,
2335 pub ClusterRecOffset: MQLONG,
2337 pub QType: MQLONG,
2339 pub QDesc: MQCHAR64,
2341 pub DefBind: MQLONG,
2343 pub DefPersistence: MQLONG,
2345 pub DefPriority: MQLONG,
2347 pub InhibitPut: MQLONG,
2349}
2350#[repr(C)]
2352#[derive(Debug, Copy, Clone)]
2353pub struct MQWQR2 {
2354 pub StrucId: MQCHAR4,
2356 pub Version: MQLONG,
2358 pub StrucLength: MQLONG,
2360 pub QFlags: MQLONG,
2362 pub QName: MQCHAR48,
2364 pub QMgrIdentifier: MQCHAR48,
2366 pub ClusterRecOffset: MQLONG,
2368 pub QType: MQLONG,
2370 pub QDesc: MQCHAR64,
2372 pub DefBind: MQLONG,
2374 pub DefPersistence: MQLONG,
2376 pub DefPriority: MQLONG,
2378 pub InhibitPut: MQLONG,
2380 pub CLWLQueuePriority: MQLONG,
2382 pub CLWLQueueRank: MQLONG,
2384}
2385#[repr(C)]
2387#[derive(Debug, Copy, Clone)]
2388pub struct MQWQR3 {
2389 pub StrucId: MQCHAR4,
2391 pub Version: MQLONG,
2393 pub StrucLength: MQLONG,
2395 pub QFlags: MQLONG,
2397 pub QName: MQCHAR48,
2399 pub QMgrIdentifier: MQCHAR48,
2401 pub ClusterRecOffset: MQLONG,
2403 pub QType: MQLONG,
2405 pub QDesc: MQCHAR64,
2407 pub DefBind: MQLONG,
2409 pub DefPersistence: MQLONG,
2411 pub DefPriority: MQLONG,
2413 pub InhibitPut: MQLONG,
2415 pub CLWLQueuePriority: MQLONG,
2417 pub CLWLQueueRank: MQLONG,
2419 pub DefPutResponse: MQLONG,
2421}
2422#[repr(C)]
2424#[derive(Debug, Copy, Clone)]
2425pub struct MQWQR4 {
2426 pub StrucId: MQCHAR4,
2428 pub Version: MQLONG,
2430 pub StrucLength: MQLONG,
2432 pub QFlags: MQLONG,
2434 pub QName: MQCHAR48,
2436 pub QMgrIdentifier: MQCHAR48,
2438 pub ClusterRecOffset: MQLONG,
2440 pub QType: MQLONG,
2442 pub QDesc: MQCHAR64,
2444 pub DefBind: MQLONG,
2446 pub DefPersistence: MQLONG,
2448 pub DefPriority: MQLONG,
2450 pub InhibitPut: MQLONG,
2452 pub CLWLQueuePriority: MQLONG,
2454 pub CLWLQueueRank: MQLONG,
2456 pub DefPutResponse: MQLONG,
2458 pub CapExpiry: MQLONG,
2460}
2461#[repr(C)]
2463#[derive(Debug, Copy, Clone)]
2464pub struct MQWXP {
2465 pub StrucId: MQCHAR4,
2467 pub Version: MQLONG,
2469 pub ExitId: MQLONG,
2471 pub ExitReason: MQLONG,
2473 pub ExitResponse: MQLONG,
2475 pub ExitResponse2: MQLONG,
2477 pub Feedback: MQLONG,
2479 pub Flags: MQLONG,
2481 pub ExitUserArea: MQBYTE16,
2483 pub ExitData: MQCHAR32,
2485 pub MsgDescPtr: PMQMD,
2487 pub MsgBufferPtr: PMQVOID,
2489 pub MsgBufferLength: MQLONG,
2491 pub MsgLength: MQLONG,
2493 pub QName: MQCHAR48,
2495 pub QMgrName: MQCHAR48,
2497 pub DestinationCount: MQLONG,
2499 pub DestinationChosen: MQLONG,
2501 pub DestinationArrayPtr: PPMQWDR,
2503 pub QArrayPtr: PPMQWQR,
2505 pub CacheContext: MQPTR,
2507 pub CacheType: MQLONG,
2509 pub CLWLMRUChannels: MQLONG,
2511 pub pEntryPoints: PMQIEP,
2513}
2514#[repr(C)]
2516#[derive(Debug, Copy, Clone)]
2517pub struct MQWXP1 {
2518 pub StrucId: MQCHAR4,
2520 pub Version: MQLONG,
2522 pub ExitId: MQLONG,
2524 pub ExitReason: MQLONG,
2526 pub ExitResponse: MQLONG,
2528 pub ExitResponse2: MQLONG,
2530 pub Feedback: MQLONG,
2532 pub Flags: MQLONG,
2534 pub ExitUserArea: MQBYTE16,
2536 pub ExitData: MQCHAR32,
2538 pub MsgDescPtr: PMQMD,
2540 pub MsgBufferPtr: PMQVOID,
2542 pub MsgBufferLength: MQLONG,
2544 pub MsgLength: MQLONG,
2546 pub QName: MQCHAR48,
2548 pub QMgrName: MQCHAR48,
2550 pub DestinationCount: MQLONG,
2552 pub DestinationChosen: MQLONG,
2554 pub DestinationArrayPtr: PPMQWDR,
2556 pub QArrayPtr: PPMQWQR,
2558}
2559#[repr(C)]
2561#[derive(Debug, Copy, Clone)]
2562pub struct MQWXP2 {
2563 pub StrucId: MQCHAR4,
2565 pub Version: MQLONG,
2567 pub ExitId: MQLONG,
2569 pub ExitReason: MQLONG,
2571 pub ExitResponse: MQLONG,
2573 pub ExitResponse2: MQLONG,
2575 pub Feedback: MQLONG,
2577 pub Flags: MQLONG,
2579 pub ExitUserArea: MQBYTE16,
2581 pub ExitData: MQCHAR32,
2583 pub MsgDescPtr: PMQMD,
2585 pub MsgBufferPtr: PMQVOID,
2587 pub MsgBufferLength: MQLONG,
2589 pub MsgLength: MQLONG,
2591 pub QName: MQCHAR48,
2593 pub QMgrName: MQCHAR48,
2595 pub DestinationCount: MQLONG,
2597 pub DestinationChosen: MQLONG,
2599 pub DestinationArrayPtr: PPMQWDR,
2601 pub QArrayPtr: PPMQWQR,
2603 pub CacheContext: MQPTR,
2605 pub CacheType: MQLONG,
2607}
2608#[repr(C)]
2610#[derive(Debug, Copy, Clone)]
2611pub struct MQWXP3 {
2612 pub StrucId: MQCHAR4,
2614 pub Version: MQLONG,
2616 pub ExitId: MQLONG,
2618 pub ExitReason: MQLONG,
2620 pub ExitResponse: MQLONG,
2622 pub ExitResponse2: MQLONG,
2624 pub Feedback: MQLONG,
2626 pub Flags: MQLONG,
2628 pub ExitUserArea: MQBYTE16,
2630 pub ExitData: MQCHAR32,
2632 pub MsgDescPtr: PMQMD,
2634 pub MsgBufferPtr: PMQVOID,
2636 pub MsgBufferLength: MQLONG,
2638 pub MsgLength: MQLONG,
2640 pub QName: MQCHAR48,
2642 pub QMgrName: MQCHAR48,
2644 pub DestinationCount: MQLONG,
2646 pub DestinationChosen: MQLONG,
2648 pub DestinationArrayPtr: PPMQWDR,
2650 pub QArrayPtr: PPMQWQR,
2652 pub CacheContext: MQPTR,
2654 pub CacheType: MQLONG,
2656 pub CLWLMRUChannels: MQLONG,
2658}
2659#[repr(C)]
2661#[derive(Debug, Copy, Clone)]
2662pub struct MQWXP4 {
2663 pub StrucId: MQCHAR4,
2665 pub Version: MQLONG,
2667 pub ExitId: MQLONG,
2669 pub ExitReason: MQLONG,
2671 pub ExitResponse: MQLONG,
2673 pub ExitResponse2: MQLONG,
2675 pub Feedback: MQLONG,
2677 pub Flags: MQLONG,
2679 pub ExitUserArea: MQBYTE16,
2681 pub ExitData: MQCHAR32,
2683 pub MsgDescPtr: PMQMD,
2685 pub MsgBufferPtr: PMQVOID,
2687 pub MsgBufferLength: MQLONG,
2689 pub MsgLength: MQLONG,
2691 pub QName: MQCHAR48,
2693 pub QMgrName: MQCHAR48,
2695 pub DestinationCount: MQLONG,
2697 pub DestinationChosen: MQLONG,
2699 pub DestinationArrayPtr: PPMQWDR,
2701 pub QArrayPtr: PPMQWQR,
2703 pub CacheContext: MQPTR,
2705 pub CacheType: MQLONG,
2707 pub CLWLMRUChannels: MQLONG,
2709 pub pEntryPoints: PMQIEP,
2711}
2712#[repr(C)]
2714#[derive(Debug, Copy, Clone)]
2715pub struct MQXEPO {
2716 pub StrucId: MQCHAR4,
2718 pub Version: MQLONG,
2720 pub Options: MQLONG,
2722 pub ExitProperties: MQCHARV,
2724}
2725#[repr(C)]
2727#[derive(Debug, Copy, Clone)]
2728pub struct MQZED {
2729 pub StrucId: MQCHAR4,
2731 pub Version: MQLONG,
2733 pub EntityNamePtr: PMQCHAR,
2735 pub EntityDomainPtr: PMQCHAR,
2737 pub SecurityId: MQBYTE40,
2739 pub CorrelationPtr: MQPTR,
2741}
2742#[repr(C)]
2744#[derive(Debug, Copy, Clone)]
2745pub struct MQZAC {
2746 pub StrucId: MQCHAR4,
2748 pub Version: MQLONG,
2750 pub ProcessId: MQPID,
2752 pub ThreadId: MQTID,
2754 pub ApplName: MQCHAR28,
2756 pub UserID: MQCHAR12,
2758 pub EffectiveUserID: MQCHAR12,
2760 pub Environment: MQLONG,
2762 pub CallerType: MQLONG,
2764 pub AuthenticationType: MQLONG,
2766 pub BindType: MQLONG,
2768}
2769#[repr(C)]
2771#[derive(Debug, Copy, Clone)]
2772pub struct MQZAD {
2773 pub StrucId: MQCHAR4,
2775 pub Version: MQLONG,
2777 pub ProfileName: MQCHAR48,
2779 pub ObjectType: MQLONG,
2781 pub Authority: MQLONG,
2783 pub EntityDataPtr: PMQZED,
2785 pub EntityType: MQLONG,
2787 pub Options: MQLONG,
2789}
2790#[repr(C)]
2792#[derive(Debug, Copy, Clone)]
2793pub struct MQZFP {
2794 pub StrucId: MQCHAR4,
2796 pub Version: MQLONG,
2798 pub Reserved: MQBYTE8,
2800 pub CorrelationPtr: MQPTR,
2802}
2803#[repr(C)]
2805#[derive(Debug, Copy, Clone)]
2806pub struct MQZIC {
2807 pub StrucId: MQCHAR4,
2809 pub Version: MQLONG,
2811 pub UserIdentifier: MQCHAR12,
2813 pub AccountingToken: MQBYTE32,
2815 pub ApplIdentityData: MQCHAR32,
2817 pub LongUserIdentifier: MQCHAR1024,
2819}
2820#[repr(C)]
2822#[derive(Debug, Copy, Clone)]
2823pub struct MQIEP {
2824 pub StrucId: MQCHAR4,
2826 pub Version: MQLONG,
2828 pub StrucLength: MQLONG,
2830 pub Flags: MQLONG,
2832 pub Reserved: MQPTR,
2834 pub MQBACK_Call: PMQ_BACK_CALL,
2836 pub MQBEGIN_Call: PMQ_BEGIN_CALL,
2838 pub MQBUFMH_Call: PMQ_BUFMH_CALL,
2840 pub MQCB_Call: PMQ_CB_CALL,
2842 pub MQCLOSE_Call: PMQ_CLOSE_CALL,
2844 pub MQCMIT_Call: PMQ_CMIT_CALL,
2846 pub MQCONN_Call: PMQ_CONN_CALL,
2848 pub MQCONNX_Call: PMQ_CONNX_CALL,
2850 pub MQCRTMH_Call: PMQ_CRTMH_CALL,
2852 pub MQCTL_Call: PMQ_CTL_CALL,
2854 pub MQDISC_Call: PMQ_DISC_CALL,
2856 pub MQDLTMH_Call: PMQ_DLTMH_CALL,
2858 pub MQDLTMP_Call: PMQ_DLTMP_CALL,
2860 pub MQGET_Call: PMQ_GET_CALL,
2862 pub MQINQ_Call: PMQ_INQ_CALL,
2864 pub MQINQMP_Call: PMQ_INQMP_CALL,
2866 pub MQMHBUF_Call: PMQ_MHBUF_CALL,
2868 pub MQOPEN_Call: PMQ_OPEN_CALL,
2870 pub MQPUT_Call: PMQ_PUT_CALL,
2872 pub MQPUT1_Call: PMQ_PUT1_CALL,
2874 pub MQSET_Call: PMQ_SET_CALL,
2876 pub MQSETMP_Call: PMQ_SETMP_CALL,
2878 pub MQSTAT_Call: PMQ_STAT_CALL,
2880 pub MQSUB_Call: PMQ_SUB_CALL,
2882 pub MQSUBRQ_Call: PMQ_SUBRQ_CALL,
2884 pub MQXCLWLN_Call: PMQ_XCLWLN_CALL,
2886 pub MQXCNVC_Call: PMQ_XCNVC_CALL,
2888 pub MQXDX_Call: PMQ_XDX_CALL,
2890 pub MQXEP_Call: PMQ_XEP_CALL,
2892 pub MQZEP_Call: PMQ_ZEP_CALL,
2894}
2895pub const MQPA_DEFAULT: MQLONG = 1;
2896pub const MQPA_CONTEXT: MQLONG = 2;
2897pub const MQPA_ONLY_MCA: MQLONG = 3;
2898pub const MQPA_ALTERNATE_OR_MCA: MQLONG = 4;
2899pub const MQCDC_SENDER_CONVERSION: MQLONG = 1;
2900pub const MQCDC_NO_SENDER_CONVERSION: MQLONG = 0;
2901pub const MQMCAT_PROCESS: MQLONG = 1;
2902pub const MQMCAT_THREAD: MQLONG = 2;
2903pub const MQNPMS_NORMAL: MQLONG = 1;
2904pub const MQNPMS_FAST: MQLONG = 2;
2905pub const MQSCA_REQUIRED: MQLONG = 0;
2906pub const MQSCA_OPTIONAL: MQLONG = 1;
2907pub const MQSCA_NEVER_REQUIRED: MQLONG = 2;
2908pub const MQKAI_AUTO: MQLONG = -1;
2909pub const MQRCN_NO: MQLONG = 0;
2910pub const MQRCN_YES: MQLONG = 1;
2911pub const MQRCN_Q_MGR: MQLONG = 2;
2912pub const MQRCN_DISABLED: MQLONG = 3;
2913pub const MQPROTO_MQTTV3: MQLONG = 1;
2914pub const MQPROTO_HTTP: MQLONG = 2;
2915pub const MQPROTO_AMQP: MQLONG = 3;
2916pub const MQPROTO_MQTTV311: MQLONG = 4;
2917pub const MQSECPROT_NONE: MQLONG = 0;
2918pub const MQSECPROT_SSLV30: MQLONG = 1;
2919pub const MQSECPROT_TLSV10: MQLONG = 2;
2920pub const MQSECPROT_TLSV12: MQLONG = 4;
2921pub const MQSECPROT_TLSV13: MQLONG = 8;
2922pub const MQSPL_PASSTHRU: MQLONG = 0;
2923pub const MQSPL_REMOVE: MQLONG = 1;
2924pub const MQSPL_AS_POLICY: MQLONG = 2;
2925pub const MQACH_STRUC_ID: &::std::ffi::CStr = c"ACH ";
2926pub const MQACH_VERSION_1: MQLONG = 1;
2927pub const MQACH_CURRENT_VERSION: MQLONG = 1;
2928pub const MQACH_LENGTH_1: usize = 72;
2929pub const MQACH_CURRENT_LENGTH: usize = 72;
2930pub const MQAXC_STRUC_ID: &::std::ffi::CStr = c"AXC ";
2931pub const MQAXC_VERSION_1: MQLONG = 1;
2932pub const MQAXC_VERSION_2: MQLONG = 2;
2933pub const MQAXC_CURRENT_VERSION: MQLONG = 2;
2934pub const MQAXC_LENGTH_1: usize = 392;
2935pub const MQAXC_LENGTH_2: usize = 424;
2936pub const MQAXC_CURRENT_LENGTH: usize = 424;
2937pub const MQXE_OTHER: MQLONG = 0;
2938pub const MQXE_MCA: MQLONG = 1;
2939pub const MQXE_MCA_SVRCONN: MQLONG = 2;
2940pub const MQXE_COMMAND_SERVER: MQLONG = 3;
2941pub const MQXE_MQSC: MQLONG = 4;
2942pub const MQXE_MCA_CLNTCONN: MQLONG = 5;
2943pub const MQAXP_STRUC_ID: &::std::ffi::CStr = c"AXP ";
2944pub const MQAXP_VERSION_1: MQLONG = 1;
2945pub const MQAXP_VERSION_2: MQLONG = 2;
2946pub const MQAXP_CURRENT_VERSION: MQLONG = 2;
2947pub const MQAXP_LENGTH_1: usize = 256;
2948pub const MQAXP_CURRENT_LENGTH: usize = 256;
2949pub const MQXACT_EXTERNAL: MQLONG = 1;
2950pub const MQXACT_INTERNAL: MQLONG = 2;
2951pub const MQXPDA_NONE: &[u8; 49] = b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
2952pub const MQXF_INIT: MQLONG = 1;
2953pub const MQXF_TERM: MQLONG = 2;
2954pub const MQXF_CONN: MQLONG = 3;
2955pub const MQXF_CONNX: MQLONG = 4;
2956pub const MQXF_DISC: MQLONG = 5;
2957pub const MQXF_OPEN: MQLONG = 6;
2958pub const MQXF_CLOSE: MQLONG = 7;
2959pub const MQXF_PUT1: MQLONG = 8;
2960pub const MQXF_PUT: MQLONG = 9;
2961pub const MQXF_GET: MQLONG = 10;
2962pub const MQXF_DATA_CONV_ON_GET: MQLONG = 11;
2963pub const MQXF_INQ: MQLONG = 12;
2964pub const MQXF_SET: MQLONG = 13;
2965pub const MQXF_BEGIN: MQLONG = 14;
2966pub const MQXF_CMIT: MQLONG = 15;
2967pub const MQXF_BACK: MQLONG = 16;
2968pub const MQXF_STAT: MQLONG = 18;
2969pub const MQXF_CB: MQLONG = 19;
2970pub const MQXF_CTL: MQLONG = 20;
2971pub const MQXF_CALLBACK: MQLONG = 21;
2972pub const MQXF_SUB: MQLONG = 22;
2973pub const MQXF_SUBRQ: MQLONG = 23;
2974pub const MQXF_XACLOSE: MQLONG = 24;
2975pub const MQXF_XACOMMIT: MQLONG = 25;
2976pub const MQXF_XACOMPLETE: MQLONG = 26;
2977pub const MQXF_XAEND: MQLONG = 27;
2978pub const MQXF_XAFORGET: MQLONG = 28;
2979pub const MQXF_XAOPEN: MQLONG = 29;
2980pub const MQXF_XAPREPARE: MQLONG = 30;
2981pub const MQXF_XARECOVER: MQLONG = 31;
2982pub const MQXF_XAROLLBACK: MQLONG = 32;
2983pub const MQXF_XASTART: MQLONG = 33;
2984pub const MQXF_AXREG: MQLONG = 34;
2985pub const MQXF_AXUNREG: MQLONG = 35;
2986pub const MQCXP_STRUC_ID: &::std::ffi::CStr = c"CXP ";
2987pub const MQCXP_VERSION_1: MQLONG = 1;
2988pub const MQCXP_VERSION_2: MQLONG = 2;
2989pub const MQCXP_VERSION_3: MQLONG = 3;
2990pub const MQCXP_VERSION_4: MQLONG = 4;
2991pub const MQCXP_VERSION_5: MQLONG = 5;
2992pub const MQCXP_VERSION_6: MQLONG = 6;
2993pub const MQCXP_VERSION_7: MQLONG = 7;
2994pub const MQCXP_VERSION_8: MQLONG = 8;
2995pub const MQCXP_VERSION_9: MQLONG = 9;
2996pub const MQCXP_CURRENT_VERSION: MQLONG = 9;
2997pub const MQCXP_LENGTH_3: usize = 156;
2998pub const MQCXP_LENGTH_4: usize = 156;
2999pub const MQCXP_LENGTH_5: usize = 160;
3000pub const MQCXP_LENGTH_6: usize = 200;
3001pub const MQCXP_LENGTH_7: usize = 208;
3002pub const MQCXP_LENGTH_8: usize = 224;
3003pub const MQCXP_LENGTH_9: usize = 240;
3004pub const MQCXP_CURRENT_LENGTH: usize = 240;
3005pub const MQXR2_PUT_WITH_DEF_ACTION: MQLONG = 0;
3006pub const MQXR2_PUT_WITH_DEF_USERID: MQLONG = 1;
3007pub const MQXR2_PUT_WITH_MSG_USERID: MQLONG = 2;
3008pub const MQXR2_USE_AGENT_BUFFER: MQLONG = 0;
3009pub const MQXR2_USE_EXIT_BUFFER: MQLONG = 4;
3010pub const MQXR2_DEFAULT_CONTINUATION: MQLONG = 0;
3011pub const MQXR2_CONTINUE_CHAIN: MQLONG = 8;
3012pub const MQXR2_SUPPRESS_CHAIN: MQLONG = 16;
3013pub const MQXR2_STATIC_CACHE: MQLONG = 0;
3014pub const MQXR2_DYNAMIC_CACHE: MQLONG = 32;
3015pub const MQCF_NONE: MQLONG = 0;
3016pub const MQCF_DIST_LISTS: MQLONG = 1;
3017pub const MQDXP_STRUC_ID: &::std::ffi::CStr = c"DXP ";
3018pub const MQDXP_VERSION_1: MQLONG = 1;
3019pub const MQDXP_VERSION_2: MQLONG = 2;
3020pub const MQDXP_CURRENT_VERSION: MQLONG = 2;
3021pub const MQDXP_LENGTH_1: usize = 44;
3022pub const MQDXP_LENGTH_2: usize = 56;
3023pub const MQDXP_CURRENT_LENGTH: usize = 56;
3024pub const MQXDR_OK: MQLONG = 0;
3025pub const MQXDR_CONVERSION_FAILED: MQLONG = 1;
3026pub const MQNXP_STRUC_ID: &::std::ffi::CStr = c"NXP ";
3027pub const MQNXP_VERSION_1: MQLONG = 1;
3028pub const MQNXP_VERSION_2: MQLONG = 2;
3029pub const MQNXP_CURRENT_VERSION: MQLONG = 2;
3030pub const MQNXP_LENGTH_1: usize = 64;
3031pub const MQNXP_LENGTH_2: usize = 72;
3032pub const MQNXP_CURRENT_LENGTH: usize = 72;
3033pub const MQPBC_STRUC_ID: &::std::ffi::CStr = c"PBC ";
3034pub const MQPBC_VERSION_1: MQLONG = 1;
3035pub const MQPBC_VERSION_2: MQLONG = 2;
3036pub const MQPBC_CURRENT_VERSION: MQLONG = 2;
3037pub const MQPBC_LENGTH_1: usize = 32;
3038pub const MQPBC_LENGTH_2: usize = 40;
3039pub const MQPBC_CURRENT_LENGTH: usize = 40;
3040pub const MQPSXP_STRUC_ID: &::std::ffi::CStr = c"PSXP";
3041pub const MQPSXP_VERSION_1: MQLONG = 1;
3042pub const MQPSXP_VERSION_2: MQLONG = 2;
3043pub const MQPSXP_CURRENT_VERSION: MQLONG = 2;
3044pub const MQPSXP_LENGTH_1: usize = 176;
3045pub const MQPSXP_LENGTH_2: usize = 184;
3046pub const MQPSXP_CURRENT_LENGTH: usize = 184;
3047pub const MQSBC_STRUC_ID: &::std::ffi::CStr = c"SBC ";
3048pub const MQSBC_VERSION_1: MQLONG = 1;
3049pub const MQSBC_CURRENT_VERSION: MQLONG = 1;
3050pub const MQSBC_LENGTH_1: usize = 288;
3051pub const MQSBC_CURRENT_LENGTH: usize = 288;
3052pub const MQWDR_STRUC_ID: &::std::ffi::CStr = c"WDR ";
3053pub const MQWDR_VERSION_1: MQLONG = 1;
3054pub const MQWDR_VERSION_2: MQLONG = 2;
3055pub const MQWDR_CURRENT_VERSION: MQLONG = 2;
3056pub const MQWDR_LENGTH_1: usize = 124;
3057pub const MQWDR_LENGTH_2: usize = 136;
3058pub const MQWDR_CURRENT_LENGTH: usize = 136;
3059pub const MQQMF_REPOSITORY_Q_MGR: MQLONG = 2;
3060pub const MQQMF_CLUSSDR_USER_DEFINED: MQLONG = 8;
3061pub const MQQMF_CLUSSDR_AUTO_DEFINED: MQLONG = 16;
3062pub const MQQMF_AVAILABLE: MQLONG = 32;
3063pub const MQWDR1_LENGTH_1: usize = 124;
3064pub const MQWDR1_CURRENT_LENGTH: usize = 124;
3065pub const MQWDR2_LENGTH_1: usize = 124;
3066pub const MQWDR2_LENGTH_2: usize = 136;
3067pub const MQWDR2_CURRENT_LENGTH: usize = 136;
3068pub const MQWQR_STRUC_ID: &::std::ffi::CStr = c"WQR ";
3069pub const MQWQR_VERSION_1: MQLONG = 1;
3070pub const MQWQR_VERSION_2: MQLONG = 2;
3071pub const MQWQR_VERSION_3: MQLONG = 3;
3072pub const MQWQR_VERSION_4: MQLONG = 4;
3073pub const MQWQR_CURRENT_VERSION: MQLONG = 4;
3074pub const MQWQR_LENGTH_1: usize = 200;
3075pub const MQWQR_LENGTH_2: usize = 208;
3076pub const MQWQR_LENGTH_3: usize = 212;
3077pub const MQWQR_LENGTH_4: usize = 216;
3078pub const MQWQR_CURRENT_LENGTH: usize = 216;
3079pub const MQQF_LOCAL_Q: MQLONG = 1;
3080pub const MQQF_CLWL_USEQ_ANY: MQLONG = 64;
3081pub const MQQF_CLWL_USEQ_LOCAL: MQLONG = 128;
3082pub const MQWQR1_LENGTH_1: usize = 200;
3083pub const MQWQR1_CURRENT_LENGTH: usize = 200;
3084pub const MQWQR2_LENGTH_1: usize = 200;
3085pub const MQWQR2_LENGTH_2: usize = 208;
3086pub const MQWQR2_CURRENT_LENGTH: usize = 208;
3087pub const MQWQR3_LENGTH_1: usize = 200;
3088pub const MQWQR3_LENGTH_2: usize = 208;
3089pub const MQWQR3_LENGTH_3: usize = 212;
3090pub const MQWQR3_CURRENT_LENGTH: usize = 212;
3091pub const MQWQR4_LENGTH_1: usize = 200;
3092pub const MQWQR4_LENGTH_2: usize = 208;
3093pub const MQWQR4_LENGTH_3: usize = 212;
3094pub const MQWQR4_LENGTH_4: usize = 216;
3095pub const MQWQR4_CURRENT_LENGTH: usize = 216;
3096pub const MQWXP_STRUC_ID: &::std::ffi::CStr = c"WXP ";
3097pub const MQWXP_VERSION_1: MQLONG = 1;
3098pub const MQWXP_VERSION_2: MQLONG = 2;
3099pub const MQWXP_VERSION_3: MQLONG = 3;
3100pub const MQWXP_VERSION_4: MQLONG = 4;
3101pub const MQWXP_CURRENT_VERSION: MQLONG = 4;
3102pub const MQWXP_LENGTH_1: usize = 224;
3103pub const MQWXP_LENGTH_2: usize = 240;
3104pub const MQWXP_LENGTH_3: usize = 240;
3105pub const MQWXP_LENGTH_4: usize = 248;
3106pub const MQWXP_CURRENT_LENGTH: usize = 248;
3107pub const MQWXP_PUT_BY_CLUSTER_CHL: MQLONG = 2;
3108pub const MQWXP1_LENGTH_1: usize = 224;
3109pub const MQWXP1_CURRENT_LENGTH: usize = 224;
3110pub const MQWXP2_LENGTH_1: usize = 224;
3111pub const MQWXP2_LENGTH_2: usize = 240;
3112pub const MQWXP2_CURRENT_LENGTH: usize = 240;
3113pub const MQWXP3_LENGTH_1: usize = 224;
3114pub const MQWXP3_LENGTH_2: usize = 240;
3115pub const MQWXP3_LENGTH_3: usize = 240;
3116pub const MQWXP3_CURRENT_LENGTH: usize = 240;
3117pub const MQWXP4_LENGTH_1: usize = 224;
3118pub const MQWXP4_LENGTH_2: usize = 240;
3119pub const MQWXP4_LENGTH_3: usize = 240;
3120pub const MQWXP4_LENGTH_4: usize = 248;
3121pub const MQWXP4_CURRENT_LENGTH: usize = 248;
3122pub const MQXEPO_STRUC_ID: &::std::ffi::CStr = c"XEPO";
3123pub const MQXEPO_VERSION_1: MQLONG = 1;
3124pub const MQXEPO_CURRENT_VERSION: MQLONG = 1;
3125pub const MQXEPO_LENGTH_1: usize = 40;
3126pub const MQXEPO_CURRENT_LENGTH: usize = 40;
3127pub const MQXEPO_NONE: MQLONG = 0;
3128pub const MQXT_API_CROSSING_EXIT: MQLONG = 1;
3129pub const MQXT_API_EXIT: MQLONG = 2;
3130pub const MQXT_CHANNEL_SEC_EXIT: MQLONG = 11;
3131pub const MQXT_CHANNEL_MSG_EXIT: MQLONG = 12;
3132pub const MQXT_CHANNEL_SEND_EXIT: MQLONG = 13;
3133pub const MQXT_CHANNEL_RCV_EXIT: MQLONG = 14;
3134pub const MQXT_CHANNEL_MSG_RETRY_EXIT: MQLONG = 15;
3135pub const MQXT_CHANNEL_AUTO_DEF_EXIT: MQLONG = 16;
3136pub const MQXT_CLUSTER_WORKLOAD_EXIT: MQLONG = 20;
3137pub const MQXT_PUBSUB_ROUTING_EXIT: MQLONG = 21;
3138pub const MQXT_PUBLISH_EXIT: MQLONG = 22;
3139pub const MQXT_PRECONNECT_EXIT: MQLONG = 23;
3140pub const MQXR_BEFORE: MQLONG = 1;
3141pub const MQXR_AFTER: MQLONG = 2;
3142pub const MQXR_CONNECTION: MQLONG = 3;
3143pub const MQXR_BEFORE_CONVERT: MQLONG = 4;
3144pub const MQXR_INIT: MQLONG = 11;
3145pub const MQXR_TERM: MQLONG = 12;
3146pub const MQXR_MSG: MQLONG = 13;
3147pub const MQXR_XMIT: MQLONG = 14;
3148pub const MQXR_SEC_MSG: MQLONG = 15;
3149pub const MQXR_INIT_SEC: MQLONG = 16;
3150pub const MQXR_RETRY: MQLONG = 17;
3151pub const MQXR_AUTO_CLUSSDR: MQLONG = 18;
3152pub const MQXR_AUTO_RECEIVER: MQLONG = 19;
3153pub const MQXR_CLWL_OPEN: MQLONG = 20;
3154pub const MQXR_CLWL_PUT: MQLONG = 21;
3155pub const MQXR_CLWL_MOVE: MQLONG = 22;
3156pub const MQXR_CLWL_REPOS: MQLONG = 23;
3157pub const MQXR_CLWL_REPOS_MOVE: MQLONG = 24;
3158pub const MQXR_END_BATCH: MQLONG = 25;
3159pub const MQXR_ACK_RECEIVED: MQLONG = 26;
3160pub const MQXR_AUTO_SVRCONN: MQLONG = 27;
3161pub const MQXR_AUTO_CLUSRCVR: MQLONG = 28;
3162pub const MQXR_SEC_PARMS: MQLONG = 29;
3163pub const MQXR_PUBLICATION: MQLONG = 30;
3164pub const MQXR_PRECONNECT: MQLONG = 31;
3165pub const MQXCC_OK: MQLONG = 0;
3166pub const MQXCC_SUPPRESS_FUNCTION: MQLONG = -1;
3167pub const MQXCC_SKIP_FUNCTION: MQLONG = -2;
3168pub const MQXCC_SEND_AND_REQUEST_SEC_MSG: MQLONG = -3;
3169pub const MQXCC_SEND_SEC_MSG: MQLONG = -4;
3170pub const MQXCC_SUPPRESS_EXIT: MQLONG = -5;
3171pub const MQXCC_CLOSE_CHANNEL: MQLONG = -6;
3172pub const MQXCC_REQUEST_ACK: MQLONG = -7;
3173pub const MQXCC_FAILED: MQLONG = -8;
3174pub const MQXUA_NONE: &[u8; 17] = b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
3175pub const MQCLCT_STATIC: MQLONG = 0;
3176pub const MQCLCT_DYNAMIC: MQLONG = 1;
3177pub const MQMCEV_PACKET_LOSS: MQLONG = 1;
3178pub const MQMCEV_HEARTBEAT_TIMEOUT: MQLONG = 2;
3179pub const MQMCEV_VERSION_CONFLICT: MQLONG = 3;
3180pub const MQMCEV_RELIABILITY: MQLONG = 4;
3181pub const MQMCEV_CLOSED_TRANS: MQLONG = 5;
3182pub const MQMCEV_STREAM_ERROR: MQLONG = 6;
3183pub const MQMCEV_NEW_SOURCE: MQLONG = 10;
3184pub const MQMCEV_RECEIVE_QUEUE_TRIMMED: MQLONG = 11;
3185pub const MQMCEV_PACKET_LOSS_NACK_EXPIRE: MQLONG = 12;
3186pub const MQMCEV_ACK_RETRIES_EXCEEDED: MQLONG = 13;
3187pub const MQMCEV_STREAM_SUSPEND_NACK: MQLONG = 14;
3188pub const MQMCEV_STREAM_RESUME_NACK: MQLONG = 15;
3189pub const MQMCEV_STREAM_EXPELLED: MQLONG = 16;
3190pub const MQMCEV_FIRST_MESSAGE: MQLONG = 20;
3191pub const MQMCEV_LATE_JOIN_FAILURE: MQLONG = 21;
3192pub const MQMCEV_MESSAGE_LOSS: MQLONG = 22;
3193pub const MQMCEV_SEND_PACKET_FAILURE: MQLONG = 23;
3194pub const MQMCEV_REPAIR_DELAY: MQLONG = 24;
3195pub const MQMCEV_MEMORY_ALERT_ON: MQLONG = 25;
3196pub const MQMCEV_MEMORY_ALERT_OFF: MQLONG = 26;
3197pub const MQMCEV_NACK_ALERT_ON: MQLONG = 27;
3198pub const MQMCEV_NACK_ALERT_OFF: MQLONG = 28;
3199pub const MQMCEV_REPAIR_ALERT_ON: MQLONG = 29;
3200pub const MQMCEV_REPAIR_ALERT_OFF: MQLONG = 30;
3201pub const MQMCEV_RELIABILITY_CHANGED: MQLONG = 31;
3202pub const MQMCEV_SHM_DEST_UNUSABLE: MQLONG = 80;
3203pub const MQMCEV_SHM_PORT_UNUSABLE: MQLONG = 81;
3204pub const MQMCEV_CCT_GETTIME_FAILED: MQLONG = 110;
3205pub const MQMCEV_DEST_INTERFACE_FAILURE: MQLONG = 120;
3206pub const MQMCEV_DEST_INTERFACE_FAILOVER: MQLONG = 121;
3207pub const MQMCEV_PORT_INTERFACE_FAILURE: MQLONG = 122;
3208pub const MQMCEV_PORT_INTERFACE_FAILOVER: MQLONG = 123;
3209pub const MQZED_STRUC_ID: &::std::ffi::CStr = c"ZED ";
3210pub const MQZED_VERSION_1: MQLONG = 1;
3211pub const MQZED_VERSION_2: MQLONG = 2;
3212pub const MQZED_CURRENT_VERSION: MQLONG = 2;
3213pub const MQZED_LENGTH_1: usize = 64;
3214pub const MQZED_LENGTH_2: usize = 72;
3215pub const MQZED_CURRENT_LENGTH: usize = 72;
3216pub const MQZAC_STRUC_ID: &::std::ffi::CStr = c"ZAC ";
3217pub const MQZAC_VERSION_1: MQLONG = 1;
3218pub const MQZAC_CURRENT_VERSION: MQLONG = 1;
3219pub const MQZAC_LENGTH_1: usize = 84;
3220pub const MQZAC_CURRENT_LENGTH: usize = 84;
3221pub const MQZAT_INITIAL_CONTEXT: MQLONG = 0;
3222pub const MQZAT_CHANGE_CONTEXT: MQLONG = 1;
3223pub const MQZAD_STRUC_ID: &::std::ffi::CStr = c"ZAD ";
3224pub const MQZAD_VERSION_1: MQLONG = 1;
3225pub const MQZAD_VERSION_2: MQLONG = 2;
3226pub const MQZAD_CURRENT_VERSION: MQLONG = 2;
3227pub const MQZAD_LENGTH_1: usize = 80;
3228pub const MQZAD_LENGTH_2: usize = 80;
3229pub const MQZAD_CURRENT_LENGTH: usize = 80;
3230pub const MQZFP_STRUC_ID: &::std::ffi::CStr = c"ZFP ";
3231pub const MQZFP_VERSION_1: MQLONG = 1;
3232pub const MQZFP_CURRENT_VERSION: MQLONG = 1;
3233pub const MQZFP_LENGTH_1: usize = 24;
3234pub const MQZFP_CURRENT_LENGTH: usize = 24;
3235pub const MQZIC_STRUC_ID: &::std::ffi::CStr = c"ZIC ";
3236pub const MQZIC_VERSION_1: MQLONG = 1;
3237pub const MQZIC_VERSION_2: MQLONG = 2;
3238pub const MQZIC_CURRENT_VERSION: MQLONG = 2;
3239pub const MQZIC_LENGTH_1: usize = 84;
3240pub const MQZIC_LENGTH_2: usize = 1108;
3241pub const MQZIC_CURRENT_LENGTH: usize = 1108;
3242pub const MQZIO_PRIMARY: MQLONG = 0;
3243pub const MQZIO_SECONDARY: MQLONG = 1;
3244pub const MQZTO_PRIMARY: MQLONG = 0;
3245pub const MQZTO_SECONDARY: MQLONG = 1;
3246pub const MQZCI_DEFAULT: MQLONG = 0;
3247pub const MQZCI_CONTINUE: MQLONG = 0;
3248pub const MQZCI_STOP: MQLONG = 1;
3249pub const MQZAS_VERSION_1: MQLONG = 1;
3250pub const MQZAS_VERSION_2: MQLONG = 2;
3251pub const MQZAS_VERSION_3: MQLONG = 3;
3252pub const MQZAS_VERSION_4: MQLONG = 4;
3253pub const MQZAS_VERSION_5: MQLONG = 5;
3254pub const MQZAS_VERSION_6: MQLONG = 6;
3255pub const MQZAO_CONNECT: MQLONG = 1;
3256pub const MQZAO_BROWSE: MQLONG = 2;
3257pub const MQZAO_INPUT: MQLONG = 4;
3258pub const MQZAO_OUTPUT: MQLONG = 8;
3259pub const MQZAO_INQUIRE: MQLONG = 16;
3260pub const MQZAO_SET: MQLONG = 32;
3261pub const MQZAO_PASS_IDENTITY_CONTEXT: MQLONG = 64;
3262pub const MQZAO_PASS_ALL_CONTEXT: MQLONG = 128;
3263pub const MQZAO_SET_IDENTITY_CONTEXT: MQLONG = 256;
3264pub const MQZAO_SET_ALL_CONTEXT: MQLONG = 512;
3265pub const MQZAO_ALTERNATE_USER_AUTHORITY: MQLONG = 1024;
3266pub const MQZAO_PUBLISH: MQLONG = 2048;
3267pub const MQZAO_SUBSCRIBE: MQLONG = 4096;
3268pub const MQZAO_RESUME: MQLONG = 8192;
3269pub const MQZAO_ALL_MQI: MQLONG = 16383;
3270pub const MQZAO_CREATE: MQLONG = 65536;
3271pub const MQZAO_DELETE: MQLONG = 131072;
3272pub const MQZAO_DISPLAY: MQLONG = 262144;
3273pub const MQZAO_CHANGE: MQLONG = 524288;
3274pub const MQZAO_CLEAR: MQLONG = 1048576;
3275pub const MQZAO_CONTROL: MQLONG = 2097152;
3276pub const MQZAO_CONTROL_EXTENDED: MQLONG = 4194304;
3277pub const MQZAO_AUTHORIZE: MQLONG = 8388608;
3278pub const MQZAO_ALL_ADMIN: MQLONG = 16646144;
3279pub const MQZAO_SYSTEM: MQLONG = 33554432;
3280pub const MQZAO_ALL: MQLONG = 50216959;
3281pub const MQZAO_REMOVE: MQLONG = 16777216;
3282pub const MQZAO_NONE: MQLONG = 0;
3283pub const MQZAO_CREATE_ONLY: MQLONG = 67108864;
3284pub const MQZAET_NONE: MQLONG = 0;
3285pub const MQZAET_PRINCIPAL: MQLONG = 1;
3286pub const MQZAET_GROUP: MQLONG = 2;
3287pub const MQZAET_UNKNOWN: MQLONG = 3;
3288pub const MQZSE_START: MQLONG = 1;
3289pub const MQZSE_CONTINUE: MQLONG = 0;
3290pub const MQZSL_NOT_RETURNED: MQLONG = 0;
3291pub const MQZSL_RETURNED: MQLONG = 1;
3292pub const MQZNS_VERSION_1: MQLONG = 1;
3293pub const MQZUS_VERSION_1: MQLONG = 1;
3294pub const MQZID_INIT: MQLONG = 0;
3295pub const MQZID_TERM: MQLONG = 1;
3296pub const MQZID_INIT_AUTHORITY: MQLONG = 0;
3297pub const MQZID_TERM_AUTHORITY: MQLONG = 1;
3298pub const MQZID_CHECK_AUTHORITY: MQLONG = 2;
3299pub const MQZID_COPY_ALL_AUTHORITY: MQLONG = 3;
3300pub const MQZID_DELETE_AUTHORITY: MQLONG = 4;
3301pub const MQZID_SET_AUTHORITY: MQLONG = 5;
3302pub const MQZID_GET_AUTHORITY: MQLONG = 6;
3303pub const MQZID_GET_EXPLICIT_AUTHORITY: MQLONG = 7;
3304pub const MQZID_REFRESH_CACHE: MQLONG = 8;
3305pub const MQZID_ENUMERATE_AUTHORITY_DATA: MQLONG = 9;
3306pub const MQZID_AUTHENTICATE_USER: MQLONG = 10;
3307pub const MQZID_FREE_USER: MQLONG = 11;
3308pub const MQZID_INQUIRE: MQLONG = 12;
3309pub const MQZID_CHECK_PRIVILEGED: MQLONG = 13;
3310pub const MQZID_INIT_NAME: MQLONG = 0;
3311pub const MQZID_TERM_NAME: MQLONG = 1;
3312pub const MQZID_LOOKUP_NAME: MQLONG = 2;
3313pub const MQZID_INSERT_NAME: MQLONG = 3;
3314pub const MQZID_DELETE_NAME: MQLONG = 4;
3315pub const MQZID_INIT_USERID: MQLONG = 0;
3316pub const MQZID_TERM_USERID: MQLONG = 1;
3317pub const MQZID_FIND_USERID: MQLONG = 2;
3318pub const MQIEP_STRUC_ID: &::std::ffi::CStr = c"IEP ";
3319pub const MQIEP_VERSION_1: MQLONG = 1;
3320pub const MQIEP_CURRENT_VERSION: MQLONG = 1;
3321pub const MQIEP_LENGTH_1: usize = 264;
3322pub const MQIEP_CURRENT_LENGTH: usize = 264;
3323pub const MQIEPF_NONE: MQLONG = 0;
3324pub const MQIEPF_NON_THREADED_LIBRARY: MQLONG = 0;
3325pub const MQIEPF_THREADED_LIBRARY: MQLONG = 1;
3326pub const MQIEPF_CLIENT_LIBRARY: MQLONG = 0;
3327pub const MQIEPF_LOCAL_LIBRARY: MQLONG = 2;
3328unsafe extern "C" {
3329 pub fn MQXEP(
3343 Hconfig: MQHCONFIG,
3344 ExitReason: MQLONG,
3345 Function: MQLONG,
3346 EntryPoint: PMQFUNC,
3347 ExitOpts: Option<&MQXEPO>,
3348 CompCode: &mut MQLONG,
3349 Reason: &mut MQLONG,
3350 );
3351 pub fn MQXCLWLN(
3364 ExitParms: &mut MQWXP,
3365 CurrentRecord: MQPTR,
3366 NextOffset: MQLONG,
3367 NextRecord: &mut MQPTR,
3368 CompCode: &mut MQLONG,
3369 Reason: &mut MQLONG,
3370 );
3371 pub fn MQXDX(
3381 DataConvExitParms: &mut MQDXP,
3382 MsgDesc: PMQMD,
3383 InBufferLength: MQLONG,
3384 InBuffer: PMQVOID,
3385 OutBufferLength: MQLONG,
3386 OutBuffer: PMQVOID,
3387 );
3388 pub fn MQZEP(
3400 Hconfig: MQHCONFIG,
3401 Function: MQLONG,
3402 EntryPoint: PMQFUNC,
3403 CompCode: &mut MQLONG,
3404 Reason: &mut MQLONG,
3405 );
3406}