version 1.39, 2000/11/22 17:22:28 |
version 1.40, 2000/11/24 14:27:20 |
|
|
/* |
/* |
* Structure describing an individual suffix. |
* Structure describing an individual suffix. |
*/ |
*/ |
typedef struct _Suff { |
typedef struct Suff_ { |
char *name; /* The suffix itself */ |
char *name; /* The suffix itself */ |
int nameLen; /* Length of the suffix */ |
int nameLen; /* Length of the suffix */ |
short flags; /* Type of suffix */ |
short flags; /* Type of suffix */ |
|
|
/* |
/* |
* Structure used in the search for implied sources. |
* Structure used in the search for implied sources. |
*/ |
*/ |
typedef struct _Src { |
typedef struct Src_ { |
char *file; /* The file to look for */ |
char *file; /* The file to look for */ |
char *pref; /* Prefix from which file was formed */ |
char *pref; /* Prefix from which file was formed */ |
Suff *suff; /* The suffix on the file */ |
Suff *suff; /* The suffix on the file */ |
struct _Src *parent; /* The Src for which this is a source */ |
struct Src_ *parent; /* The Src for which this is a source */ |
GNode *node; /* The node describing the file */ |
GNode *node; /* The node describing the file */ |
int children; /* Count of existing children (so we don't free |
int children; /* Count of existing children (so we don't free |
* this thing too early or never nuke it) */ |
* this thing too early or never nuke it) */ |