home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Networking / wu-ftpd-2.4.2b13-MIHS / src / extensions.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-10  |  1.1 KB  |  45 lines

  1. #ifndef FNM_PATHNAME
  2. #define FNM_PATHNAME    0x01    /* Slash must be matched by slash. */
  3. #endif
  4. #ifndef FNM_NOESCAPE
  5. #define FNM_NOESCAPE    0x02    /* Disable backslash escaping. */
  6. #endif
  7. #ifndef FNM_PERIOD
  8. #define FNM_PERIOD      0x04    /* Period must be matched by period. */
  9. #endif
  10.  
  11. #define LOG_IN  0
  12. #define C_WD    1
  13. #define BANNER  2
  14.  
  15. #ifndef ALIGN
  16. #define ALIGN(x)        ((x) + (sizeof(long) - (x) % sizeof(long)))
  17. #endif
  18.  
  19. #define O_COMPRESS              (1 << 0)    /* file was compressed */
  20. #define O_UNCOMPRESS            (1 << 1)    /* file was uncompressed */
  21. #define O_TAR                   (1 << 2)    /* file was tar'ed */
  22.  
  23. #define MAXARGS         50
  24. #define MAXKWLEN        20
  25.  
  26. struct aclmember {
  27.     struct aclmember *next;
  28.     char keyword[MAXKWLEN];
  29.     char *arg[MAXARGS];
  30. };
  31.  
  32. #define MAXUSERS        1024
  33.  
  34. #define ARG0    entry->arg[0]
  35. #define ARG1    entry->arg[1]
  36. #define ARG2    entry->arg[2]
  37. #define ARG3    entry->arg[3]
  38. #define ARG4    entry->arg[4]
  39. #define ARG5    entry->arg[5]
  40. #define ARG6    entry->arg[6]
  41. #define ARG7    entry->arg[7]
  42. #define ARG8    entry->arg[8]
  43. #define ARG9    entry->arg[9]
  44. #define ARG     entry->arg
  45.