/*--------------------------------------------------------------------------+ | Copyright (c) Oracle Corporation 1993. All Rights Reserved, Worldwide. | | | | NAME | | ue.h - User Exit Functions Header File. | | | | FUNCTION | | Define the exitr structure. Misc defines. | | | | CONTENTS | | | | NOTES | | | | MODIFIED | | KMajkut 03/23/93 Created. Split off from old ue.h | | Added definition of exitr from usrxit.h | +-------------------------------------------------------------------------*/ #ifndef UE #define UE #define MAX_ERRBUF_SIZE 256 extern char SRWERB[]; struct exitr /* Struct definition for exits */ { char *exnam; /* Name of the user exit */ int (*exfp)(/*_ char* _*/); /* Pointer to exit routine */ int extyp; /* Type code for exit routine */ #define XITCC1 1 /* C (for existing exits) */ #define XITCC 2 /* C (call-by-reference) */ #define XITCOB 3 /* Cobol */ #define XITFOR 4 /* Fortran */ #define XITPLI 5 /* PL/I */ #define XITPAS 6 /* Pascal */ #define XITAda 7 /* Ada */ }; /* Failure and Success return codes */ #define FATAL_ERR 535 /* Use this on really bad errors */ #define FAILURE 1403 /* Use this on recoverable error */ #define SUCCESS 0 /* Use for success */ typedef struct exitr exitr; extern exitr iapxtb[]; #endif /* UE */