isdn4k-utils/eurofile/src/wuauth/extensions.h

45 lines
1.1 KiB
C

#ifndef FNM_PATHNAME
#define FNM_PATHNAME 0x01 /* Slash must be matched by slash. */
#endif
#ifndef FNM_NOESCAPE
#define FNM_NOESCAPE 0x02 /* Disable backslash escaping. */
#endif
#ifndef FNM_PERIOD
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
#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