home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / duucp-1.17 / AU-117b4-src.lha / src / include / config.h next >
Encoding:
C/C++ Source or Header  |  1994-01-24  |  3.8 KB  |  149 lines

  1. /*
  2.  *  CONFIG.H
  3.  */
  4.  
  5. #ifndef _CONFIG_H
  6. #define _CONFIG_H
  7.  
  8. #ifndef _PROTOS_H
  9. #include "protos.h"
  10. #endif
  11. #ifndef _TIME_H
  12. #include <time.h>
  13. #endif
  14.  
  15. #define Prototype   extern
  16. #define Local
  17. #define ProtoInclude
  18.  
  19. #include "lib_protos.h"     /*  MACHINE GENERATED   */
  20.  
  21. #define USERNAME    "UserName"
  22. #define NODENAME    "NodeName"
  23. #define REALNAME    "RealName"
  24. #define DEBUGNAME    "Debug"
  25. #define NEWSFEED    "NewsFeed"
  26. #define ORGANIZATION    "Organization"
  27. #define FILTER        "Filter"        /*  can be run in the foregnd    */
  28. #define RFILTER     "RFilter"       /*  can be run in the background */
  29. #define EDITOR        "MailEditor"
  30. #define NEWSEDITOR    "NewsEditor"
  31. #define DOMAINNAME    "DomainName"
  32. #define TIMEZONE    "TimeZone"
  33. #define DEFAULTNODE    "DefaultNode"
  34.  
  35. /*
  36.  *  1.05
  37.  */
  38.  
  39. #define MAILREADYCMD    "MailReadyCmd"
  40. #define NEWSREADYCMD    "NewsReadyCmd"
  41.  
  42. /*
  43.  *  1.06
  44.  */
  45.  
  46. #define RNEWSDEBUG    "RNewsDebug"
  47.  
  48. /*
  49.  *  1.07
  50.  */
  51.  
  52. #define MODEMINIT    "ModemInit"     /*  modem initialization str */
  53. #define AUTOBATCH    "AutoBatch"     /*  auto-batch on postnews       */
  54. #define CTIMEOUT    "Timeout"       /*  connect timeout          */
  55. #define MAXRMAILLEN    "MaxRMailLen"
  56.  
  57. /*
  58.  *  1.14
  59.  */
  60.  
  61. #define BATCHBITS    "BatchBits"
  62. /*#define MAILBOUNCE      "MailBounce"  changed in 1.17 */
  63. #define DOMAINPATH    "DomainPath"
  64. #define SPOOLSIZE    "SpoolSize"
  65. #define HOME        "Home"          /*  dmail   */
  66.  
  67. /*
  68.  *  1.15
  69.  */
  70.  
  71. #define MUNGECASE    "MungeCase"     /*  Y/N, default Y, case munging    */
  72. #define JUNKSAVE    "JunkSave"      /*  Y/N, default Y, junk newsgroup  */
  73.  
  74. /*
  75.  *  1.17
  76.  */
  77.  
  78. #define USESUBDIRS    "UseSubDirs"         /*  Y/N, default N, sites dirs in UUSPOOL: */
  79. #define UUXQTINTERVAL    "UUXqtInterval"      /*  How many incoming files to get before starting UUXQT */
  80. #define UUXQTPRIORITY    "UUXqtPriority"      /*  What priority to start UUXQT at */
  81. #define MAILBOUNCE    "BounceNoDomain"     /*  Bounce mail if don't know the domain */
  82. #define USERBOUNCE    "BounceNoUser"       /*  Bounce if CheckUser program says user is invalid */
  83. #define CCPMBOUNCE    "BounceCcPostMaster" /*  Bounces CC the headers to the postmaster */
  84. #define CHECKUSER    "CheckUser"          /*  Name of the program to validate a local user */
  85.  
  86. /*
  87.  *  The following config entries are self-defaults... if the config
  88.  *  entry does not exist the default is the config-name.  The config
  89.  *  entry is normally retrieve with 'GetConfigProgram(string)'
  90.  */
  91.  
  92. #define BATCHNEWS    "BatchNews"
  93. #define UUX        "Uux"
  94. #define SENDMAIL    "Sendmail"
  95. #define POSTNEWS    "Postnews"
  96. #define UUXQT        "Uuxqt"
  97. #define RMAIL        "RMail"
  98. #define CUNBATCH    "CUnbatch"
  99. #define RNEWS        "RNews"
  100. #define RSMTP        "RSMTP"
  101. #define RCSMTP        "RCSMTP"
  102.  
  103. /*
  104.  *  The following config entries are directory-defaults... if the
  105.  *  config entry does not exist the specified default is returned.
  106.  *
  107.  *  These entries are retrieved via 'GetConfigDir(string)'
  108.  *
  109.  *  The SUUCP entry is used ONLY by people doing distributions and
  110.  *  working on the source.
  111.  */
  112.  
  113. #define UUSPOOL     "UUSpool\0UUSPOOL:"
  114. #define UUNEWS        "UUNews\0UUNEWS:"
  115. #define UUMAIL        "UUMail\0UUMAIL:"
  116. #define UULIB        "UULib\0UULIB:"
  117. #define UUPUB        "UUPub\0UUPUB:"
  118. #define UUMAN        "UUMan\0UUMAN:"
  119. #define SUUCP        "UUCP\0UUCP:"
  120. #define UUALTSPOOL  "UUAltSpool\0UUALTSPOOL:"
  121. #define LOCKDIR     "LockDir\0T:"
  122.  
  123. /*
  124.  * This idea (and base) for this code was written by Fred Cassirer 10/9/88
  125.  * as a Config file for News programs, to whom I say Thanx!
  126.  *
  127.  * It has since been expanded to include all the directory paths and some
  128.  * command/filenames. This is to eliminate the forced use of hardcoding in
  129.  * the executables.
  130.  *
  131.  * Simply change any of these you may need to, and recompile as needed.
  132.  *
  133.  * Sneakers 11/21/88
  134.  */
  135.  
  136. #define MAXGROUPS 1024    /* Maximum # of subscribed newsgroups */
  137. #define MAXFILES  1000    /* Max # of files in any news or spool directory */
  138.  
  139. /*
  140.  *  overrides any previous NULL
  141.  */
  142.  
  143. #ifdef NULL
  144. #undef NULL
  145. #endif
  146. #define NULL ((void *) 0L)
  147.  
  148. #endif
  149.