Home

 

Initial values and language declarations

Table 29. Initial values of fields in MQCSP
Field name Name of constant Value of constant
StrucId MQCSP_STRUC_ID

'CSP'

Version MQCSP_CURRENT_VERSION

1

AuthenticationType None

MQCSP_AUTH_NONE

Reserved1 None Null string or blanks
CSPUserIdPtr None

Null pointer or null bytes

CSPUserIdOffset None

0

CSPUserIdLength None

0

Reserved2 None Null string or blanks
CSPPasswordPtr None

Null pointer or null bytes

CSPPasswordOffset None

0

CSPPasswordLength None

0

Notes:

  1. The symbol   represents a single blank character.

  2. In the C programming language, the macro variable MQCSP_DEFAULT contains the values listed above. It can be used in the following way to provide initial values for the fields in the structure:

    MQCSP MyCSP = {MQCSP_DEFAULT};



 

Home