/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:38:05 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:16 _$11$DUA933:[BUILD.SDL]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $POSIX_SERVICEDEF ***/ #ifndef __POSIX_SERVICEDEF_LOADED #define __POSIX_SERVICEDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /* The following definitions are passed in the ctrl parameter. */ #define POSIX$C_BLOCK_FORK 1 /* block fork execution */ #define POSIX$C_UNBLOCK_FORK 2 /* unblock fork execution */ #define POSIX$C_DISABLE_FORK 3 /* disable fork */ #define POSIX$C_SETUP_CALLBACK 4 /* setup image callback */ #define POSIX$C_SYSTEM_CALLBACK 5 /* setup system callback */ #define POSIX$C_PROCESS_CALLBACK 6 /* setup process permanent callback */ #define POSIX$C_CANCEL_CALLBACK 7 /* cancel a callback */ #define POSIX$C_CONTINUE 8 /* continue callbacks */ #define POSIX$C_TEST_CALLS 9 /* temporary value for testing */ #define POSIX$C_MAX_CNTRL 9 #define POSIX$K_MAX_CNTRL 9 /* */ /* The following definitions are for the 'when' mask. They define when */ /* callbacks are to be made. */ /* */ #define POSIX$V_CALL_BEFORE_COPY 0 #define POSIX$V_CALL_IN_CHILD 1 #define POSIX$V_CALL_AFTER_CHILD 2 #define POSIX$V_CALL_ON_FAILURE 3 #define POSIX$V_CALL_BEFORE_COPY_FAIL 4 #define POSIX$V_CALL_IN_CHILD_FAIL 5 #define POSIX$V_CALL_AFTER_CHILD_FAIL 6 #define POSIX$M_CALL_BEFORE_COPY 1 #define POSIX$M_CALL_IN_CHILD 2 #define POSIX$M_CALL_AFTER_CHILD 4 #define POSIX$M_CALL_ON_FAILURE 8 #define POSIX$M_CALL_BEFORE_COPY_FAIL 16 #define POSIX$M_CALL_IN_CHILD_FAIL 32 #define POSIX$M_CALL_AFTER_CHILD_FAIL 64 #ifdef __cplusplus } #endif #pragma standard #endif /* __POSIX_SERVICEDEF_LOADED */