date and time created 91/03/07 20:27:31 by bostic
[unix-history] / usr / src / bin / sh / expand.h
CommitLineData
792d1bd5
KB
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * 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 * @(#)expand.h 5.1 (Berkeley) %G%
11 */
12
13struct strlist {
14 struct strlist *next;
15 char *text;
16};
17
18
19struct arglist {
20 struct strlist *list;
21 struct strlist **lastp;
22};
23
24#ifdef __STDC__
25union node;
26void expandarg(union node *, struct arglist *, int);
27void expandhere(union node *, int);
28int patmatch(char *, char *);
29void rmescapes(char *);
30int casematch(union node *, char *);
31#else
32void expandarg();
33void expandhere();
34int patmatch();
35void rmescapes();
36int casematch();
37#endif