|
|
1.1 root 1: #ident "@(#)config.c 1.3 'attmail mail(1) command'"
2: #ident "@(#)mailx:config.c 1.2.1.1"
3: /* Copyright (c) 1984 AT&T */
4: /* All Rights Reserved */
5:
6: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
7: /* The copyright notice above does not evidence any */
8: /* actual or intended publication of such source code. */
9:
10: #ident "@(#)mailx:config.c 1.2"
11:
12: /*
13: * mailx -- a modified version of a University of California at Berkeley
14: * mail program
15: */
16:
17: /*
18: * This file contains definitions of network data used by mailx
19: * when replying. See also: configdefs.h and optim.c
20: */
21:
22: /*
23: * The subterfuge with CONFIGFILE is to keep cc from seeing the
24: * external definitions in configdefs.h.
25: */
26: #define CONFIGFILE
27: #include "configdefs.h"
28:
29: /*
30: * Set of network separator characters.
31: */
32: char *metanet = "!^:%@.";
33:
34: /*
35: * Host table of "known" hosts. See the comment in configdefs.h;
36: * not all accessible hosts need be here (fortunately).
37: */
38: struct netmach netmach[] = {
39: EMPTY, EMPTYID, BN|AN, /* Filled in dynamically */
40: EMPTY, EMPTYID, BN|AN, /* Filled in dynamically */
41: 0, 0, 0
42: };
43:
44: /*
45: * Table to convert from network separator code in address to network
46: * bit map kind. With this transformation, we can deal with more than
47: * one character having the same meaning easily.
48: */
49: struct ntypetab ntypetab[] = {
50: '%', AN,
51: '@', AN,
52: ':', SN,
53: '!', BN,
54: '^', BN,
55: 0, 0
56: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.