home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / duucp-1.17 / AU-117b4-src.lha / src / dmail / globals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-24  |  1.9 KB  |  49 lines

  1. /*
  2.  * GLOBALS.C
  3.  *
  4.  *  (C) Copyright 1985-1990 by Matthew Dillon,    All Rights Reserved.
  5.  *
  6.  *  Declarations for most global variables.
  7.  *
  8.  */
  9.  
  10. #include <stdio.h>
  11.  
  12. #include "dmail.h"
  13.  
  14. FILE *m_fi;                /* open file ptr to spool file  */
  15. char *mail_file;            /* name of from (spool) file    */
  16. char *output_file;            /* name of out file (i.e. mbox) */
  17. char *user_name;            /* user name from password entry*/
  18. char *home_dir;             /* home directory of user        */
  19. char *visual;                /* visual editor path        */
  20. char Buf[MAXFIELDSIZE];         /* Scratch Buffer            */
  21. char Puf[MAXFIELDSIZE];         /* Another Scratch Buffer        */
  22. jmp_buf env[LONGSTACK];         /* Holds longjump (break) stack */
  23. int  Did_cd;                /* Set if user does a CD        */
  24. int  XDebug;                /* Debug mode            */
  25. int  Longstack, Breakstack;        /* longjump/break level stack   */
  26. int  Entries, Current;            /* #Entries and Current entry   */
  27. int  XDisable;                /* Disable non-cond comm exec.  */
  28. int  ac;                /* internal argc, from/to stat  */
  29. int  No_load_mail;            /* disable loading of mail        */
  30. int  lmessage_overide;            /* Overide initial 'X items ... */
  31. int  Silence;                /* -s command option status     */
  32. int  SelAll = 1;            /* last select was sel all        */
  33. struct ENTRY *Entry;            /* Base of Entry list        */
  34. char *av[128];                /* internal argv[]            */
  35. char *Nulav[3] = { "", "", NULL };
  36.  
  37. int width[MAXLIST]  = { 18, 38, 10 };    /* Default setlist params    */
  38. int header[MAXLIST] = {  0,  2,  1 };
  39. int Listsize = 3;
  40.  
  41. /* The following are globals variables definable from the 'set' command */
  42.  
  43. char  *S_sendmail;            /* sendmail program path        */
  44. int   S_page;                /* Paging status            */
  45. int   S_novibreak;            /* vi-break status            */
  46. int   S_verbose;            /* sendmail verbose status        */
  47. int   S_ask;                /* Ask what to do after mail ed */
  48. int   S_archive;            /* Archive sent mail        */
  49.