xref: /csrg-svn/bin/pax/ftree.h (revision 60676)
157117Smuller /*-
257117Smuller  * Copyright (c) 1992 Keith Muller.
3*60676Sbostic  * Copyright (c) 1992, 1993
4*60676Sbostic  *	The Regents of the University of California.  All rights reserved.
557117Smuller  *
657117Smuller  * This code is derived from software contributed to Berkeley by
757117Smuller  * Keith Muller of the University of California, San Diego.
857117Smuller  *
957117Smuller  * %sccs.include.redist.c%
1057117Smuller  *
11*60676Sbostic  *	@(#)ftree.h	8.1 (Berkeley) 05/31/93
1257117Smuller  */
1357117Smuller 
1457117Smuller /*
1557117Smuller  * Data structure used by the ftree.c routines to store the file args to be
1657117Smuller  * handed to fts(). It keeps a reference count of which args generated a
1757117Smuller  * "selected" member
1857117Smuller  */
1957117Smuller 
2057117Smuller typedef struct ftree {
2157117Smuller 	char		*fname;		/* file tree name */
2257117Smuller 	int		refcnt;		/* has tree had a selected file? */
2357117Smuller 	struct ftree	*fow;		/* pointer to next entry on list */
2457117Smuller } FTREE;
25