# 2.11BSD#431 - /usr/src/ucb/Mail/def.h

##### Macros

    APPEND            X
    CANY              X
    CRCV              X
    CSEND             X
    ESCAPE            X
    F                 X
    GBCC              X
    GCC               X
    GCOMMA            X
    GDEL              X
    GMASK             X
    GNL               X
    GSUBJECT          X
    GTO               X
    HSHSIZE           X
    I                 X
    LINESIZE          X
    M                 X
    MAXARGC           X
    MAXEXP            X
    MBOX              X
    MDELETED          X
    MMARK             X
    MMNDEL            X
    MMNORM            X
    MNEW              X
    MODIFY            X
    MPRESERVE         X
    MREAD             X
    MSAVED            X
    MSGLIST           X
    MSTATUS           X
    MTOUCH            X
    MUSED             X
    NDMLIST           X
    NIL               X
    NMLSIZE           X
    NOGE              X
    NOGRP             X
    NOLIST            X
    NONE              X
    NOSTR             X
    NOVAR             X
    P                 X
    PATHSIZE          X
    R                 X
    RAWLIST           X
    REGDEP            X
    STRINGLEN         X
    STRINGSIZE        X
    STRLIST           X
    T                 X
    TCLOSE            X
    TDASH             X
    TDOLLAR           X
    TDOT              X
    TEOL              X
    TERROR            X
    TNUMBER           X
    TOPEN             X
    TPLUS             X
    TSTAR             X
    TSTRING           X
    TUP               X
    W                 X
    blockof           X
    c_maxargs         X
    c_minargs         X
    equal             X
    offstof           X
    positionof        X
    reset             X
    setexit           X
    trunc             X

