Cross reference for ac/access_control.h of index.

# 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

- `#include ";/home/shane/release/RIP/include/timediff.h";`
  - `#include <sys/time.h>`

- `#include ";/home/shane/release/RIP/include/erroutines.h";`
  - `#include <stdio.h>`
  - `#include <unistd.h>`
  - `#include <stdlib.h>`
  - `#include <assert.h>`
  - `#include <time.h>`
  - `#include <stdarg.h>`
  - `#include <strings.h>`
  - `#include <sys/param.h>`
  - `#include <glib.h>`
  - `#include <pthread.h>`
  - `#include </home/shane/release/RIP/include/bitmask.h>`
  - `#include </home/shane/release/RIP/include/stubs.h>`
  - `#include ";/home/shane/release/RIP/include/thread.h";`
    - `#include <pthread.h>`
  - `#include <pthread.h>`
  - `#include ";/home/shane/release/RIP/include/er_facilities.h";`
    - `#include </home/shane/release/RIP/include/erroutines.h>`
    - `#include ";/home/shane/release/RIP/include/er_RX_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_ER_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_IP_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_UP_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_UT_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_WH_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_RP_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_QI_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_QC_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_PW_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_SK_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_TH_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_SQ_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_PM_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_MM_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_SV_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_AC_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_UD_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_PA_errors.h";`
    - `#include ";/home/shane/release/RIP/include/er_PC_errors.h";`
    - `#include ";/home/shane/release/RIP/include/erroutines.h";`
  - `#include ";/home/shane/release/RIP/include/er_aspects.h";`
    - `#include ";/home/shane/release/RIP/include/erroutines.h";`
  - `#include ";/home/shane/release/RIP/include/er_formats.h";`

- `#include ";/home/shane/release/RIP/include/iproutines.h";`
  - `#include <sys/types.h>`
  - `#include <glib.h>`
  - `#include </home/shane/release/RIP/include/inet6def.h>`
  - `#include <erroutines.h>`

- `#include ";/home/shane/release/RIP/include/rxroutines.h";`
  - `#include <glib.h>`
  - `#include <pthread.h>`
  - `#include <stubs.h>`
  - `#include </home/shane/release/RIP/include/memwrap.h>`
  - `#include <stdio.h>`
  - `#include <iproutines.h>`
  - `#include <erroutines.h>`
  - `#include ";/home/shane/release/RIP/include/sk.h";`
    - `#include ";/home/shane/release/RIP/include/stubs.h";`
    - `#include <sys/time.h>`
    - `#include <unistd.h>`
    - `#include <sys/types.h>`
    - `#include <sys/socket.h>`
    - `#include <netinet/in.h>`
    - `#include <netdb.h>`
    - `#include <pthread.h>`
    - `#include <stdlib.h>`
    - `#include <errno.h>`
    - `#include <fcntl.h>`
    - `#include <signal.h>`
    - `#include <stdio.h>`
    - `#include ";/home/shane/release/RIP/include/iproutines.h";`
  - `#include ";/home/shane/release/RIP/include/thread.h";`

- `#include ";/home/shane/release/RIP/include/mysql_driver.h";`
  - `#include ";/usr/local/mysql/include/mysql/mysql.h";`
    - `#include <sys/types.h>`
    - `#include ";/usr/local/mysql/include/mysql/mysql_com.h";`
    - `#include ";/usr/local/mysql/include/mysql/mysql_version.h";`
  - `#include ";/usr/local/mysql/include/mysql/mysqld_error.h";`
  - `#include ";/home/shane/release/RIP/include/erroutines.h";`

## 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()