1*14527Ssam #ifndef lint 2*14527Ssam static char sccsid[] = "@(#)config.c 1.8 (Berkeley) 08/11/83"; 3*14527Ssam #endif 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[] = { 275204Skurt "berkeley", '7', AN|SN, 284336Skurt "a", 'a', SN, 294336Skurt "b", 'b', SN, 304336Skurt "c", 'c', SN, 314336Skurt "d", 'd', SN, 324336Skurt "e", 'e', SN, 334336Skurt "f", 'f', SN, 344336Skurt "g", 'g', SN, 355204Skurt "ingres", 'i', SN, 365204Skurt "ing70", 'i', SN, 374336Skurt "ingvax", 'j', SN|BN, 384336Skurt "virus", 'k', SN, 394336Skurt "vlsi", 'l', SN, 404336Skurt "image", 'm', SN, 414336Skurt "esvax", 'o', SN, 424336Skurt "sesm", 'o', SN, 436301Skurt "ucbcad", 'p', SN|BN, 444336Skurt "q", 'q', SN, 455840Skurt "kim", 'n', SN, 464336Skurt "research", 'R', BN, 474336Skurt "arpavax", 'r', SN|BN, 484336Skurt "src", 's', SN, 494336Skurt "mathstat", 't', SN, 504336Skurt "vax", 'v', BN|SN, 514336Skurt "ucb", 'v', BN|SN, 524336Skurt "ucbvax", 'v', BN|SN, 534336Skurt "onyx", 'x', SN, 544336Skurt "cory", 'y', SN, 554336Skurt "eecs40", 'z', SN, 568017Smckusick EMPTY, EMPTYID, SN, /* Filled in dynamically */ 574336Skurt 0, 0, 0 584336Skurt }; 594336Skurt 604336Skurt /* 614336Skurt * Table of ordered of preferred networks. You probably won't need 624336Skurt * to fuss with this unless you add a new network character (foolishly). 634336Skurt */ 644336Skurt struct netorder netorder[] = { 654336Skurt AN, '@', 664336Skurt AN, '%', 674336Skurt SN, ':', 684336Skurt BN, '!', 694336Skurt -1, 0 704336Skurt }; 714336Skurt 724336Skurt /* 734336Skurt * Table to convert from network separator code in address to network 744336Skurt * bit map kind. With this transformation, we can deal with more than 754336Skurt * one character having the same meaning easily. 764336Skurt */ 777563Skurt struct ntypetab ntypetab[] = { 784336Skurt '%', AN, 794336Skurt '@', AN, 804336Skurt ':', SN, 814336Skurt '!', BN, 824336Skurt '^', BN, 834336Skurt 0, 0 844336Skurt }; 854336Skurt 867563Skurt struct nkindtab nkindtab[] = { 874336Skurt AN, IMPLICIT, 884336Skurt BN, EXPLICIT, 894336Skurt SN, IMPLICIT, 904336Skurt 0, 0 914336Skurt }; 92