##### struct's

    cmd               X
    group             X
    grouphead         X
    header            X
    headline          X
    ignore            X
    ignoretab         X
    message           X
    name              X
    var               X

       1: /*
       2:  * Copyright (c) 1980 Regents of the University of California.
       3:  * All rights reserved.
       4:  *
       5:  * Redistribution and use in source and binary forms, with or without
       6:  * modification, are permitted provided that the following conditions
       7:  * are met:
       8:  * 1. Redistributions of source code must retain the above copyright
       9:  *    notice, this list of conditions and the following disclaimer.
      10:  * 2. Redistributions in binary form must reproduce the above copyright
      11:  *    notice, this list of conditions and the following disclaimer in the
      12:  *    documentation and/or other materials provided with the distribution.
      13:  * 3. All advertising materials mentioning features or use of this software
      14:  *    must display the following acknowledgement:
      15:  *	This product includes software developed by the University of
      16:  *	California, Berkeley and its contributors.
      17:  * 4. Neither the name of the University nor the names of its contributors
      18:  *    may be used to endorse or promote products derived from this software
      19:  *    without specific prior written permission.
      20:  *
      21:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
      22:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
      23:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
      24:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
      25:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
      26:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
      27:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
      28:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
      29:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
      30:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
      31:  * SUCH DAMAGE.
      32:  *
      33:  *	@(#)def.h	5.22.2 (2.11BSD) 1997/10/31
      34:  */
      35:
      36: #include <sys/param.h>      /* includes <sys/types.h> */
      37: #include <sys/signal.h>
      38: #include <stdio.h>
      39: #include <sgtty.h>
      40: #include <ctype.h>
      41: #include <string.h>
      42: #include "pathnames.h"
      43: /*
      44:  * Mail -- a mail program
      45:  *
      46:  * Author: Kurt Shoens (UCB) March 25, 1978
      47:  */
      48:
      49: #define APPEND              /* New mail goes to end of mailbox */
      50:
      51: #define ESCAPE      '~'     /* Default escape for sending */
      52: #define NMLSIZE     1024        /* max names in a message list */
      53: #define PATHSIZE    MAXPATHLEN  /* Size of pathnames throughout */
      54: #define HSHSIZE     59      /* Hash size for aliases and vars */
      55: #define LINESIZE    BUFSIZ      /* max readable line width */
      56: #define STRINGSIZE  ((unsigned) 128)/* Dynamic allocation units */
      57: #define MAXARGC     1024        /* Maximum list of raw strings */
      58: #define NOSTR       ((char *) 0)    /* Null string pointer */
      59: #define MAXEXP      25      /* Maximum expansion of aliases */
      60:
      61: #define equal(a, b) (strcmp(a,b)==0)/* A nice function to string compare */
      62:
      63: struct message {
      64:     short   m_flag;         /* flags, see below */
      65:     short   m_block;        /* block number of this message */
      66:     short   m_offset;       /* offset in block of message */
      67:     long    m_size;         /* Bytes in the message */
      68:     short   m_lines;        /* Lines in the message */
      69: };
      70:
      71: /*
      72:  * flag bits.
      73:  */
      74:
      75: #define MUSED       (1<<0)      /* entry is used, but this bit isn't */
      76: #define MDELETED    (1<<1)      /* entry has been deleted */
      77: #define MSAVED      (1<<2)      /* entry has been saved */
      78: #define MTOUCH      (1<<3)      /* entry has been noticed */
      79: #define MPRESERVE   (1<<4)      /* keep entry in sys mailbox */
      80: #define MMARK       (1<<5)      /* message is marked! */
      81: #define MODIFY      (1<<6)      /* message has been modified */
      82: #define MNEW        (1<<7)      /* message has never been seen */
      83: #define MREAD       (1<<8)      /* message has been read sometime. */
      84: #define MSTATUS     (1<<9)      /* message status has changed */
      85: #define MBOX        (1<<10)     /* Send this to mbox, regardless */
      86:
      87: /*
      88:  * Given a file address, determine the block number it represents.
      89:  */
      90: #define blockof(off)            ((int) ((off) / 4096))
      91: #define offstof(off)            ((int) ((off) % 4096))
      92: #define positionof(block, offset)   ((off_t)(block) * 4096 + (offset))
      93:
      94: /*
      95:  * Format of the command description table.
      96:  * The actual table is declared and initialized
      97:  * in lex.c
      98:  */
      99:
     100: struct cmd {
     101:     char    *c_name;        /* Name of command */
     102:     int (*c_func)();        /* Implementor of the command */
     103:     short   c_argtype;      /* Type of arglist (see below) */
     104:     short   c_msgflag;      /* Required flags of messages */
     105:     short   c_msgmask;      /* Relevant flags of messages */
     106: };
     107:
     108: /* Yechh, can't initialize unions */
     109:
     110: #define c_minargs c_msgflag     /* Minimum argcount for RAWLIST */
     111: #define c_maxargs c_msgmask     /* Max argcount for RAWLIST */
     112:
     113: /*
     114:  * Argument types.
     115:  */
     116:
     117: #define MSGLIST  0      /* Message list type */
     118: #define STRLIST  1      /* A pure string */
     119: #define RAWLIST  2      /* Shell string list */
     120: #define NOLIST   3      /* Just plain 0 */
     121: #define NDMLIST  4      /* Message list, no defaults */
     122:
     123: #define P   040     /* Autoprint dot after command */
     124: #define I   0100        /* Interactive command bit */
     125: #define M   0200        /* Legal from send mode bit */
     126: #define W   0400        /* Illegal when read only bit */
     127: #define F   01000       /* Is a conditional command */
     128: #define T   02000       /* Is a transparent command */
     129: #define R   04000       /* Cannot be called from collect */
     130:
     131: /*
     132:  * Oft-used mask values
     133:  */
     134:
     135: #define MMNORM      (MDELETED|MSAVED)/* Look at both save and delete bits */
     136: #define MMNDEL      MDELETED    /* Look only at deleted bit */
     137:
     138: /*
     139:  * Structure used to return a break down of a head
     140:  * line (hats off to Bill Joy!)
     141:  */
     142:
     143: struct headline {
     144:     char    *l_from;    /* The name of the sender */
     145:     char    *l_tty;     /* His tty string (if any) */
     146:     char    *l_date;    /* The entire date string */
     147: };
     148:
     149: #define GTO 1       /* Grab To: line */
     150: #define GSUBJECT 2      /* Likewise, Subject: line */
     151: #define GCC 4       /* And the Cc: line */
     152: #define GBCC    8       /* And also the Bcc: line */
     153: #define GMASK   (GTO|GSUBJECT|GCC|GBCC)
     154:                 /* Mask of places from whence */
     155:
     156: #define GNL 16      /* Print blank line after */
     157: #define GDEL    32      /* Entity removed from list */
     158: #define GCOMMA  64      /* detract puts in commas */
     159:
     160: /*
     161:  * Structure used to pass about the current
     162:  * state of the user-typed message header.
     163:  */
     164:
     165: struct header {
     166:     struct name *h_to;      /* Dynamic "To:" string */
     167:     char *h_subject;        /* Subject string */
     168:     struct name *h_cc;      /* Carbon copies string */
     169:     struct name *h_bcc;     /* Blind carbon copies */
     170:     struct name *h_smopts;      /* Sendmail options */
     171: };
     172:
     173: /*
     174:  * Structure of namelist nodes used in processing
     175:  * the recipients of mail and aliases and all that
     176:  * kind of stuff.
     177:  */
     178:
     179: struct name {
     180:     struct  name *n_flink;      /* Forward link in list. */
     181:     struct  name *n_blink;      /* Backward list link */
     182:     short   n_type;         /* From which list it came */
     183:     char    *n_name;        /* This fella's name */
     184: };
     185:
     186: /*
     187:  * Structure of a variable node.  All variables are
     188:  * kept on a singly-linked list of these, rooted by
     189:  * "variables"
     190:  */
     191:
     192: struct var {
     193:     struct  var *v_link;        /* Forward link to next variable */
     194:     char    *v_name;        /* The variable's name */
     195:     char    *v_value;       /* And it's current value */
     196: };
     197:
     198: struct group {
     199:     struct  group *ge_link;     /* Next person in this group */
     200:     char    *ge_name;       /* This person's user name */
     201: };
     202:
     203: struct grouphead {
     204:     struct  grouphead *g_link;  /* Next grouphead in list */
     205:     char    *g_name;        /* Name of this group */
     206:     struct  group *g_list;      /* Users in group. */
     207: };
     208:
     209: #define NIL ((struct name *) 0) /* The nil pointer for namelists */
     210: #define NONE    ((struct cmd *) 0)  /* The nil pointer to command tab */
     211: #define NOVAR   ((struct var *) 0)  /* The nil pointer to variables */
     212: #define NOGRP   ((struct grouphead *) 0)/* The nil grouphead pointer */
     213: #define NOGE    ((struct group *) 0)    /* The nil group pointer */
     214:
     215: /*
     216:  * Structure of the hash table of ignored header fields
     217:  */
     218: struct ignoretab {
     219:     int i_count;            /* Number of entries */
     220:     struct ignore {
     221:         struct ignore *i_link;  /* Next ignored field in bucket */
     222:         char *i_field;      /* This ignored field */
     223:     } *i_head[HSHSIZE];
     224: };
     225:
     226: /*
     227:  * Token values returned by the scanner used for argument lists.
     228:  * Also, sizes of scanner-related things.
     229:  */
     230:
     231: #define TEOL    0           /* End of the command line */
     232: #define TNUMBER 1           /* A message number */
     233: #define TDASH   2           /* A simple dash */
     234: #define TSTRING 3           /* A string (possibly containing -) */
     235: #define TDOT    4           /* A "." */
     236: #define TUP 5           /* An "^" */
     237: #define TDOLLAR 6           /* A "$" */
     238: #define TSTAR   7           /* A "*" */
     239: #define TOPEN   8           /* An '(' */
     240: #define TCLOSE  9           /* A ')' */
     241: #define TPLUS   10          /* A '+' */
     242: #define TERROR  11          /* A lexical error */
     243:
     244: #define REGDEP  2           /* Maximum regret depth. */
     245: #define STRINGLEN   1024        /* Maximum length of string token */
     246:
     247: /*
     248:  * Constants for conditional commands.  These describe whether
     249:  * we should be executing stuff or not.
     250:  */
     251:
     252: #define CANY        0       /* Execute in send or receive mode */
     253: #define CRCV        1       /* Execute in receive mode only */
     254: #define CSEND       2       /* Execute in send mode only */
     255:
     256: /*
     257:  * Kludges to handle the change from setexit / reset to setjmp / longjmp
     258:  */
     259:
     260: #define setexit()   setjmp(srbuf)
     261: #define reset(x)    longjmp(srbuf, x)
     262:
     263: /*
     264:  * Truncate a file to the last character written. This is
     265:  * useful just before closing an old file that was opened
     266:  * for read/write.
     267:  */
     268: #define trunc(stream)   ftruncate(fileno(stream), (long) ftell(stream))
     269:
     270: /*
     271:  * Forward declarations of routine types to keep lint and cc happy.
     272:  */
     273:
     274: FILE    *Fopen();
     275: FILE    *Fdopen();
     276: FILE    *Popen();
     277: FILE    *collect();
     278: FILE    *infix();
     279: FILE    *run_editor();
     280: FILE    *setinput();
     281: char    **unpack();
     282: char    *calloc();
     283: char    *copy();
     284: char    *copyin();
     285: char    *detract();
     286: char    *expand();
     287: char    *getdeadletter();
     288: char    *gets();
     289: char    *hfield();
     290: char    *name1();
     291: char    *nameof();
     292: char    *nextword();
     293: char    *getenv();
     294: char    *getname();
     295: char    *fgets();
     296: char    *ishfield();
     297: char    *malloc();
     298: char    *mktemp();
     299: char    *readtty();
     300: char    *reedit();
     301: char    *salloc();
     302: char    *savestr();
     303: char    *skin();
     304: char    *snarf();
     305: char    *username();
     306: char    *value();
     307: char    *vcopy();
     308: char    *yankword();
     309: off_t   fsize();
     310: uid_t   getuid();
     311: struct  cmd *lex();
     312: struct  grouphead   *findgroup();
     313: struct  name    *nalloc();
     314: struct  name    *cat();
     315: struct  name    *delname();
     316: struct  name    *elide();
     317: struct  name    *extract();
     318: struct  name    *gexpand();
     319: struct  name    *outof();
     320: struct  name    *put();
     321: struct  name    *usermap();
     322: struct  var *lookup();

