Annotation of researchv10no/lbin/Mail/config.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char *sccsid = "@(#)config.c    1.8 (Berkeley) 8/11/83";
                      3: #endif
                      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:        "berkeley",     '7',            AN|SN,
                     28:        "a",            'a',            SN,
                     29:        "b",            'b',            SN,
                     30:        "c",            'c',            SN,
                     31:        "d",            'd',            SN,
                     32:        "e",            'e',            SN,
                     33:        "f",            'f',            SN,
                     34:        "g",            'g',            SN,
                     35:        "ingres",       'i',            SN,
                     36:        "ing70",        'i',            SN,
                     37:        "ingvax",       'j',            SN|BN,
                     38:        "virus",        'k',            SN,
                     39:        "vlsi",         'l',            SN,
                     40:        "image",        'm',            SN,
                     41:        "esvax",        'o',            SN,
                     42:        "sesm",         'o',            SN,
                     43:        "ucbcad",       'p',            SN|BN,
                     44:        "q",            'q',            SN,
                     45:        "kim",          'n',            SN,
                     46:        "research",     'R',            BN,
                     47:        "icarus",       'I',            BN,
                     48:        "arpavax",      'r',            SN|BN,
                     49:        "src",          's',            SN,
                     50:        "mathstat",     't',            SN,
                     51:        "vax",          'v',            BN|SN,
                     52:        "ucb",          'v',            BN|SN,
                     53:        "ucbvax",       'v',            BN|SN,
                     54:        "onyx",         'x',            SN,
                     55:        "cory",         'y',            SN,
                     56:        "eecs40",       'z',            SN,
                     57:        EMPTY,          EMPTYID,        SN,     /* Filled in dynamically */
                     58:        0,              0,              0
                     59: };
                     60: 
                     61: /*
                     62:  * Table of ordered of preferred networks.  You probably won't need
                     63:  * to fuss with this unless you add a new network character (foolishly).
                     64:  */
                     65: struct netorder netorder[] = {
                     66:        AN,     '@',
                     67:        AN,     '%',
                     68:        SN,     ':',
                     69:        BN,     '!',
                     70:        -1,     0
                     71: };
                     72: 
                     73: /*
                     74:  * Table to convert from network separator code in address to network
                     75:  * bit map kind.  With this transformation, we can deal with more than
                     76:  * one character having the same meaning easily.
                     77:  */
                     78: struct ntypetab ntypetab[] = {
                     79:        '%',    AN,
                     80:        '@',    AN,
                     81:        ':',    SN,
                     82:        '!',    BN,
                     83:        '^',    BN,
                     84:        0,      0
                     85: };
                     86: 
                     87: struct nkindtab nkindtab[] = {
                     88:        AN,     IMPLICIT,
                     89:        BN,     EXPLICIT,
                     90:        SN,     IMPLICIT,
                     91:        0,      0
                     92: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.