/* * * LIB - universal context definitions [not in Starlet] */ #ifndef _UNCDEF_H #define _UNCDEF_H /* UNCHDRDEF - Universal Context Segment Header definition */ #define UNC$C_JPI 1 /* JPI context segment */ #define UNC$C_UAI 2 /* UAI context segment */ #define UNC$C_AUDIT_EVENT 3 /* AUDIT_EVENT context segment */ #define UNC$C_OBJECT 4 /* object management context segment */ #define UNC$C_ORB_FIXUP 5 /* writeback ORB after boot fixup */ #define UNC$C_OBJECT_SERVICE 6 /* object service request context */ #define UNC$C_HDR_LENGTH 16 #define UNC$K_HDR_LENGTH 16 /* size of context segment header */ #define UNC$C_LIST 16 #define UNC$K_LIST 16 /* offset to first context block */ #define UNC$S_UNCHDRDEF 16 struct unchdrdef { unsigned long unc$l_flink; /* forward link to next context segment */ unsigned long unc$l_blink; /* back link to prev context segment */ unsigned short unc$w_size; /* total size of context segment */ unsigned char unc$b_type; /* VMS type of block (DYN$C_UNC) */ unsigned char unc$b_subtype; /* type of context segment */ unsigned short unc$w_count; /* number of context blocks in segment */ unsigned short unc$w_free_count; /* number of entries free for use */ #define unc$w_unused_w1 unc$w_free_count }; /* Universal Context Block definition */ #ifndef NO_VMS_V6 #define UNC$V_ENTRY_INUSE 0 #define UNC$V_NEW_ENTRY 1 #define UNC$M_ENTRY_INUSE (1<