summaryrefslogtreecommitdiff
path: root/gnu/dist/grep/src/vms_fab.h
blob: 32e2e1cbea7959239558b39ef062d1974ca1d300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*	$NetBSD: vms_fab.h,v 1.1.1.3 2003/01/26 23:15:30 wiz Exp $	*/

/*
   This file includes the setup for the file access block for VMS.
   Written by Phillip C. Brisco 8/98.
 */

#include <rms.h>
#include <ssdef.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <starlet.h>

#if defined(VMS) && defined(__DECC) /* need function prototype */
# if (__DECC_VER<50790004)           /* have an own one         */
char *alloca(unsigned int);
# else
#  define alloca __ALLOCA
# endif
#endif


struct FAB fab;
struct NAM nam;

int length_of_fna_buffer;
int fab_stat;
char expanded_name[NAM$C_MAXRSS];
char fna_buffer[NAM$C_MAXRSS];
char result_name[NAM$C_MAXRSS];
char final_name[NAM$C_MAXRSS];
int max_file_path_size = NAM$C_MAXRSS;
char *arr_ptr[32767];