HOPS
HOPS class reference
source
c_src
mk4util
include
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
fileset::maxfile
short maxfile
Definition:
fileset.h:12
fileset::mxfiles
short mxfiles[4]
Definition:
fileset.h:15
fileset::file
fstruct file[MAXFSET]
Definition:
fileset.h:16
fileset::scanname
char scanname[32]
Definition:
fileset.h:13
MAXFSET
#define MAXFSET
Definition:
fileset.h:6
fileset::expno
short expno
Definition:
fileset.h:11
fileset::rootname
char rootname[40]
Definition:
fileset.h:14
get_fileset
int get_fileset(char *rootname, struct fileset *fset)
Definition:
fileset.c:49
fileset::scandir
char scandir[256]
Definition:
fileset.h:10
fileset
Definition:
fileset.h:9
fstruct.h
fstruct
Definition:
fstruct.h:36
rootname
char * rootname(rootsum *rsumm)
Definition:
rootname.c:29
Generated on Thu Jul 31 2025 19:34:19 for HOPS by
1.9.1