1 # 2 3 static char *SccsID[] = "@(#)config.c 1.4 03/24/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 "ucbcad", 'p', SN|BN, 47 "q", 'q', SN, 48 "kim", 'n', SN, 49 "research", 'R', BN, 50 "arpavax", 'r', SN|BN, 51 "src", 's', SN, 52 "mathstat", 't', SN, 53 "csvax", 'v', BN|SN, 54 "vax", 'v', BN|SN, 55 "ucb", 'v', BN|SN, 56 "ucbvax", 'v', BN|SN, 57 "onyx", 'x', SN, 58 "cory", 'y', SN, 59 "eecs40", 'z', SN, 60 0, 0, 0 61 }; 62 63 /* 64 * Table of ordered of preferred networks. You probably won't need 65 * to fuss with this unless you add a new network character (foolishly). 66 */ 67 struct netorder netorder[] = { 68 AN, '@', 69 AN, '%', 70 SN, ':', 71 BN, '!', 72 -1, 0 73 }; 74 75 /* 76 * Table to convert from network separator code in address to network 77 * bit map kind. With this transformation, we can deal with more than 78 * one character having the same meaning easily. 79 */ 80 struct nettypetab nettypetab[] = { 81 '%', AN, 82 '@', AN, 83 ':', SN, 84 '!', BN, 85 '^', BN, 86 0, 0 87 }; 88 89 struct netkindtab netkindtab[] = { 90 AN, IMPLICIT, 91 BN, EXPLICIT, 92 SN, IMPLICIT, 93 0, 0 94 }; 95