1 # 2 3 static char *SccsID[] = "@(#)config.c 1.3 02/14/82"; 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 */ 20 char *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 */ 26 struct netmach netmach[] = { 27 "c70", '7', AN|SN, 28 "berkeley", '7', AN|SN, 29 "berk-c70", '7', AN|SN, 30 "ucb-c70", '7', AN|SN, 31 "a", 'a', SN, 32 "b", 'b', SN, 33 "c", 'c', SN, 34 "d", 'd', SN, 35 "e", 'e', SN, 36 "f", 'f', SN, 37 "g", 'g', SN, 38 "ingres", 'i', SN, 39 "ing70", 'i', SN, 40 "ingvax", 'j', SN|BN, 41 "virus", 'k', SN, 42 "vlsi", 'l', SN, 43 "image", 'm', SN, 44 "esvax", 'o', SN, 45 "sesm", 'o', SN, 46 "q", 'q', SN, 47 "kim", 'n', SN, 48 "research", 'R', BN, 49 "arpavax", 'r', SN|BN, 50 "src", 's', SN, 51 "mathstat", 't', SN, 52 "csvax", 'v', BN|SN, 53 "vax", 'v', BN|SN, 54 "ucb", 'v', BN|SN, 55 "ucbvax", 'v', BN|SN, 56 "onyx", 'x', SN, 57 "cory", 'y', SN, 58 "eecs40", 'z', SN, 59 0, 0, 0 60 }; 61 62 /* 63 * Table of ordered of preferred networks. You probably won't need 64 * to fuss with this unless you add a new network character (foolishly). 65 */ 66 struct netorder netorder[] = { 67 AN, '@', 68 AN, '%', 69 SN, ':', 70 BN, '!', 71 -1, 0 72 }; 73 74 /* 75 * Table to convert from network separator code in address to network 76 * bit map kind. With this transformation, we can deal with more than 77 * one character having the same meaning easily. 78 */ 79 struct nettypetab nettypetab[] = { 80 '%', AN, 81 '@', AN, 82 ':', SN, 83 '!', BN, 84 '^', BN, 85 0, 0 86 }; 87 88 struct netkindtab netkindtab[] = { 89 AN, IMPLICIT, 90 BN, EXPLICIT, 91 SN, IMPLICIT, 92 0, 0 93 }; 94