1 |
adcroft |
1.1 |
/* $Id: FD.h,v 1.1 1997/03/22 20:02:35 cnh Exp $*/ |
2 |
|
|
|
3 |
|
|
/* =================== File directory info. ======================= */ |
4 |
|
|
|
5 |
|
|
/* Structure of file directory records */ |
6 |
|
|
struct fdDRecord { |
7 |
|
|
char *name; /* Directory name */ |
8 |
|
|
}; |
9 |
|
|
struct fdFRecord { |
10 |
|
|
char *name; /* Source file name */ |
11 |
|
|
char *hname; /* HTML file name */ |
12 |
|
|
}; |
13 |
|
|
typedef struct fdDRecord fdDRecord; |
14 |
|
|
typedef struct fdFRecord fdFRecord; |
15 |
|
|
|
16 |
|
|
/* Source and HTML linked lists */ |
17 |
|
|
struct fdSTab { |
18 |
|
|
fdFRecord fileNam; |
19 |
|
|
struct fdSTab *next; |
20 |
|
|
struct fdSTab *prev; |
21 |
|
|
}; |
22 |
|
|
typedef struct fdSTab fdSTab; |
23 |
|
|
|
24 |
|
|
/* Directory linked list */ |
25 |
|
|
struct fdDTab { |
26 |
|
|
fdDRecord dir; |
27 |
|
|
struct fdDTab *next; |
28 |
|
|
struct fdDTab *prev; |
29 |
|
|
fdSTab *sList; |
30 |
|
|
}; |
31 |
|
|
typedef struct fdDTab fdDTab; |
32 |
|
|
|
33 |
|
|
fdDTab *fdList; |
34 |
|
|
fdDTab *fdListHead; |
35 |
|
|
fdDTab *fdListTail; |