home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / auucp+-1.02 / fuucp_plus_src.lzh / include / config.h next >
Encoding:
C/C++ Source or Header  |  1990-11-21  |  2.5 KB  |  104 lines

  1.  
  2. /*
  3.  *  CONFIG.H
  4.  *
  5.  *  $Header: Beta:src/uucp/src/include/RCS/config.h,v 1.1 90/02/02 11:35:03 dillon Exp Locker: dillon $
  6.  */
  7.  
  8. #ifndef _CONFIG_H
  9. #define _CONFIG_H
  10.  
  11. #ifndef _NDIR_H
  12. #include "ndir.h"
  13. #endif
  14. #ifndef _GETFILES_H
  15. #include "getfiles.h"
  16. #endif
  17.  
  18. #define Prototype   extern
  19. #define Local
  20. #define ProtoInclude
  21.  
  22. #include <string.h>
  23. #include "lib_protos.h"     /*  MACHINE GENERATED   */
  24.  
  25.  
  26. #define USERNAME    "UserName"
  27. #define NODENAME    "NodeName"
  28. #define REALNAME    "RealName"
  29. #define DEBUGNAME    "Debug"
  30. #define NEWSFEED    "NewsFeed"
  31. #define ORGANIZATION    "Organization"
  32. #define FILTER        "Filter"        /*  can be run in the foregnd    */
  33. #define RFILTER     "RFilter"       /*  can be run in the background */
  34. #define EDITOR        "MailEditor"
  35. #define NEWSEDITOR    "NewsEditor"
  36. #define HOME        "Home"
  37. #define DOMAINNAME    "DomainName"
  38. #define MAILREADYCMD    "MailReadyCmd"
  39. #define NEWSREADYCMD    "NewsReadyCmd"
  40.  
  41. /*
  42.  *  The following config entries are self-defaults... if the config
  43.  *  entry does not exist the default is the config-name.  The config
  44.  *  entry is normally retrieve with 'GetConfigProgram(string)'
  45.  */
  46.  
  47. #define UUX        "Uux"
  48. #define SENDMAIL    "Sendmail"
  49. #define POSTNEWS    "Postnews"
  50. #define UUXQT        "Uuxqt"
  51. #define RMAIL        "RMail"
  52. #define CUNBATCH    "CUnbatch"
  53. #define RNEWS        "RNews"
  54.  
  55. #define RNEWSDEBUG    "RNewsDebug"
  56.  
  57. /*
  58.  *  The following config entries are directory-defaults... if the
  59.  *  config entry does not exist the specified default is returned.
  60.  *
  61.  *  These entries are retrieved via 'GetConfigDir(string)'
  62.  *
  63.  *  The SUUCP entry is used ONLY by people doing distributions and
  64.  *  working on the source.
  65.  */
  66.  
  67. #define UUSPOOL     "UUSpool\0UUSPOOL:"
  68. #define UUNEWS        "UUNews\0UUNEWS:"
  69. #define UUMAIL        "UUMail\0UUMAIL:"
  70. #define UULIB        "UULib\0UULIB:"
  71. #define UUPUB        "UUPub\0UUPUB:"
  72. #define UUMAN        "UUMan\0UUMAN:"
  73. #define SUUCP        "UUCP\0UUCP:"
  74. #define UUALTSPOOL  "UUAltSpool\0UUALTSPOOL:"
  75.  
  76. /*
  77.  * This idea (and base) for this code was written by Fred Cassirer 10/9/88
  78.  * as a Config file for News programs, to whom I say Thanx!
  79.  *
  80.  * It has since been expanded to include all the directory paths and some
  81.  * command/filenames. This is to eliminate the forced use of hardcoding in
  82.  * the executables.
  83.  *
  84.  * Simply change any of these you may need to, and recompile as needed.
  85.  *
  86.  * Sneakers 11/21/88
  87.  *
  88.  */
  89.  
  90. #define MAXGROUPS 1024    /* Maximum # of subscribed newsgroups */
  91. #define MAXFILES  1000    /* Max # of files in any news or spool directory */
  92.  
  93. /*
  94.  *  overrides any previous NULL
  95.  */
  96.  
  97. #ifdef NULL
  98. #undef NULL
  99. #endif
  100. #define NULL ((void *)0L)
  101.  
  102. #endif
  103.  
  104.