#### Defined struct's

cmd defined in line 100; used 16 times

- in line 311(2)
- in /usr/src/ucb/Mail/cmd1.c line 221-223(4)
- in /usr/src/ucb/Mail/cmdtab.c line 57(2)
- in /usr/src/ucb/Mail/lex.c line 242(2), 446-451(6)

group defined in line 198; used 12 times

- in line 199(2), 206(2)
- in /usr/src/ucb/Mail/cmd3.c line 439(2), 479(2)
- in /usr/src/ucb/Mail/names.c line 406(2)
- in /usr/src/ucb/Mail/vars.c line 160(2)

grouphead defined in line 203; used 20 times

- in line 204(2), 312(2)
- in /usr/src/ucb/Mail/cmd3.c line 438(2), 465(2)
- in /usr/src/ucb/Mail/names.c line 371(2), 404-407(4)
- in /usr/src/ucb/Mail/vars.c line 140-144(4), 159(2)

header defined in line 165; used 22 times

- in /usr/src/ucb/Mail/cmd3.c line 199(2), 582(2)
- in /usr/src/ucb/Mail/collect.c line 73(2)
- in /usr/src/ucb/Mail/names.c line 213(2)
- in /usr/src/ucb/Mail/send.c line 254(2), 273(2), 289(2), 398(2), 424(2), 471(2)
- in /usr/src/ucb/Mail/tty.c line 59(2)

