alias.h revision 3044
160786Sps/*-
260786Sps * Copyright (c) 1993
360786Sps *	The Regents of the University of California.  All rights reserved.
460786Sps *
560786Sps * This code is derived from software contributed to Berkeley by
660786Sps * Kenneth Almquist.
789019Sps *
889019Sps * Redistribution and use in source and binary forms, with or without
960786Sps * modification, are permitted provided that the following conditions
1060786Sps * are met:
1160786Sps * 1. Redistributions of source code must retain the above copyright
1260786Sps *    notice, this list of conditions and the following disclaimer.
1360786Sps * 2. Redistributions in binary form must reproduce the above copyright
1460786Sps *    notice, this list of conditions and the following disclaimer in the
1560786Sps *    documentation and/or other materials provided with the distribution.
1660786Sps * 3. All advertising materials mentioning features or use of this software
1760786Sps *    must display the following acknowledgement:
1860786Sps *	This product includes software developed by the University of
1960786Sps *	California, Berkeley and its contributors.
2060786Sps * 4. Neither the name of the University nor the names of its contributors
21195941Sdelphij *    may be used to endorse or promote products derived from this software
22195941Sdelphij *    without specific prior written permission.
23195941Sdelphij *
2460786Sps * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2560786Sps * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26195941Sdelphij * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2760786Sps * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2860786Sps * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2989019Sps * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3060786Sps * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3160786Sps * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3260786Sps * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3360786Sps * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3460786Sps * SUCH DAMAGE.
3560786Sps *
3660786Sps *	@(#)alias.h	8.1 (Berkeley) 5/31/93
3789019Sps *	$Id$
3889019Sps */
3989019Sps
4060786Sps#define ALIASINUSE	1
4160786Sps
4260786Spsstruct alias {
4360786Sps	struct alias *next;
44	char *name;
45	char *val;
46	int flag;
47};
48
49struct alias *lookupalias();
50