standardize sccs keyword lines
[unix-history] / usr / src / usr.bin / mail / config.c
CommitLineData
2ae9f53f
SL
1#ifndef lint
2static char sccsid[] = "@(#)config.c 1.8 (Berkeley) %G%";
3#endif
ebc9f528
KS
4
5/*
6 * This file contains definitions of network data used by Mail
7 * when replying. See also: configdefs.h and optim.c
8 */
9
10/*
11 * The subterfuge with CONFIGFILE is to keep cc from seeing the
12 * external defintions in configdefs.h.
13 */
14#define CONFIGFILE
15#include "configdefs.h"
16
17/*
18 * Set of network separator characters.
19 */
20char *metanet = "!^:%@.";
21
22/*
23 * Host table of "known" hosts. See the comment in configdefs.h;
24 * not all accessible hosts need be here (fortunately).
25 */
26struct netmach netmach[] = {
4d5d6c37 27 "berkeley", '7', AN|SN,
ebc9f528
KS
28 "a", 'a', SN,
29 "b", 'b', SN,
30 "c", 'c', SN,
31 "d", 'd', SN,
32 "e", 'e', SN,
33 "f", 'f', SN,
34 "g", 'g', SN,
4d5d6c37
KS
35 "ingres", 'i', SN,
36 "ing70", 'i', SN,
ebc9f528
KS
37 "ingvax", 'j', SN|BN,
38 "virus", 'k', SN,
39 "vlsi", 'l', SN,
40 "image", 'm', SN,
41 "esvax", 'o', SN,
42 "sesm", 'o', SN,
c57de9d9 43 "ucbcad", 'p', SN|BN,
ebc9f528 44 "q", 'q', SN,
0a44ff1f 45 "kim", 'n', SN,
ebc9f528
KS
46 "research", 'R', BN,
47 "arpavax", 'r', SN|BN,
48 "src", 's', SN,
49 "mathstat", 't', SN,
ebc9f528
KS
50 "vax", 'v', BN|SN,
51 "ucb", 'v', BN|SN,
52 "ucbvax", 'v', BN|SN,
53 "onyx", 'x', SN,
ebc9f528
KS
54 "cory", 'y', SN,
55 "eecs40", 'z', SN,
477a74ec 56 EMPTY, EMPTYID, SN, /* Filled in dynamically */
ebc9f528
KS
57 0, 0, 0
58};
59
60/*
61 * Table of ordered of preferred networks. You probably won't need
62 * to fuss with this unless you add a new network character (foolishly).
63 */
64struct netorder netorder[] = {
65 AN, '@',
66 AN, '%',
67 SN, ':',
68 BN, '!',
69 -1, 0
70};
71
72/*
73 * Table to convert from network separator code in address to network
74 * bit map kind. With this transformation, we can deal with more than
75 * one character having the same meaning easily.
76 */
cb9c9660 77struct ntypetab ntypetab[] = {
ebc9f528
KS
78 '%', AN,
79 '@', AN,
80 ':', SN,
81 '!', BN,
82 '^', BN,
83 0, 0
84};
85
cb9c9660 86struct nkindtab nkindtab[] = {
ebc9f528
KS
87 AN, IMPLICIT,
88 BN, EXPLICIT,
89 SN, IMPLICIT,
90 0, 0
91};