Cross reference for modules/aa/aa.c of index.

# File modules/aa/aa.c

      $Revision: 1.2 $

      access authorisation (aa). aa.c - functions to check access rights
      for less frequent clients (ripupdate, networkupdate, mirror).

      Status: NOT REVUED, NOT TESTED,

      Design and implementation by: Marek Bukowy

## Included Files

- `#include "include/iproutines.h"`
  - `#include <glib.h>`
  - `#include <include/erroutines.h>`
  - `#include <sys/types.h>`

- `#include "include/mysql_driver.h"`
  - `#include "/opt/package/mysql/include/mysql/mysql.h"`
    - `#include <sys/types.h>`
    - `#include "/opt/package/mysql/include/mysql/mysql_com.h"`
    - `#include "/opt/package/mysql/include/mysql/mysql_version.h"`
  - `#include "/opt/package/mysql/include/mysql/mysqld_error.h"`
  - `#include "include/erroutines.h"`

- `#include "include/constants.h"`
  - `#include <glib.h>`

- `#include "include/access_control.h"`
  - `#include "include/erroutines.h"`
  - `#include "include/iproutines.h"`
  - `#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/sk.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"`
      - `#include <pthread.h>`
  - `#include "include/mysql_driver.h"`

## Typedef aa_rights

`typedef struct {...} aa_rights`

`struct` |
`{` |
`int ripupdate;` |
`int netupdate;` |
`int mirror;` |
`}` |

## Global Function AA_can_mirror()

`int AA_can_mirror ( ip_addr_t* address, char* source )`

Calls: | aa_find() | modules/aa/aa.c

## Global Function AA_can_networkupdate()

`int AA_can_networkupdate ( ip_addr_t* address, char* source )`

Calls: | aa_find() | modules/aa/aa.c

## Global Function AA_can_ripupdate()

`int AA_can_ripupdate ( ip_addr_t* address, char* source )`

Calls: | aa_find() | modules/aa/aa.c

## Global Function aa_compose_query()

`void aa_compose_query ( ip_addr_t* address, char* source, char* buf, int len )`

Calls: | IP_addr_b2v4_addr(), snprintf()
Called by: | aa_find() | modules/aa/aa.c

## Global Function aa_find()

`void aa_find ( ip_addr_t* address, char* source, aa_rights* rights )`

Calls: | aa_compose_query() | modules/aa/aa.c
| aa_parserow() | modules/aa/aa.c
| AC_dbopen_admin(), SQ_close_connection(), SQ_errno(), SQ_error(), SQ_execute_query(), SQ_free_result(), fprintf()
Called by: | AA_can_mirror() | modules/aa/aa.c
| AA_can_networkupdate() | modules/aa/aa.c
| AA_can_ripupdate() | modules/aa/aa.c

## Global Function aa_parserow()

`void aa_parserow ( MYSQL_RES* result, aa_rights* rights )`

Calls: | SQ_get_column_string_nocopy(), SQ_row_next(), fprintf(), sscanf()
Called by: | aa_find() | modules/aa/aa.c