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 >
Wrap
C/C++ Source or Header
|
1994-04-01
|
1KB
|
47 lines
#ifndef FNM_PATHNAME
#define FNM_PATHNAME 0x01 /* match pathnames, not filenames */
#endif
#ifndef FNM_QUOTE
#define FNM_QUOTE 0x02 /* escape special chars with \ */
#endif
#ifndef FNM_NOCASE
#define FNM_NOCASE 0x04 /* case insensitive match */
#endif
#define LOG_IN 0
#define C_WD 1
#define BANNER 2
#ifndef ALIGN
#define ALIGN(x) ((x) + (sizeof(long) - (x) % sizeof(long)))
#endif
#define O_COMPRESS (1 << 0) /* file was compressed */
#define O_UNCOMPRESS (1 << 1) /* file was uncompressed */
#define O_TAR (1 << 2) /* file was tar'ed */
#define MAXARGS 50
#define MAXKWLEN 20
struct aclmember {
struct aclmember *next;
char keyword[MAXKWLEN];
char *arg[MAXARGS];
};
#define MAXUSERS 1024
#define ARG0 entry->arg[0]
#define ARG1 entry->arg[1]
#define ARG2 entry->arg[2]
#define ARG3 entry->arg[3]
#define ARG4 entry->arg[4]
#define ARG5 entry->arg[5]
#define ARG6 entry->arg[6]
#define ARG7 entry->arg[7]
#define ARG8 entry->arg[8]
#define ARG9 entry->arg[9]
#define ARG entry->arg