headline defined in line 143; used 6 times

- in /usr/src/ucb/Mail/cmd1.c line 168(2)
- in /usr/src/ucb/Mail/head.c line 55(2), 95(2)

ignore defined in line 220; used 12 times

- in line 221(2)
- in /usr/src/ucb/Mail/aux.c line 644(2)
- in /usr/src/ucb/Mail/cmd2.c line 459(2), 469(4), 488(2)

ignoretab defined in line 218; used 18 times

- in /usr/src/ucb/Mail/aux.c line 623(2), 642(2)
- in /usr/src/ucb/Mail/cmd2.c line 155(2), 454(2), 484(2)
- in /usr/src/ucb/Mail/collect.c line 506(2)
- in /usr/src/ucb/Mail/quit.c line 349(2), 459(2)
- in /usr/src/ucb/Mail/send.c line 56(2)

message defined in line 63; used 72 times

- in /usr/src/ucb/Mail/aux.c line 84(2), 126(2), 355(2), 512(2)
- in /usr/src/ucb/Mail/cmd1.c line 57(2), 165(2), 288(2), 357(2)
- in /usr/src/ucb/Mail/cmd2.c line 56(2), 158(2), 307(2), 346(2)
- in /usr/src/ucb/Mail/cmd3.c line 195(2), 281(2), 321(2), 583(2)
- in /usr/src/ucb/Mail/collect.c line 529(2)
- in /usr/src/ucb/Mail/edit.c line 81(2)
- in /usr/src/ucb/Mail/fio.c line 59(2), 184(2), 202-209(6), 224(2)
- in /usr/src/ucb/Mail/lex.c line 565(2)
- in /usr/src/ucb/Mail/list.c line 59(2), 117(2), 361(2), 617(2), 670(2), 735(2)
- in /usr/src/ucb/Mail/quit.c line 72(2), 332(2), 385(2)
- in /usr/src/ucb/Mail/send.c line 54(2), 229(2)

name defined in line 179; used 108 times

- in line 166-170(4), 180-181(4), 313-321(18)
- in /usr/src/ucb/Mail/cmd3.c line 198(2)
- in /usr/src/ucb/Mail/main.c line 56(2)
- in /usr/src/ucb/Mail/names.c line 51-57(6), 68-72(6), 87-92(4), 117-121(4), 209-216(6), 366-370(6), 401-408(6), 447-451(6), 469-472(4), 512-517(8), 611-613(4), 627(2), 640-645(6)
- in /usr/src/ucb/Mail/send.c line 251(2), 294(2), 399-401(4), 495(2)

