home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / b / bmh02src.zip / RC.H < prev    next >
C/C++ Source or Header  |  1992-08-16  |  2KB  |  44 lines

  1. /*
  2.    rc.h : Copyright Paul Healy, EI9GL, 1992.
  3.  
  4.    920603 : Created.
  5. */
  6. #ifndef _rc_h_
  7. #define _rc_h_
  8.  
  9. typedef enum {
  10.       alias,       /* alias file */
  11.       bufsize,     /* internal mail file buffer */
  12.       current,     /* file holding current folder and msg */
  13.       editor,      /* user's favorite text editor */
  14.       editline,    /* call DOS fn 0A for console input */
  15.       folder,      /* directory for saveing read mail */
  16.       fullname,    /* fullname of this user from rc file */
  17.       hostname,    /* name of this host from rc file */
  18.       maildir,     /* mail directory */
  19.       maxcol,      /* number of character columns on your screen */
  20.       maxlet,      /* maximum number of letters in a file */
  21.       maxrow,      /* number of character rows on your screen */
  22.       mqueue,      /* mqueue outbound directory */
  23.       newsdir,     /* news directory */
  24.       organ,       /* nntp organization header */
  25.       record,      /* record  outbound mail in this file */
  26.       replyto,     /* address for reply-to header */
  27.       rewrite,     /* rewrite file */
  28.       signature,   /* location of sig file */
  29.       spooldir,    /* spool directory - areas file etc */
  30.       savebox,     /* name of the mbox text file */
  31.       screen,      /* screen access mode under Turbo C */
  32.       source,      /* pull in rc info from another file */
  33.       tsbids,      /* add time stamp to bids in history file */
  34.       tmpdir,      /* directory for temporary files */
  35.       username,    /* name of this user from rc file */
  36.       viewer,      /* program to view files with */
  37.       last_var
  38.    } UserVar;
  39.  
  40. int loadconfig(void);
  41. char *getrc(UserVar u);
  42.  
  43. #endif
  44.