home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / MN325SRC.ZIP / makenl-3.2.5 / src / config.h < prev    next >
C/C++ Source or Header  |  2005-02-06  |  2KB  |  72 lines

  1. /* $Id: config.h,v 1.9 2004/12/12 19:45:56 mbroek Exp $ */
  2.  
  3. /* Numbers of configuration options */
  4. #define CFG_ARCCOPY 0
  5. #define CFG_ARCMOVE 32
  6. #define CFG_ARCOPEN 33
  7. #define CFG_BADFILES 1
  8. #define CFG_BAUDRATE 2
  9. #define CFG_CLEANUP 3
  10. #define CFG_COMMENTS 4
  11. #define CFG_COPYRIGHT 5
  12. #define CFG_DATA 6
  13. #define CFG_EPILOG 7
  14. #define CFG_FILES 8
  15. #define CFG_MAILFILES 9
  16. #define CFG_MAKE 10
  17. #define CFG_MASTER 11
  18. #define CFG_MERGE 12
  19. #define CFG_MESSAGES 13
  20. #define CFG_MINPHONE 14
  21. #define CFG_NAME 15
  22. #define CFG_NETADRESS 16
  23. #define CFG_NOTIFY 17
  24. #define CFG_OUTDIFF 18
  25. #define CFG_OUTFILE 19
  26. #define CFG_OUTPATH 20
  27. #define CFG_PROCESS 21
  28. #define CFG_PROLOG 22
  29. #define CFG_PUBLISH 23
  30. #define CFG_PRIVATE 24
  31. #define CFG_SUBMIT 25
  32. #define CFG_THRESHOLD 26
  33. #define CFG_UPDATE 27
  34. #define CFG_UPLOADS 28
  35. #define CFG_POINTS 29
  36. #define CFG_BATCHFILE 30
  37. #define CFG_CALLEDBATCHFILE 31
  38.  
  39. /* #define CFG_ARCMOVE 32   # moved to second place */
  40. /* #define CFG_ARCOPEN 33   # moved to third place */
  41.  
  42. /* Allow Alpha Character in Field Six */
  43. /*    - requested by Michael Grant    */
  44.  
  45. #define CFG_ALPHAPHONE 34
  46.  
  47. /* Allow UnPublished w/o Pvt */
  48.  
  49. #define CFG_ALLOWUNPUB 35
  50.  
  51. /* Logfile */
  52. #define CFG_LOGFILE 36
  53. #define    CFG_LOGLEVEL 37
  54.  
  55. /* Force submit unchanged file */
  56. #define CFG_FORCESUBMIT 38
  57.  
  58.  
  59. struct switchstruct
  60. {
  61.     char *name;
  62.     int minlen;
  63.     int value;
  64. };
  65.  
  66. extern const struct switchstruct MakeTypes[];
  67.  
  68. void DoCmdLine(char **argv, char **cfgfilename);
  69. int parsecfgfile(FILE * CFG);
  70. unsigned int xlate_switch(const char *swit,
  71.                           const struct switchstruct *desc);
  72.