MQIEP structure

The MQIEP structure contains an entry point for each function call that exits are permitted to make.


Fields

    StrucId
    Type: MQCHAR4 - input Structure identifier. The value is as follows:

      MQIEP_STRUC_ID

    Version
    Type: MQLONG - input Structure version number. The value is as follows:

      MQIEP_VERSION_1
      Version 1 structure version number.

      MQIEP_CURRENT_VERSION
      Current version of the structure.

    StrucLength
    Type: MQLONG Size of the MQIEP structure in bytes. The value is as follows:

      MQIEP_LENGTH_1

    Flags
    Type: MQLONG

    Provides information about the function addresses. A flag to indicate if the library is threaded can be used with a flag to indicate if the library is a client or server library.

    The following value is used to specify no library information:

      MQIEPF_NONE

    One of the following values is used to specify if the shared library is threaded or non-threaded:

      MQIEPF_NON_THREADED_LIBRARY
      A non-threaded shared library

      MQIEPF_THREADED_LIBRARY
      A threaded shared library

    One of the following values is used to specify if the shared library is a client or a server shared library:

      MQIEPF_CLIENT_LIBRARY
      A client shared library

      MQIEPF_LOCAL_LIBRARY
      A server shared library

    Reserved
    Type: MQPTR

    MQBACK_Call
    Type: PMQ_BACK_CALL

    Address of the MQBACK call.

    MQBEGIN_Call
    Type: PMQ_BEGIN_CALL

    Address of the MQBEGIN call.

    MQBUFMH_Call
    Type: PMQ_BUFMH_CALL

    Address of the MQBUFMH call.

    MQCB_Call
    Type: PMQ_CB_CALL

    Address of the MQCB call.

    MQCLOSE_Call
    Type: PMQ_CLOSE_CALL

    Address of the MQCLOSE call.

    MQCMIT_Call
    Type: PMQ_CMIT_CALL

    Address of the MQCMIT call.

    MQCONN_Call
    Type: PMQ_CONN_CALL

    Address of the MQCONN call.

    MQCONNX_Call
    Type: PMQ_CONNX_CALL

    Address of the MQCONNX call.

    MQCRTMH_Call
    Type: PMQ_CRTMH_CALL

    Address of the MQCRTMH call.

    MQCTL_Call
    Type: PMQ_CTL_CALL

    Address of the MQCTL call.

    MQDISC_Call
    Type: PMQ_DISC_CALL

    Address of the MQDISC call.

    MQDLTMH_Call
    Type: PMQ_DLTMH_CALL

    Address of the MQDLTMH call.

    MQDLTMP_Call
    Type: PMQ_DLTMP_CALL

    Address of the MQDLTMP call.

    MQGET_Call
    Type: PMQ_GET_CALL

    Address of the MQGET call.

    MQINQ_Call
    Type: PMQ_INQ_CALL

    Address of the MQINQ call.

    MQINQMP_Call
    Type: PMQ_INQMP_CALL

    Address of the MQINQMP call.

    MQMHBUF_Call
    Type: PMQ_MHBUF_CALL

    Address of the MQMHBUF call.

    MQOPEN_Call
    Type: PMQ_OPEN_CALL

    Address of the MQOPEN call.

    MQPUT_Call
    Type: PMQ_PUT_CALL

    Address of the MQPUT call.

    MQPUT1_Call
    Type: PMQ_PUT1_CALL

    Address of the MQPUT1 call.

    MQSET_Call
    Type: PMQ_SET_CALL

    Address of the MQSET call.

    MQSETMP_Call
    Type: PMQ_SETMP_CALL

    Address of the MQSETMP call.

    MQSTAT_Call
    Type: PMQ_STAT_CALL

    Address of the MQSTAT call.

    MQSUB_Call
    Type: PMQ_SUB_CALL

    Address of the MQSUB call.

    MQSUBRQ_Call
    Type: PMQ_SUBRQ_CALL

    Address of the MQSUBRQ call.

    MQXCNVC_Call
    Type: PMQ_XCNVC_CALL

    Address of the MQXCNVC call.

    MQXCLWLN_Call
    Type: PMQ_XCLWLN_CALL

    Address of the MQXCLWLN call.

    MQXDX_Call
    Type: PMQ_XDX_CALL

    Address of the MQXDX call.

    MQXEP_Call
    Type: PMQ_XEP_CALL

    Address of the MQXEP call.

    MQZEP_Call
    Type: PMQ_ZEP_CALL

    Address of the MQZEP call.


