122450Sdist /* 222450Sdist * Copyright (c) 1980 Regents of the University of California. 3*33499Sbostic * All rights reserved. 4*33499Sbostic * 5*33499Sbostic * Redistribution and use in source and binary forms are permitted 6*33499Sbostic * provided that this notice is preserved and that due credit is given 7*33499Sbostic * to the University of California at Berkeley. The name of the University 8*33499Sbostic * may not be used to endorse or promote products derived from this 9*33499Sbostic * software without specific prior written permission. This software 10*33499Sbostic * is provided ``as is'' without express or implied warranty. 1122450Sdist */ 1222450Sdist 13*33499Sbostic #ifdef notdef 14*33499Sbostic static char sccsid[] = "@(#)config.c 5.3 (Berkeley) 02/18/88"; 15*33499Sbostic #endif /* notdef */ 164336Skurt 174336Skurt /* 184336Skurt * This file contains definitions of network data used by Mail 194336Skurt * when replying. See also: configdefs.h and optim.c 204336Skurt */ 214336Skurt 224336Skurt /* 234336Skurt * The subterfuge with CONFIGFILE is to keep cc from seeing the 244336Skurt * external defintions in configdefs.h. 254336Skurt */ 264336Skurt #define CONFIGFILE 274336Skurt #include "configdefs.h" 284336Skurt 294336Skurt /* 304336Skurt * Set of network separator characters. 314336Skurt */ 324336Skurt char *metanet = "!^:%@."; 334336Skurt 344336Skurt /* 354336Skurt * Host table of "known" hosts. See the comment in configdefs.h; 364336Skurt * not all accessible hosts need be here (fortunately). 374336Skurt */ 384336Skurt struct netmach netmach[] = { 3916734Sralph EMPTY, EMPTYID, AN, /* Filled in dynamically */ 404336Skurt 0, 0, 0 414336Skurt }; 424336Skurt 434336Skurt /* 444336Skurt * Table of ordered of preferred networks. You probably won't need 454336Skurt * to fuss with this unless you add a new network character (foolishly). 464336Skurt */ 474336Skurt struct netorder netorder[] = { 484336Skurt AN, '@', 494336Skurt AN, '%', 504336Skurt SN, ':', 514336Skurt BN, '!', 524336Skurt -1, 0 534336Skurt }; 544336Skurt 554336Skurt /* 564336Skurt * Table to convert from network separator code in address to network 574336Skurt * bit map kind. With this transformation, we can deal with more than 584336Skurt * one character having the same meaning easily. 594336Skurt */ 607563Skurt struct ntypetab ntypetab[] = { 614336Skurt '%', AN, 624336Skurt '@', AN, 634336Skurt ':', SN, 644336Skurt '!', BN, 654336Skurt '^', BN, 664336Skurt 0, 0 674336Skurt }; 684336Skurt 697563Skurt struct nkindtab nkindtab[] = { 704336Skurt AN, IMPLICIT, 714336Skurt BN, EXPLICIT, 724336Skurt SN, IMPLICIT, 734336Skurt 0, 0 744336Skurt }; 75