File ac/access_control.h

  $Revision: 1.20 $

Access Control module (ac) - the header file.
Status: NOT REVUED, NOT TESTED
Design and implementation by: Marek Bukowy

Included Files


Preprocessor definitions

#define READ_ACCESS_CONTROL

#define EXTDEF extern

#define ACC_PLUS 0

#define ACC_MINUS 1


Typedef acl_st

typedef struct {...} acl_st
struct 
   { 
     int maxprivate; 
     int maxpublic; 
     short maxdenials; 
     char deny; 
     char trustpass; 
   } 

Typedef AC_acc_status

typedef enum {...} AC_acc_status
enum 
   { 
     AC_ACC_NOT_CHANGED; 
     AC_ACC_CHANGED; 
     AC_ACC_NEW; 
   } 

Typedef acc_st

typedef struct {...} acc_st
struct 
   { 
     int connections; 
     int addrpasses; 
     int denials; 
     int queries; 
     int referrals; 
     int public_objects; 
     int private_objects; 
     float public_bonus; 
     float private_bonus; 
     ut_timer_t timestamp; 
     AC_acc_status changed; 
   } 

External Variables

act_runtime
extern rx_tree_t* act_runtime
Defined in: ac/access_control.c

act_hour
extern rx_tree_t* act_hour
Defined in: ac/access_control.c

act_minute
extern rx_tree_t* act_minute
Defined in: ac/access_control.c

ac_auto_save
extern int ac_auto_save
Defined in: ac/ac_persistence.c

act_acl
extern rx_tree_t* act_acl
Defined in: ac/access_control.c


Local Function asctime_r()

static char* asctime_r ( const struct tm* __tm, char* __buf )
Included from: /usr/include/time.h
Calls: __posix_asctime_r()

Local Function ctime_r()

static char* ctime_r ( const time_t* __time, char* __buf )
Included from: /usr/include/time.h
Calls: __posix_ctime_r()

Local Function getlogin_r()

static int getlogin_r ( char* __name, int __len )
Included from: /usr/include/unistd.h
Calls: __posix_getlogin_r()

Local Function sigwait()

static int sigwait ( const sigset_t* __setp, int* __signo )
Included from: /usr/include/signal.h
Calls: __posix_sigwait()

Local Function ttyname_r()

static int ttyname_r ( int __fildes, char* __buf, size_t __size )
Included from: /usr/include/unistd.h
Calls: __posix_ttyname_r()