HOPS
HOPS class reference
fileset.h
Go to the documentation of this file.
1 #ifndef FSTRUCT_H
2 #define FSTRUCT_H
3 
4 #include "fstruct.h"
5 
6 #define MAXFSET 10000
7 
8 struct fileset
9  {
10  char scandir[256]; /* Absolute pathname */
11  short expno; /* Part of directory name */
12  short maxfile; /* Biggest file number enountered */
13  char scanname[32]; /* Part of directory name */
14  char rootname[40]; /* Stripped of directory information */
15  short mxfiles[4]; /* maxfile, but by mod4 */
16  fstruct file[MAXFSET]; /* Files belonging to fileset */
17  };
18 
19 /* see note in fstruct.h about using prep_fstruct() when a fileset
20  * might contain total garbage. */
21 
22 /* code in sub/util */
23 extern int get_fileset(char *rootname, struct fileset *fset);
24 
25 #endif
26 
short maxfile
Definition: fileset.h:12
short mxfiles[4]
Definition: fileset.h:15
fstruct file[MAXFSET]
Definition: fileset.h:16
char scanname[32]
Definition: fileset.h:13
#define MAXFSET
Definition: fileset.h:6
short expno
Definition: fileset.h:11
char rootname[40]
Definition: fileset.h:14
int get_fileset(char *rootname, struct fileset *fset)
Definition: fileset.c:49
char scandir[256]
Definition: fileset.h:10
Definition: fileset.h:9
Definition: fstruct.h:36
char * rootname(rootsum *rsumm)
Definition: rootname.c:29