1 /* $NetBSD: vms_fab.h,v 1.1.1.1 2016/01/10 21:36:21 christos Exp $ */ 2 3 /* 4 This file includes the setup for the file access block for VMS. 5 Written by Phillip C. Brisco 8/98. 6 */ 7 8 #include <rms.h> 9 #include <ssdef.h> 10 #include <stddef.h> 11 #include <stdio.h> 12 #include <stdlib.h> 13 #include <string.h> 14 #include <starlet.h> 15 16 #if defined(VMS) && defined(__DECC) /* need function prototype */ 17 # if (__DECC_VER<50790004) /* have an own one */ 18 char *alloca(unsigned int); 19 # else 20 # define alloca __ALLOCA 21 # endif 22 #endif 23 24 25 struct FAB fab; 26 struct NAM nam; 27 28 int length_of_fna_buffer; 29 int fab_stat; 30 char expanded_name[NAM$C_MAXRSS]; 31 char fna_buffer[NAM$C_MAXRSS]; 32 char result_name[NAM$C_MAXRSS]; 33 char final_name[NAM$C_MAXRSS]; 34 int max_file_path_size = NAM$C_MAXRSS; 35 char *arr_ptr[32767]; 36