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