var defined in line 192; used 18 times

- in line 193(2), 322(2)
- in /usr/src/ucb/Mail/cmd3.c line 353(2), 400(2)
- in /usr/src/ucb/Mail/vars.c line 53(2), 59(2), 112(2), 124-128(4)

#### Defined macros

APPEND defined in line 49; never used
CANY defined in line 252; used 7 times

- in /usr/src/ucb/Mail/aux.c line 285, 303
- in /usr/src/ucb/Mail/cmd3.c line 619-623(2), 664, 677-681(2)

CRCV defined in line 253; used 3 times

- in /usr/src/ucb/Mail/cmd3.c line 627, 655
- in /usr/src/ucb/Mail/lex.c line 294

CSEND defined in line 254; used 3 times

- in /usr/src/ucb/Mail/cmd3.c line 631, 659
- in /usr/src/ucb/Mail/lex.c line 294

ESCAPE defined in line 51; used 1 times

- in /usr/src/ucb/Mail/collect.c line 128

F defined in line 127; used 5 times

- in /usr/src/ucb/Mail/cmdtab.c line 112-114(3)
- in /usr/src/ucb/Mail/lex.c line 293, 323

GBCC defined in line 152; used 10 times

- in line 153
- in /usr/src/ucb/Mail/collect.c line 225, 252, 341
- in /usr/src/ucb/Mail/main.c line 174
- in /usr/src/ucb/Mail/send.c line 413, 441, 483
- in /usr/src/ucb/Mail/tty.c line 120, 126

GCC defined in line 151; used 14 times

- in line 153
- in /usr/src/ucb/Mail/cmd3.c line 237
- in /usr/src/ucb/Mail/collect.c line 116, 225, 246, 341
- in /usr/src/ucb/Mail/main.c line 168
- in /usr/src/ucb/Mail/names.c line 258
- in /usr/src/ucb/Mail/send.c line 305, 410, 441, 481
- in /usr/src/ucb/Mail/tty.c line 112, 118

GCOMMA defined in line 158; used 6 times

- in /usr/src/ucb/Mail/names.c line 124-127(2)
- in /usr/src/ucb/Mail/send.c line 441, 478-484(3)

GDEL defined in line 157; used 4 times

- in /usr/src/ucb/Mail/names.c line 328, 436, 501, 632

GMASK defined in line 153; used 5 times

- in /usr/src/ucb/Mail/names.c line 132, 144
- in /usr/src/ucb/Mail/send.c line 407-413(3)

GNL defined in line 156; used 6 times

- in /usr/src/ucb/Mail/collect.c line 116-120(2), 341
- in /usr/src/ucb/Mail/names.c line 258
- in /usr/src/ucb/Mail/send.c line 441, 485

GSUBJECT defined in line 150; used 9 times

- in line 153
- in /usr/src/ucb/Mail/collect.c line 116, 134, 225, 341
- in /usr/src/ucb/Mail/names.c line 258
- in /usr/src/ucb/Mail/send.c line 441, 479
- in /usr/src/ucb/Mail/tty.c line 105

GTO defined in line 149; used 18 times

- in line 153
- in /usr/src/ucb/Mail/cmd3.c line 211-213(2), 226-230(2), 594
- in /usr/src/ucb/Mail/collect.c line 116, 225, 231, 341
- in /usr/src/ucb/Mail/main.c line 187
- in /usr/src/ucb/Mail/names.c line 258
- in /usr/src/ucb/Mail/send.c line 275, 407, 441, 477
- in /usr/src/ucb/Mail/tty.c line 97, 103

HSHSIZE defined in line 54; used 7 times

- in line 223
- in /usr/src/ucb/Mail/cmd2.c line 498
- in /usr/src/ucb/Mail/cmd3.c line 359-363(2), 445-449(2)
- in /usr/src/ucb/Mail/vars.c line 188

I defined in line 124; used 11 times

- in /usr/src/ucb/Mail/cmdtab.c line 64, 73, 80, 87, 100-104(5)
- in /usr/src/ucb/Mail/lex.c line 309, 323

LINESIZE defined in line 55; used 30 times

- in /usr/src/ucb/Mail/aux.c line 129, 137, 160, 167, 189, 195, 514-515(2), 526, 534-537(2)
- in /usr/src/ucb/Mail/cmd1.c line 166(2), 173, 359, 381
- in /usr/src/ucb/Mail/collect.c line 79, 153, 285
- in /usr/src/ucb/Mail/fio.c line 63, 84
- in /usr/src/ucb/Mail/head.c line 99
- in /usr/src/ucb/Mail/lex.c line 165, 195, 240
- in /usr/src/ucb/Mail/send.c line 61, 88, 191, 211(2)

