Commit | Line | Data |
---|---|---|
9552e6b8 DF |
1 | /* |
2 | * Copyright (c) 1980 Regents of the University of California. | |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
5 | */ | |
6 | ||
2ae9f53f | 7 | #ifndef lint |
2fd8b883 | 8 | static char *sccsid = "@(#)config.c 5.2 (Berkeley) %G%"; |
9552e6b8 | 9 | #endif not lint |
ebc9f528 KS |
10 | |
11 | /* | |
12 | * This file contains definitions of network data used by Mail | |
13 | * when replying. See also: configdefs.h and optim.c | |
14 | */ | |
15 | ||
16 | /* | |
17 | * The subterfuge with CONFIGFILE is to keep cc from seeing the | |
18 | * external defintions in configdefs.h. | |
19 | */ | |
20 | #define CONFIGFILE | |
21 | #include "configdefs.h" | |
22 | ||
23 | /* | |
24 | * Set of network separator characters. | |
25 | */ | |
26 | char *metanet = "!^:%@."; | |
27 | ||
28 | /* | |
29 | * Host table of "known" hosts. See the comment in configdefs.h; | |
30 | * not all accessible hosts need be here (fortunately). | |
31 | */ | |
32 | struct netmach netmach[] = { | |
bf8eb03a | 33 | EMPTY, EMPTYID, AN, /* Filled in dynamically */ |
ebc9f528 KS |
34 | 0, 0, 0 |
35 | }; | |
36 | ||
37 | /* | |
38 | * Table of ordered of preferred networks. You probably won't need | |
39 | * to fuss with this unless you add a new network character (foolishly). | |
40 | */ | |
41 | struct netorder netorder[] = { | |
42 | AN, '@', | |
43 | AN, '%', | |
44 | SN, ':', | |
45 | BN, '!', | |
46 | -1, 0 | |
47 | }; | |
48 | ||
49 | /* | |
50 | * Table to convert from network separator code in address to network | |
51 | * bit map kind. With this transformation, we can deal with more than | |
52 | * one character having the same meaning easily. | |
53 | */ | |
cb9c9660 | 54 | struct ntypetab ntypetab[] = { |
ebc9f528 KS |
55 | '%', AN, |
56 | '@', AN, | |
57 | ':', SN, | |
58 | '!', BN, | |
59 | '^', BN, | |
60 | 0, 0 | |
61 | }; | |
62 | ||
cb9c9660 | 63 | struct nkindtab nkindtab[] = { |
ebc9f528 KS |
64 | AN, IMPLICIT, |
65 | BN, EXPLICIT, | |
66 | SN, IMPLICIT, | |
67 | 0, 0 | |
68 | }; |