xref: /original-bsd/bin/sh/alias.h (revision b3c06cab)
1 /*-
2  * Copyright (c) 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Kenneth Almquist.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)alias.h	8.2 (Berkeley) 05/04/95
11  */
12 
13 #define ALIASINUSE	1
14 
15 struct alias {
16 	struct alias *next;
17 	char *name;
18 	char *val;
19 	int flag;
20 };
21 
22 struct alias *lookupalias __P((char *, int));
23 int aliascmd __P((int, char **));
24 int unaliascmd __P((int, char **));
25 void rmaliases __P((void));
26