M defined in line 125; used 35 times

- in /usr/src/ucb/Mail/cmdtab.c line 59, 72-73(2), 81-98(13), 105-125(17)
- in /usr/src/ucb/Mail/lex.c line 304, 323

MAXARGC defined in line 57; used 1 times

- in /usr/src/ucb/Mail/lex.c line 241

MAXEXP defined in line 59; used 2 times

- in /usr/src/ucb/Mail/names.c line 412-413(2)

MBOX defined in line 85; used 8 times

- in /usr/src/ucb/Mail/cmd1.c line 189, 418
- in /usr/src/ucb/Mail/cmd2.c line 316
- in /usr/src/ucb/Mail/cmd3.c line 292
- in /usr/src/ucb/Mail/quit.c line 138-139(2), 160, 243

MDELETED defined in line 76; used 31 times

- in line 135-136(2)
- in /usr/src/ucb/Mail/cmd1.c line 77
- in /usr/src/ucb/Mail/cmd2.c line 83, 110, 315, 321, 353
- in /usr/src/ucb/Mail/cmdtab.c line 71
- in /usr/src/ucb/Mail/lex.c line 418, 586
- in /usr/src/ucb/Mail/list.c line 105(2), 147(2), 175, 188, 238, 257, 368(2), 621-622(2), 744, 754, 764
- in /usr/src/ucb/Mail/quit.c line 139, 166, 403-405(2), 456

MMARK defined in line 80; used 5 times

- in /usr/src/ucb/Mail/list.c line 69, 290, 322, 711, 725

MMNDEL defined in line 136; used 24 times

- in /usr/src/ucb/Mail/cmdtab.c line 58-79(17), 97-103(5), 110-111(2)

MMNORM defined in line 135; used 5 times

- in /usr/src/ucb/Mail/cmd2.c line 167
- in /usr/src/ucb/Mail/cmdtab.c line 64, 91, 104
- in /usr/src/ucb/Mail/collect.c line 515

MNEW defined in line 82; used 16 times

- in /usr/src/ucb/Mail/cmd1.c line 185-187(3)
- in /usr/src/ucb/Mail/fio.c line 78, 105, 124
- in /usr/src/ucb/Mail/lex.c line 570, 582
- in /usr/src/ucb/Mail/list.c line 102-103(3)
- in /usr/src/ucb/Mail/quit.c line 143-144(2), 399-400(2)
- in /usr/src/ucb/Mail/send.c line 238

MODIFY defined in line 81; used 3 times

- in /usr/src/ucb/Mail/edit.c line 115
- in /usr/src/ucb/Mail/quit.c line 164, 403

MPRESERVE defined in line 79; used 10 times

- in /usr/src/ucb/Mail/cmd1.c line 183, 402, 419
- in /usr/src/ucb/Mail/cmd2.c line 316
- in /usr/src/ucb/Mail/cmd3.c line 291
- in /usr/src/ucb/Mail/quit.c line 138-139(2), 150, 162, 347

MREAD defined in line 83; used 14 times

- in /usr/src/ucb/Mail/aux.c line 88-89(2)
- in /usr/src/ucb/Mail/cmd1.c line 185-187(2)
- in /usr/src/ucb/Mail/cmd3.c line 308
- in /usr/src/ucb/Mail/fio.c line 122
- in /usr/src/ucb/Mail/lex.c line 574, 584
- in /usr/src/ucb/Mail/list.c line 104-106(3)
- in /usr/src/ucb/Mail/quit.c line 166, 405
- in /usr/src/ucb/Mail/send.c line 236

MSAVED defined in line 77; used 8 times

- in line 135
- in /usr/src/ucb/Mail/cmd1.c line 181
- in /usr/src/ucb/Mail/cmd2.c line 110, 197, 316
- in /usr/src/ucb/Mail/lex.c line 588
- in /usr/src/ucb/Mail/quit.c line 139-141(2)

MSGLIST defined in line 117; used 27 times

- in /usr/src/ucb/Mail/cmdtab.c line 60-79(18), 91, 97-104(6), 110-111(2)

MSTATUS defined in line 84; used 6 times

- in /usr/src/ucb/Mail/aux.c line 89
- in /usr/src/ucb/Mail/cmd3.c line 309
- in /usr/src/ucb/Mail/quit.c line 145-147(2), 401-403(2)

MTOUCH defined in line 78; used 7 times

