$Revision: 1.10 $
Access Control module (ac) - the header file.
Status: NOT REVUED, NOT TESTED
Design and implementation by: Marek Bukowy
Included Files
- #include "include/rxroutines.h"
- #include <glib.h>
- #include <pthread.h>
- #include <stubs.h>
- #include <include/memwrap.h>
- #include <stdio.h>
- #include <iproutines.h>
- #include <erroutines.h>
- #include "include/socket.h"
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <stdlib.h>
- #include <errno.h>
- #include <netdb.h>
- #include <signal.h>
- #include <stdio.h>
- #include <iproutines.h>
- #include "include/thread.h"
Preprocessor definitions
#define READ_ACCESS_CONTROL
#define EXTDEF extern
#define ACC_PLUS 0
#define ACC_MINUS 1
typedef struct {...} acl_st
struct |
|
{ |
|
int maxbonus; |
|
int maxpublic; |
|
short maxdenials; |
|
char deny; |
|
char trustpass; |
|
} |
|
typedef struct {...} acc_st
struct |
|
{ |
|
int connections; |
|
int addrpasses; |
|
int denials; |
|
int queries; |
|
int public_objects; |
|
int private_objects; |
|
int private_bonus; |
|
} |
|
External Variables
act_runtime
extern rx_tree_t* act_runtime
act_hour
extern rx_tree_t* act_hour
act_minute
extern rx_tree_t* act_minute
act_acl
extern rx_tree_t* act_acl