/********************************************************************************************************************************/ /* Created: 8-Feb-2008 16:43:06 by OpenVMS SDL EV2-3 */ /* Source: 25-JAN-2008 16:31:35 DISK$SYSMAN:[LAISHEV.WORK.ICQ]ICQDEF.SDL;8 */ /********************************************************************************************************************************/ /*** MODULE ICQDEF IDENT ICQDEF-1-X ***/ #ifndef __ICQDEF_LOADED #define __ICQDEF_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: */ /* ICQ/OSCAR Server for OpenVMS */ /* */ /* Abstract: */ /* An interface module defined OSCAR primitives, constants. This story is based on */ /* http://iserverd1.khstu.ru/oscar/ */ /* */ /* */ /* Author: */ /* Ruslan R. Laishev */ /* */ /* Creation Date: 25-JAN-2008 */ /* */ /* Modification History: */ /* */ /* */ /*-- */ #ifdef __NEW_STARLET typedef struct _icq_nodectx { unsigned int srvctx$l_lknode; /* Lock id of the resources with the 'node'-value block */ } ICQ_NODECTX; #else /* __OLD_STARLET */ struct icq_nodectx { unsigned int srvctx$l_lknode; /* Lock id of the resources with the 'node'-value block */ } ; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef struct _icq_node { unsigned int node$l_lf; /* Server load factor */ } ICQ_NODE; #else /* __OLD_STARLET */ struct icq_node { unsigned int node$l_lf; /* Server load factor */ } ; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef struct _icq_quemsg { } ICQ_QUEMSG; #else /* __OLD_STARLET */ struct icq_quemsg { } ; #endif /* #ifdef __NEW_STARLET */ /* */ #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 /* __ICQDEF_LOADED */