xref: /original-bsd/bin/pax/ftree.h (revision 88ad57e1)
1 /*-
2  * Copyright (c) 1992 Keith Muller.
3  * Copyright (c) 1992 The Regents of the University of California.
4  * All rights reserved.
5  *
6  * This code is derived from software contributed to Berkeley by
7  * Keith Muller of the University of California, San Diego.
8  *
9  * %sccs.include.redist.c%
10  *
11  *	@(#)ftree.h	1.1 (Berkeley) 12/13/92
12  */
13 
14 /*
15  * Data structure used by the ftree.c routines to store the file args to be
16  * handed to fts(). It keeps a reference count of which args generated a
17  * "selected" member
18  */
19 
20 typedef struct ftree {
21 	char		*fname;		/* file tree name */
22 	int		refcnt;		/* has tree had a selected file? */
23 	struct ftree	*fow;		/* pointer to next entry on list */
24 } FTREE;
25