home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / tcp / Networking / TCP / Server / wu-ftpd / src / config.h < prev    next >
C/C++ Source or Header  |  1995-02-11  |  2KB  |  95 lines

  1. #define HAVE_SYMLINK
  2. #undef  BSD
  3. #define HAVE_DIRENT
  4. #define HAVE_D_NAMLEN
  5. #undef  HAVE_FLOCK
  6. #undef  HAVE_FTW
  7. #define HAVE_GETCWD
  8. #define HAVE_GETDTABLESIZE
  9. #undef  HAVE_PSTAT
  10. #undef  HAVE_ST_BLKSIZE
  11. #undef  HAVE_SYSINFO
  12. #undef  HAVE_UT_UT_HOST
  13. #define HAVE_VPRINTF
  14. #define OVERWRITE
  15. #define SETPROCTITLE
  16. #undef  SHADOW_PASSWORD
  17. #define UPLOAD
  18. #undef  USG
  19. #define NO_MALLOC_PROTO
  20.  
  21. #define MAXPATHLEN 256
  22. #define L_SET 0
  23. #define L_INCR 1
  24. #define NGROUPS_MAX 16
  25. #define NCARGS 20480
  26. #define SIGALRM 100 /* this number is ununsed for sure, no system has so many signals :-) */
  27.  
  28. #include <stdlib.h>
  29. #include <unistd.h>
  30.  
  31. #define alloca malloc
  32. #define strcasecmp stricmp
  33. #define strncasecmp strnicmp
  34. #define strcasestr strstr
  35. #define __chmod amiga_chmod
  36. #define umask amiga_umask
  37. #define getumask amiga_getumask
  38. #define seteuid amiga_seteuid
  39. #define setegid amiga_setegid
  40. #define geteuid amiga_geteuid
  41. #define getpwnam amiga_getpwnam
  42. #define getgrnam amiga_getgrnam
  43. #define signal amiga_signal
  44.  
  45. #ifndef FACILITY
  46. #define FACILITY LOG_DAEMON
  47. #endif
  48.  
  49. typedef void    SIGNAL_TYPE;
  50.  
  51. /*
  52.  * allow "upload" keyword in ftpaccess
  53.  */
  54.  
  55. #define UPLOAD
  56.  
  57. /*
  58.  * allow "overwrite" keyword in ftpaccess.
  59.  */
  60.  
  61. #define OVERWRITE
  62.  
  63. /*
  64.  * allow "allow/deny" for individual users.
  65.  */
  66.  
  67. #define HOST_ACCESS
  68.  
  69. /*
  70.  * log failed login attempts
  71.  */
  72.  
  73. #define LOG_FAILED
  74.  
  75. /*
  76.  * allow use of private file.  (for site group and site gpass)
  77.  */
  78.  
  79. #undef  NO_PRIVATE
  80.  
  81. /*
  82.  * Try once more on failed DNS lookups (to allow far away connections 
  83.  * which might resolve slowly)
  84.  */
  85.  
  86. #define    DNS_TRYAGAIN
  87.  
  88. /*
  89.  * Undefine this if you want a wtmp file like on Unix
  90.  * (not very useful on Amiga, because there is no "last"
  91.  * or "ac" command).
  92.  */
  93.  
  94. #define NO_LOGWTMP
  95.