xref: /csrg-svn/bin/sh/alias.h (revision 69272)
160700Sbostic /*-
260716Sbostic  * Copyright (c) 1993
360716Sbostic  *	The Regents of the University of California.  All rights reserved.
460700Sbostic  *
560700Sbostic  * This code is derived from software contributed to Berkeley by
660700Sbostic  * Kenneth Almquist.
760700Sbostic  *
860700Sbostic  * %sccs.include.redist.c%
960700Sbostic  *
10*69272Schristos  *	@(#)alias.h	8.2 (Berkeley) 05/04/95
1160700Sbostic  */
1260700Sbostic 
1353652Smarc #define ALIASINUSE	1
1453652Smarc 
1553652Smarc struct alias {
1653652Smarc 	struct alias *next;
1753652Smarc 	char *name;
1853652Smarc 	char *val;
1953652Smarc 	int flag;
2053652Smarc };
2153652Smarc 
22*69272Schristos struct alias *lookupalias __P((char *, int));
23*69272Schristos int aliascmd __P((int, char **));
24*69272Schristos int unaliascmd __P((int, char **));
25*69272Schristos void rmaliases __P((void));
26