]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - warp/intrp.h
cgram: consistently use char for characters
[bsdgames-darwin.git] / warp / intrp.h
1 /* Header: intrp.h,v 7.0.1.1 86/12/12 16:59:45 lwall Exp
2 *
3 * Log: intrp.h,v
4 * Revision 7.0.1.1 86/12/12 16:59:45 lwall
5 * Baseline for net release.
6 *
7 * Revision 7.0 86/10/08 15:12:27 lwall
8 * Split into separate files. Added amoebas and pirates.
9 *
10 */
11
12 EXT char *origdir INIT(NULL); /* cwd when warp invoked */
13 EXT char *homedir INIT(NULL); /* login directory */
14 EXT char *dotdir INIT(NULL); /* where . files go */
15 EXT char *logname INIT(NULL); /* login id */
16 EXT char *hostname; /* host name */
17 EXT char *realname INIT(NULL); /* real name from /etc/passwd */
18
19 void intrp_init(char *);
20 char *filexp(const char *);
21 void interp(char *, size_t, const char *);
22 char *dointerp(char *, size_t, const char *, const char *);