- in /usr/src/ucb/Mail/aux.c line 87
- in /usr/src/ucb/Mail/cmd1.c line 401, 418
- in /usr/src/ucb/Mail/cmd2.c line 315
- in /usr/src/ucb/Mail/cmd3.c line 308
- in /usr/src/ucb/Mail/quit.c line 149, 347

MUSED defined in line 75; used 2 times

- in /usr/src/ucb/Mail/fio.c line 78, 105

NDMLIST defined in line 121; used 1 times

- in /usr/src/ucb/Mail/cmdtab.c line 58

NIL defined in line 209; used 77 times

- in /usr/src/ucb/Mail/cmd3.c line 215, 225-227(2), 244-246(3), 587, 596, 602-604(3)
- in /usr/src/ucb/Mail/main.c line 83-86(4), 193-197(4)
- in /usr/src/ucb/Mail/names.c line 58-59(2), 75-77(3), 96-102(4), 125, 131, 143-147(2), 227, 374-377(2), 453-455(2), 500, 519-530(7), 545, 560, 584-589(3), 600, 616-617(2), 631, 647-657(7)
- in /usr/src/ucb/Mail/send.c line 277-279(3), 322, 403-406(4), 477-483(3), 505-506(2)
- in /usr/src/ucb/Mail/tty.c line 99, 114, 122

NMLSIZE defined in line 52; used 1 times

- in /usr/src/ucb/Mail/list.c line 118

NOGE defined in line 213; used 4 times

- in /usr/src/ucb/Mail/cmd3.c line 467
- in /usr/src/ucb/Mail/names.c line 417, 433
- in /usr/src/ucb/Mail/vars.c line 167

NOGRP defined in line 212; used 8 times

- in /usr/src/ucb/Mail/cmd3.c line 446-450(2), 464
- in /usr/src/ucb/Mail/names.c line 386, 423
- in /usr/src/ucb/Mail/vars.c line 146-149(2), 162

NOLIST defined in line 120; used 12 times

- in /usr/src/ucb/Mail/cmdtab.c line 87-88(2), 94-99(4), 106-109(4), 123-124(2)

NONE defined in line 210; used 2 times

- in /usr/src/ucb/Mail/lex.c line 283, 456

NOSTR defined in line 58; used 199 times

- in /usr/src/ucb/Mail/aux.c line 58, 114, 136-145(4), 269, 412-415(5), 520-522(2)
- in /usr/src/ucb/Mail/cmd1.c line 136, 174, 194-196(2), 232, 297-298(2), 320-322(2), 364, 374, 436-438(2)
- in /usr/src/ucb/Mail/cmd2.c line 164, 176, 185, 191, 254, 462
- in /usr/src/ucb/Mail/cmd3.c line 60-62(2), 78-80(2), 167-170(2), 182, 208-212(3), 225-236(5), 261-262(2), 358, 366-373(3), 405, 444, 452-458(3), 478, 498, 534, 553-555(2), 568, 592, 599
- in /usr/src/ucb/Mail/collect.c line 118-119(4), 125, 156-157(2), 166-169(4), 271, 307, 410, 473, 510, 523-524(2), 574, 584
- in /usr/src/ucb/Mail/edit.c line 185-187(2)
- in /usr/src/ucb/Mail/fio.c line 322-326(2), 346-352(3), 359-371(4), 379, 392, 409(2)
- in /usr/src/ucb/Mail/getname.c line 59
- in /usr/src/ucb/Mail/head.c line 63(2), 82, 101-103(3), 113-117(2), 225-227(2), 244
- in /usr/src/ucb/Mail/lex.c line 68, 183, 216-217(2), 268, 417, 453, 552
- in /usr/src/ucb/Mail/list.c line 234, 267, 297, 463, 686
- in /usr/src/ucb/Mail/main.c line 82-87(2), 193-197(2), 225, 234
- in /usr/src/ucb/Mail/names.c line 95-100(2), 126, 139, 170, 286-290(2), 376, 486-489(2), 503
- in /usr/src/ucb/Mail/popen.c line 104, 209-212(4)
- in /usr/src/ucb/Mail/quit.c line 137-140(2), 155-157(2), 166-173(3), 199, 234, 244, 258, 349, 394-396(2), 405-414(4), 459
- in /usr/src/ucb/Mail/send.c line 71, 173, 189, 243, 276, 303-304(2), 311, 346-351(2), 377, 385, 479
- in /usr/src/ucb/Mail/strings.c line 69, 77-80(2), 107, 124
- in /usr/src/ucb/Mail/temp.c line 71, 78, 87
- in /usr/src/ucb/Mail/tty.c line 107, 161-166(2), 173, 207-216(3), 244
- in /usr/src/ucb/Mail/v7.local.c line 64, 76

