version 1.10, 1999/10/05 22:06:24 |
version 1.11, 1999/12/18 02:11:27 |
|
|
void |
void |
Targ_Init () |
Targ_Init () |
{ |
{ |
allTargets = Lst_Init (FALSE); |
allTargets = Lst_Init(); |
Hash_InitTable (&targets, HTSIZE); |
Hash_InitTable (&targets, HTSIZE); |
} |
} |
|
|
|
|
gn->childMade = FALSE; |
gn->childMade = FALSE; |
gn->order = 0; |
gn->order = 0; |
gn->mtime = gn->cmtime = 0; |
gn->mtime = gn->cmtime = 0; |
gn->iParents = Lst_Init (FALSE); |
gn->iParents = Lst_Init(); |
gn->cohorts = Lst_Init (FALSE); |
gn->cohorts = Lst_Init(); |
gn->parents = Lst_Init (FALSE); |
gn->parents = Lst_Init(); |
gn->children = Lst_Init (FALSE); |
gn->children = Lst_Init(); |
gn->successors = Lst_Init (FALSE); |
gn->successors = Lst_Init(); |
gn->preds = Lst_Init (FALSE); |
gn->preds = Lst_Init(); |
gn->context = Lst_Init (FALSE); |
gn->context = Lst_Init(); |
gn->commands = Lst_Init (FALSE); |
gn->commands = Lst_Init(); |
gn->suffix = NULL; |
gn->suffix = NULL; |
|
|
#ifdef CLEANUP |
#ifdef CLEANUP |
if (allGNs == NULL) |
if (allGNs == NULL) |
allGNs = Lst_Init(FALSE); |
allGNs = Lst_Init(); |
Lst_AtEnd(allGNs, (ClientData) gn); |
Lst_AtEnd(allGNs, (ClientData) gn); |
#endif |
#endif |
|
|
|
|
register GNode *gn; /* node in tLn */ |
register GNode *gn; /* node in tLn */ |
char *name; |
char *name; |
|
|
nodes = Lst_Init (FALSE); |
nodes = Lst_Init(); |
|
|
if (Lst_Open (names) == FAILURE) { |
if (Lst_Open (names) == FAILURE) { |
return (nodes); |
return (nodes); |