2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <afsconfig.h>
11 #include <afs/param.h>
17 #include <afs/errmap_nt.h>
18 #include <afs/afsutil.h>
19 #include <WINNT/afssw.h>
27 AddToList(struct filestr **ah, char *aname)
30 tf = malloc(sizeof(struct filestr));
33 tf->name = strdup(aname);
38 ZapList(struct filestr **ah)
40 struct filestr *tf, *nf;
41 for (tf = *ah; tf; tf = nf) {
42 nf = tf->next; /* save before freeing */