NOVAR defined in line 211; used 7 times

- in /usr/src/ucb/Mail/cmd3.c line 360-364(2), 406
- in /usr/src/ucb/Mail/vars.c line 58, 114, 130-133(2)

P defined in line 123; used 4 times

- in /usr/src/ucb/Mail/cmdtab.c line 68-71(2)
- in /usr/src/ucb/Mail/lex.c line 323, 417

PATHSIZE defined in line 53; used 3 times

- in /usr/src/ucb/Mail/fio.c line 299-300(2), 412

R defined in line 129; used 7 times

- in /usr/src/ucb/Mail/cmdtab.c line 73, 100-103(4)
- in /usr/src/ucb/Mail/lex.c line 319-323(2)

RAWLIST defined in line 119; used 21 times

- in /usr/src/ucb/Mail/cmdtab.c line 59, 72, 82-93(7), 105, 112-125(11)

REGDEP defined in line 244; used 1 times

- in /usr/src/ucb/Mail/list.c line 593

STRINGLEN defined in line 245; used 2 times

- in /usr/src/ucb/Mail/list.c line 574, 596

STRINGSIZE defined in line 56; used 4 times

- in /usr/src/ucb/Mail/strings.c line 69, 79, 85, 110

STRLIST defined in line 118; used 6 times

- in /usr/src/ucb/Mail/cmdtab.c line 73, 80-84(3), 90, 96

T defined in line 128; used 5 times

- in /usr/src/ucb/Mail/cmdtab.c line 92-94(3)
- in /usr/src/ucb/Mail/lex.c line 323, 423

TCLOSE defined in line 240; used 1 times

- in /usr/src/ucb/Mail/list.c line 485

TDASH defined in line 233; used 2 times

- in /usr/src/ucb/Mail/list.c line 157, 482

TDOLLAR defined in line 237; used 1 times

- in /usr/src/ucb/Mail/list.c line 478

TDOT defined in line 235; used 1 times

- in /usr/src/ucb/Mail/list.c line 479

TEOL defined in line 231; used 2 times

- in /usr/src/ucb/Mail/list.c line 133, 520

TERROR defined in line 242; used 1 times

- in /usr/src/ucb/Mail/list.c line 580

TNUMBER defined in line 232; used 1 times

- in /usr/src/ucb/Mail/list.c line 538

TOPEN defined in line 239; used 1 times

- in /usr/src/ucb/Mail/list.c line 484

TPLUS defined in line 241; used 1 times

- in /usr/src/ucb/Mail/list.c line 483

TSTAR defined in line 238; used 1 times

- in /usr/src/ucb/Mail/list.c line 481

TSTRING defined in line 234; used 1 times

- in /usr/src/ucb/Mail/list.c line 584

TUP defined in line 236; used 1 times

- in /usr/src/ucb/Mail/list.c line 480

W defined in line 126; used 9 times

- in /usr/src/ucb/Mail/cmdtab.c line 66-74(6), 111
- in /usr/src/ucb/Mail/lex.c line 314, 323

blockof defined in line 90; used 2 times

- in /usr/src/ucb/Mail/edit.c line 111
- in /usr/src/ucb/Mail/fio.c line 108

c_maxargs defined in line 111; used 2 times

- in /usr/src/ucb/Mail/lex.c line 383-385(2)

c_minargs defined in line 110; used 2 times

- in /usr/src/ucb/Mail/lex.c line 378-380(2)

equal defined in line 61; used 5 times

- in /usr/src/ucb/Mail/aux.c line 648
- in /usr/src/ucb/Mail/cmd3.c line 383
- in /usr/src/ucb/Mail/tty.c line 243
- in /usr/src/ucb/Mail/vars.c line 131, 147

offstof defined in line 91; used 2 times

- in /usr/src/ucb/Mail/edit.c line 112
- in /usr/src/ucb/Mail/fio.c line 109

positionof defined in line 92; used 1 times

- in /usr/src/ucb/Mail/fio.c line 188

reset defined in line 261; used 8 times

- in /usr/src/ucb/Mail/lex.c line 506, 523
- in /usr/src/ucb/Mail/quit.c line 424, 431, 442, 451, 462, 475

setexit defined in line 260; used 1 times

- in /usr/src/ucb/Mail/lex.c line 177

trunc defined in line 268; used 4 times

- in /usr/src/ucb/Mail/quit.c line 270, 307, 361, 453

#### Usage of this include

def.h used 2 times

- in /usr/src/ucb/Mail/cmdtab.c line 38
- in /usr/src/ucb/Mail/rcv.h line 43

Last modified: 1997-11-01 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1518 |