1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #ifndef lint
   8: static char *sccsid = "@(#)config.c	5.2 (Berkeley) 6/21/85";
   9: #endif not lint
  10: 
  11: /*
  12:  * This file contains definitions of network data used by Mail
  13:  * when replying.  See also:  configdefs.h and optim.c
  14:  */
  15: 
  16: /*
  17:  * The subterfuge with CONFIGFILE is to keep cc from seeing the
  18:  * external defintions in configdefs.h.
  19:  */
  20: #define CONFIGFILE
  21: #include "configdefs.h"
  22: 
  23: /*
  24:  * Set of network separator characters.
  25:  */
  26: char    *metanet = "!^:%@.";
  27: 
  28: /*
  29:  * Host table of "known" hosts.  See the comment in configdefs.h;
  30:  * not all accessible hosts need be here (fortunately).
  31:  */
  32: struct netmach netmach[] = {
  33:     EMPTY,      EMPTYID,    AN, /* Filled in dynamically */
  34:     0,      0,      0
  35: };
  36: 
  37: /*
  38:  * Table of ordered of preferred networks.  You probably won't need
  39:  * to fuss with this unless you add a new network character (foolishly).
  40:  */
  41: struct netorder netorder[] = {
  42:     AN, '@',
  43:     AN, '%',
  44:     SN, ':',
  45:     BN, '!',
  46:     -1, 0
  47: };
  48: 
  49: /*
  50:  * Table to convert from network separator code in address to network
  51:  * bit map kind.  With this transformation, we can deal with more than
  52:  * one character having the same meaning easily.
  53:  */
  54: struct ntypetab ntypetab[] = {
  55:     '%',    AN,
  56:     '@',    AN,
  57:     ':',    SN,
  58:     '!',    BN,
  59:     '^',    BN,
  60:     0,  0
  61: };
  62: 
  63: struct nkindtab nkindtab[] = {
  64:     AN, IMPLICIT,
  65:     BN, EXPLICIT,
  66:     SN, IMPLICIT,
  67:     0,  0
  68: };

Defined variables

metanet defined in line 26; used 7 times
netmach defined in line 32; used 5 times
netorder defined in line 41; used 1 times
nkindtab defined in line 63; used 1 times
ntypetab defined in line 54; used 1 times
sccsid defined in line 8; never used

Defined macros

CONFIGFILE defined in line 20; never used
Last modified: 1985-06-22
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 905
Valid CSS Valid XHTML 1.0 Strict