home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / tcp / Networking / TCP / Server / wu-ftpd / src / extensions.h < prev    next >
C/C++ Source or Header  |  1994-04-01  |  1KB  |  47 lines

  1. #ifndef FNM_PATHNAME
  2. #define FNM_PATHNAME    0x01    /* match pathnames, not filenames */
  3. #endif
  4.  
  5. #ifndef FNM_QUOTE
  6. #define FNM_QUOTE   0x02        /* escape special chars with \ */
  7. #endif
  8.   
  9. #ifndef FNM_NOCASE
  10. #define FNM_NOCASE  0x04        /* case insensitive match */
  11. #endif
  12.  
  13. #define LOG_IN  0
  14. #define C_WD    1
  15. #define BANNER  2
  16.  
  17. #ifndef ALIGN
  18. #define ALIGN(x)        ((x) + (sizeof(long) - (x) % sizeof(long)))
  19. #endif
  20.  
  21. #define O_COMPRESS              (1 << 0)    /* file was compressed */
  22. #define O_UNCOMPRESS            (1 << 1)    /* file was uncompressed */
  23. #define O_TAR                   (1 << 2)    /* file was tar'ed */
  24.  
  25. #define MAXARGS         50
  26. #define MAXKWLEN        20
  27.  
  28. struct aclmember {
  29.     struct aclmember *next;
  30.     char keyword[MAXKWLEN];
  31.     char *arg[MAXARGS];
  32. };
  33.  
  34. #define MAXUSERS        1024
  35.  
  36. #define ARG0    entry->arg[0]
  37. #define ARG1    entry->arg[1]
  38. #define ARG2    entry->arg[2]
  39. #define ARG3    entry->arg[3]
  40. #define ARG4    entry->arg[4]
  41. #define ARG5    entry->arg[5]
  42. #define ARG6    entry->arg[6]
  43. #define ARG7    entry->arg[7]
  44. #define ARG8    entry->arg[8]
  45. #define ARG9    entry->arg[9]
  46. #define ARG     entry->arg
  47.