home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / com / utils / elm / sources / save_opt.h < prev    next >
C/C++ Source or Header  |  1990-04-28  |  4KB  |  130 lines

  1.  
  2. /* @(#)$Id: save_opts.h,v 4.1 90/04/28 22:42:12 syd Exp $ */
  3.  
  4. /*******************************************************************************
  5.  *  The Elm Mail System  -  $Revision: 4.1 $   $State: Exp $
  6.  *
  7.  *             Copyright (c) 1986, 1987 Dave Taylor
  8.  *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  9.  *******************************************************************************
  10.  * Bug reports, patches, comments, suggestions should be sent to:
  11.  *
  12.  *    Syd Weinstein, Elm Coordinator
  13.  *    elm@DSI.COM            dsinc!elm
  14.  *
  15.  *******************************************************************************
  16.  * $Log:    save_opts.h,v $
  17.  * Revision 4.1  90/04/28  22:42:12  syd
  18.  * checkin of Elm 2.3 as of Release PL0
  19.  *
  20.  *
  21.  ******************************************************************************/
  22.  
  23. /** Some crazy includes for the save-opts part of the Elm program!
  24.  
  25. **/
  26.  
  27. #define ALTERNATIVES        0
  28. #define ALWAYSDELETE        1
  29. #define ALWAYSKEEP        2
  30. #define ALWAYSSTORE        3
  31. #define ARROW            4
  32. #define ASK            5
  33. #define ASKCC            6
  34. #define ATTRIBUTION             7
  35. #define AUTOCOPY                8
  36. #define BOUNCEBACK              9
  37. #define CALENDAR                10
  38. #define COPY                    11
  39. #define EDITOR                  12
  40. #define ESCAPECHAR              13
  41. #define FORCENAME               14
  42. #define FORMS                   15
  43. #define FULLNAME                16
  44. #define KEEPEMPTY               17
  45. #define KEYPAD                  18
  46. #define LOCALSIGNATURE          19
  47. #define MAILDIR                 20
  48. #define MENU                    21
  49. #define MOVEPAGE                22
  50. #define NAMES                   23
  51. #define NOHEADER                24
  52. #define PAGER                   25
  53. #define POINTNEW                26
  54. #define PREFIX                  27
  55. #define PRINT                   28
  56. #define PROMPTAFTER             29
  57. #define RECEIVEDMAIL            30
  58. #define REMOTESIGNATURE         31
  59. #define RESOLVE                 32
  60. #define SAVENAME                33
  61. #define SENTMAIL                34
  62. #define SHELL                   35
  63. #define SIGDASHES               36
  64. #define SIGNATURE               37
  65. #define SOFTKEYS                38
  66. #define SORTBY                  39
  67. #define TIMEOUT                 40
  68. #define TITLES                  41
  69. #define TMPDIR                  42
  70. #define USERLEVEL               43
  71. #define WARNINGS                44
  72. #define WEED                    45
  73. #define WEEDOUT                 46
  74.  
  75. #define NUMBER_OF_SAVEABLE_OPTIONS    WEEDOUT+1
  76.  
  77. struct save_info_recs {
  78.     char     name[NLEN];     /* name of instruction */
  79.     long     offset;        /* offset into elmrc-info file */
  80.     } save_info[NUMBER_OF_SAVEABLE_OPTIONS] =
  81. {
  82.  { "alternatives", -1L },
  83.  { "alwaysdelete", -1L },
  84.  { "alwayskeep", -1L },
  85.  { "alwaysstore", -1L },
  86.  { "arrow", -1L},
  87.  { "ask", -1L },
  88.  { "askcc", -1L },
  89.  { "attribution", -1L },
  90.  { "autocopy", -1L },
  91.  { "bounceback", -1L },
  92.  { "calendar", -1L },
  93.  { "copy", -1L },
  94.  { "editor", -1L },
  95.  { "escape", -1L },
  96.  { "forcename", -1L },
  97.  { "forms", -1L },
  98.  { "fullname", -1L },
  99.  { "keepempty", -1L },
  100.  { "keypad", -1L },
  101.  { "localsignature", -1L },
  102.  { "maildir", -1L },
  103.  { "menu", -1L },
  104.  { "movepage", -1L },
  105.  { "names", -1L },
  106.  { "noheader", -1L },
  107.  { "pager", -1L },
  108.  { "pointnew", -1L},
  109.  { "prefix", -1L },
  110.  { "print", -1L },
  111.  { "promptafter", -1L },
  112.  { "receivedmail", -1L },
  113.  { "remotesignature",-1L},
  114.  { "resolve", -1L },
  115.  { "savename", -1L },
  116.  { "sentmail", -1L },
  117.  { "shell", -1L },
  118.  { "sigdashes", -1L },
  119.  { "signature", -1L },
  120.  { "softkeys", -1L },
  121.  { "sortby", -1L },
  122.  { "timeout", -1L },
  123.  { "titles", -1L },
  124.  { "tmpdir", -1L },
  125.  { "userlevel", -1L },
  126.  { "warnings", -1L },
  127.  { "weed", -1L },
  128.  { "weedout", -1L },
  129. };
  130.