14336Skurt # 24336Skurt 3*5204Skurt static char *SccsID[] = "@(#)config.c 1.2 12/07/81"; 44336Skurt 54336Skurt /* 64336Skurt * This file contains definitions of network data used by Mail 74336Skurt * when replying. See also: configdefs.h and optim.c 84336Skurt */ 94336Skurt 104336Skurt /* 114336Skurt * The subterfuge with CONFIGFILE is to keep cc from seeing the 124336Skurt * external defintions in configdefs.h. 134336Skurt */ 144336Skurt #define CONFIGFILE 154336Skurt #include "configdefs.h" 164336Skurt 174336Skurt /* 184336Skurt * Set of network separator characters. 194336Skurt */ 204336Skurt char *metanet = "!^:%@."; 214336Skurt 224336Skurt /* 234336Skurt * Host table of "known" hosts. See the comment in configdefs.h; 244336Skurt * not all accessible hosts need be here (fortunately). 254336Skurt */ 264336Skurt struct netmach netmach[] = { 27*5204Skurt "c70", '7', AN|SN, 28*5204Skurt "berkeley", '7', AN|SN, 29*5204Skurt "berk-c70", '7', AN|SN, 30*5204Skurt "ucb-c70", '7', AN|SN, 314336Skurt "a", 'a', SN, 324336Skurt "b", 'b', SN, 334336Skurt "c", 'c', SN, 344336Skurt "d", 'd', SN, 354336Skurt "e", 'e', SN, 364336Skurt "f", 'f', SN, 374336Skurt "g", 'g', SN, 38*5204Skurt "ingres", 'i', SN, 39*5204Skurt "ing70", 'i', SN, 404336Skurt "ingvax", 'j', SN|BN, 414336Skurt "virus", 'k', SN, 424336Skurt "vlsi", 'l', SN, 434336Skurt "image", 'm', SN, 444336Skurt "esvax", 'o', SN, 454336Skurt "sesm", 'o', SN, 464336Skurt "q", 'q', SN, 474336Skurt "research", 'R', BN, 484336Skurt "arpavax", 'r', SN|BN, 494336Skurt "src", 's', SN, 504336Skurt "mathstat", 't', SN, 514336Skurt "csvax", 'v', BN|SN, 524336Skurt "vax", 'v', BN|SN, 534336Skurt "ucb", 'v', BN|SN, 544336Skurt "ucbvax", 'v', BN|SN, 554336Skurt "onyx", 'x', SN, 564336Skurt "cory", 'y', SN, 574336Skurt "eecs40", 'z', SN, 584336Skurt 0, 0, 0 594336Skurt }; 604336Skurt 614336Skurt /* 624336Skurt * Table of ordered of preferred networks. You probably won't need 634336Skurt * to fuss with this unless you add a new network character (foolishly). 644336Skurt */ 654336Skurt struct netorder netorder[] = { 664336Skurt AN, '@', 674336Skurt AN, '%', 684336Skurt SN, ':', 694336Skurt BN, '!', 704336Skurt -1, 0 714336Skurt }; 724336Skurt 734336Skurt /* 744336Skurt * Table to convert from network separator code in address to network 754336Skurt * bit map kind. With this transformation, we can deal with more than 764336Skurt * one character having the same meaning easily. 774336Skurt */ 784336Skurt struct nettypetab nettypetab[] = { 794336Skurt '%', AN, 804336Skurt '@', AN, 814336Skurt ':', SN, 824336Skurt '!', BN, 834336Skurt '^', BN, 844336Skurt 0, 0 854336Skurt }; 864336Skurt 874336Skurt struct netkindtab netkindtab[] = { 884336Skurt AN, IMPLICIT, 894336Skurt BN, EXPLICIT, 904336Skurt SN, IMPLICIT, 914336Skurt 0, 0 924336Skurt }; 93