/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:44 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:38 _$11$DUA933:[BUILD.SDL]RMSUSR.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $FSCNDEF ***/ #ifndef __FSCNDEF_LOADED #define __FSCNDEF_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 /*++ */ /* */ /* Descriptor codes for SYS$FILESCAN */ /* */ /* */ #define FSCN$M_NODE 0x1 #define FSCN$M_DEVICE 0x2 #define FSCN$M_ROOT 0x4 #define FSCN$M_DIRECTORY 0x8 #define FSCN$M_NAME 0x10 #define FSCN$M_TYPE 0x20 #define FSCN$M_VERSION 0x40 #define FSCN$M_NODE_PRIMARY 0x80 #define FSCN$M_NODE_ACS 0x100 #define FSCN$M_NODE_SECONDARY 0x200 struct fldflags { unsigned fscn$v_node : 1; /* Node name present */ unsigned fscn$v_device : 1; /* Device name present */ unsigned fscn$v_root : 1; /* Root directory present */ unsigned fscn$v_directory : 1; /* Directory present */ unsigned fscn$v_name : 1; /* File name present */ unsigned fscn$v_type : 1; /* File type present */ unsigned fscn$v_version : 1; /* File version present */ unsigned fscn$v_node_primary : 1; unsigned fscn$v_node_acs : 1; unsigned fscn$v_node_secondary : 1; unsigned fscndef$$_fill_1 : 22; /* Fill out longword */ } ; #define FSCN$_FILESPEC 1 /* complete filespec */ #define FSCN$_NODE 2 /* node:: field */ #define FSCN$_DEVICE 3 /* device: field */ #define FSCN$_ROOT 4 /* [root.] field */ #define FSCN$_DIRECTORY 5 /* [directory] field */ #define FSCN$_NAME 6 /* name field */ #define FSCN$_TYPE 7 /* .typ field */ #define FSCN$_VERSION 8 /* ;version field */ #define FSCN$_NODE_PRIMARY 9 #define FSCN$_NODE_ACS 10 #define FSCN$_NODE_SECONDARY 11 #define FSCN$S_ITEM_LEN 8 struct fscndef { unsigned short int fscn$w_length; /* return length word */ unsigned short int fscn$w_item_code; /* item code value */ unsigned int fscn$l_addr; /* component address */ } ; #ifdef __cplusplus } #endif #pragma standard #endif /* __FSCNDEF_LOADED */