xref: /csrg-svn/bin/csh/dir.h (revision 60765)
147823Sbostic /*-
2*60765Sbostic  * Copyright (c) 1980, 1991, 1993
3*60765Sbostic  *	The Regents of the University of California.  All rights reserved.
421945Sdist  *
547823Sbostic  * %sccs.include.redist.c%
647823Sbostic  *
7*60765Sbostic  *	@(#)dir.h	8.1 (Berkeley) 05/31/93
821945Sdist  */
91289Sbill 
101289Sbill /*
111289Sbill  * Structure for entries in directory stack.
121289Sbill  */
1349992Sbostic struct directory {
1449992Sbostic     struct directory *di_next;	/* next in loop */
1549992Sbostic     struct directory *di_prev;	/* prev in loop */
1649992Sbostic     unsigned short *di_count;	/* refcount of processes */
1749992Sbostic     Char   *di_name;		/* actual name */
181289Sbill };
191289Sbill struct directory *dcwd;		/* the one we are in now */
20