C Declaration

struct tagMQIEP {
   MQCHAR4          StrucId;          /* Structure identifier */
   MQLONG           Version;          /* Structure version number */
   MQLONG           StrucLength;      /* Structure length */ 
   MQLONG           Flags;            /* Flags */
   MQPTR            Reserved;         /* Reserved */
   PMQ_BACK_CALL    MQBACK_Call;      /* Address of MQBACK */
   PMQ_BEGIN_CALL   MQBEGIN_Call;     /* Address of MQBEGIN */
   PMQ_BUFMH_CALL   MQBUFMH_Call;     /* Address of MQBUFMH */
   PMQ_CB_CALL      MQCB_Call;        /* Address of MQCB */
   PMQ_CLOSE_CALL   MQCLOSE_Call;     /* Address of MQCLOSE */
   PMQ_CMIT_CALL    MQCMIT_Call;      /* Address of MQCMIT */
   PMQ_CONN_CALL    MQCONN_Call;      /* Address of MQCONN */
   PMQ_CONNX_CALL   MQCONNX_Call;     /* Address of MQCONNX */
   PMQ_CRTMH_CALL   MQCRTMH_Call;     /* Address of MQCRTMH */
   PMQ_CTL_CALL     MQCTL_Call;       /* Address of MQCTL */
   PMQ_DISC_CALL    MQDISC_Call;      /* Address of MQDISC */
   PMQ_DLTMH_CALL   MQDLTMH_Call;     /* Address of MQDLTMH */
   PMQ_DLTMP_CALL   MQDLTMP_Call;     /* Address of MQDLTMP */
   PMQ_GET_CALL     MQGET_Call;       /* Address of MQGET */
   PMQ_INQ_CALL     MQINQ_Call;       /* Address of MQINQ */
   PMQ_INQMP_CALL   MQINQMP_Call;     /* Address of MQINQMP */
   PMQ_MHBUF_CALL   MQMHBUF_Call;     /* Address of MQMHBUF */
   PMQ_OPEN_CALL    MQOPEN_Call;      /* Address of MQOPEN */
   PMQ_PUT_CALL     MQPUT_Call;       /* Address of MQPUT */
   PMQ_PUT1_CALL    MQPUT1_Call;      /* Address of MQPUT1 */
   PMQ_SET_CALL     MQSET_Call;       /* Address of MQSET */
   PMQ_SETMP_CALL   MQSETMP_Call;     /* Address of MQSETMP */
   PMQ_STAT_CALL    MQSTAT_Call;      /* Address of MQSTAT */
   PMQ_SUB_CALL     MQSUB_Call;       /* Address of MQSUB */
   PMQ_SUBRQ_CALL   MQSUBRQ_Call;     /* Address of MQSUBRQ */
   PMQ_XCLWLN_CALL  MQXCLWLN_Call;    /* Address of MQXCLWLN */
   PMQ_XCNVC_CALL   MQXCNVC_Call;     /* Address of MQXCNVC */
   PMQ_XDX_CALL     MQXDX_Call;       /* Address of MQXDX */
   PMQ_XEP_CALL     MQXEP_Call;       /* Address of MQXEP */
   PMQ_ZEP_CALL     MQZEP_Call;       /* Address of MQZEP */
};
Parent topic: User exits, API exits, and installable services reference