/********************************************************************************************************************************/ /* Created: 3-Sep-2007 16:45:52 by OpenVMS SDL EV2-3 */ /* Source: 03-SEP-2007 14:46:16 DISK$SYSMAN:[LAISHEV.WORK.MX]MXSVCDEF.SDL;17 */ /********************************************************************************************************************************/ /*** MODULE MXSVCDEF IDENT MXSVCDEF-1-X ***/ #ifndef __MXSVCDEF_LOADED #define __MXSVCDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /*++ */ /* Facility: */ /* Applications for MX */ /* */ /* Abstract: */ /* */ /* Author: */ /* Ruslan R. Laishev */ /* */ /* Creation Date: 16-DEC-2005 */ /* */ /* Modification History: */ /* */ /* */ /*-- */ /*++ */ /* */ /* Message Quota usage/stat record */ /* */ /*-- */ #ifdef __NEW_STARLET typedef struct _mqstat { unsigned int mqstat$l_datestamp; /* Date stamp in form YYYYMMDD */ char mqstat$t_user [12]; /* VMS username */ unsigned int mqstat$l_msgcnt; /* Sent message count */ } MQSTAT; #else /* __OLD_STARLET */ struct mqstat { unsigned int mqstat$l_datestamp; /* Date stamp in form YYYYMMDD */ char mqstat$t_user [12]; /* VMS username */ unsigned int mqstat$l_msgcnt; /* Sent message count */ } ; #endif /* #ifdef __NEW_STARLET */ #define MQSTATKEYSZ 16 /*++ */ /* */ /* Message Quota accounting record */ /* */ /*-- */ #ifdef __NEW_STARLET typedef struct _mqacc { unsigned __int64 mqacc$q_logintime; /* Login date & time, VMS time */ char mqacc$t_user [12]; /* VMS username */ unsigned int mqacc$l_sessid; /* Session Id */ unsigned int mqacc$l_msgsize; /* Sent message size, in bytes */ char mqacc$t_addrs [128]; /* Variable part of record: From,To */ } MQACC; #else /* __OLD_STARLET */ struct mqacc { unsigned int mqacc$q_logintime [2]; /* Login date & time, VMS time */ char mqacc$t_user [12]; /* VMS username */ unsigned int mqacc$l_sessid; /* Session Id */ unsigned int mqacc$l_msgsize; /* Sent message size, in bytes */ char mqacc$t_addrs [128]; /* Variable part of record: From,To */ } ; #endif /* #ifdef __NEW_STARLET */ /*++ */ /* */ /* Right Id/Message Quota table entry */ /* */ /*-- */ #ifdef __NEW_STARLET typedef struct _mqent { unsigned int mqent$l_id; /* Right Id in VMS binary form */ unsigned int mqent$l_mquota; /* Message quota limit */ } MQENT; #else /* __OLD_STARLET */ struct mqent { unsigned int mqent$l_id; /* Right Id in VMS binary form */ unsigned int mqent$l_mquota; /* Message quota limit */ } ; #endif /* #ifdef __NEW_STARLET */ #define MQENTMAX 8 /* A maximum entries in the Message Quota table */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __MXSVCDEF_LOADED */