|
CICS Transaction Gateway ECI and ESI V2 for C
V10.1.0.0
|
Go to the documentation of this file.
47 #if defined (CICS_W32) || defined(CICS_WNT)
48 #define CICSCALL __cdecl
53 #if !defined(_LP64) && !defined(__LP64__) && !defined(_WIN64) && !defined(__64BIT__)
55 #pragma options align=packed
56 #elif defined(CICS_HPUX)
108 #define ESI_SERVER_LENGTH 8
141 const char* password,
179 const char* oldPassword,
180 const char* newPassword,
200 #define ESI_NO_ERROR 0
204 #define ESI_ERR_USERID_INVALID -300
208 #define ESI_ERR_NULL_USERID -301
213 #define ESI_ERR_PASSWORD_INVALID -302
217 #define ESI_ERR_NULL_PASSWORD -303
222 #define ESI_ERR_PEM_NOT_SUPPORTED -304
227 #define ESI_ERR_PEM_NOT_ACTIVE -305
231 #define ESI_ERR_PASSWORD_EXPIRED -306
237 #define ESI_ERR_SECURITY_ERROR -307
243 #define ESI_ERR_RESOURCE_SHORTAGE -308
248 #define ESI_ERR_NO_SESSIONS -309
252 #define ESI_ERR_NO_CICS -310
257 #define ESI_ERR_CICS_DIED -311
261 #define ESI_ERR_UNKNOWN_SERVER -312
267 #define ESI_ERR_SYSTEM_ERROR -313
271 #define ESI_ERR_NULL_OLD_PASSWORD ESI_ERR_NULL_PASSWORD
275 #define ESI_ERR_NULL_NEW_PASSWORD -314
280 #define ESI_ERR_PASSWORD_REJECTED -315
285 #define ESI_ERR_MAX_SYSTEMS -316
290 #define ESI_ERR_MAX_SESSIONS -317
293 #if !defined(_LP64) && !defined(__LP64__) && !defined(_WIN64) && !defined(__64BIT__)
294 #if defined(CICS_AIX)
295 #pragma options align=reset
296 #elif defined(CICS_HPUX) && defined(__cplusplus)
298 #elif defined(CICS_HPUX) && defined(CICS_HPIT)
300 #elif defined(CICS_HPUX)
301 #pragma HP_ALIGN HPUX_NATURAL
struct _CTG_ConnToken_t * CTG_ConnToken_t
CTG_ConnToken_t represents a connection to a specific Gateway daemon.
int invalidCount
The number of invalid password verification attempts for the user ID since the last successful passwo...
int CTG_ESI_verifyPassword(CTG_ConnToken_t gwTok, const char *userid, const char *password, const char *server, ESI_DETAILS *esiDetailsPtr)
Sends an ESI request to the Gateway to verify a User ID and password or password phrase and then wait...
The ESI_DETAILS structure contains the meta-data returned from an ESI call.
int CTG_ESI_changePassword(CTG_ConnToken_t gwTok, const char *userid, const char *oldPassword, const char *newPassword, const char *server, ESI_DETAILS *esiDetailsPtr)
Sends an ESI request to the Gateway to change the password or password phrase for the given user ID a...
ESI_DATETIME expiryTime
The data and time when the current password will expire.
ESI_DATETIME lastAccessedTime
The date and time when the user ID was last accessed.
struct tm * CTG_ESI_convertTime(const ESI_DATETIME *esiTime, struct tm *result)
Converts a supplied ESI_DATETIME structure into a tm structure.
The ESI_DATETIME structure contains the component parts for a date and time returned as part of the m...
ESI_DATETIME lastVerifiedTime
The date and time when the user ID was last verified.