Cross reference for modules/rp/rp.h of index.

# File modules/rp/rp.h

      $Revision: 1.8 $

      Radix tree (rx).  rx_global.h - header file with definition of
                                      global vars for radix

      Status: NOT REVUED, TESTED, INCOMPLETE

      Design and implementation by: Marek Bukowy

## Included Files

- `#include <stddef.h>`

- `#include <glib.h>`

- `#include <pthread.h>`

- `#include <include/defs.h>`

- `#include <iproutines.h>`

- `#include <erroutines.h>`

- `#include <rxroutines.h>`

- `#include <include/mysql_driver.h>`

- `#include "include/ca_defs.h"`
  - `#include <pthread.h>`
  - `#include <glib.h>`

- `#include <thread.h>`

## Preprocessor definitions

`#define RP_H`

`#define EXTDEF( a, b )`

## Typedef rp_uni_t

`typedef struct {...} rp_uni_t`

`struct` |
`{` |
`rx_fam_t fam;` |
`ip_space_t space;` |
`union` |
`{` |
`ip_prefix_t rt;` |
`ip_range_t in;` |
`}` |
`u;` |
`}` |

## Typedef rp_regid_t

`typedef ca_dbSource_t* rp_regid_t`

## Typedef rp_attr_t

`typedef A_Type_t rp_attr_t`

## Typedef rp_upd_pack_t

`typedef struct {...} rp_upd_pack_t`

`struct` |
`{` |
`rp_attr_t type;` |
`rp_uni_t uni;` |
`sql_key_t key;` |
`union` |
`{` |
`char* origin;` |
`char* domain;` |
`}` |
`d;` |
`}` |

## Typedef rp_tentry_t

`typedef struct {...} rp_tentry_t`

`struct` |
`{` |
`rp_regid_t reg_id;` | registry id
`rp_attr_t attr;` | extra tree attribute (within the same reg/spc/fam), allows using the same tree type for different object trees
`rx_tree_t* tree;` | tree
`}` |

## Global Variable Lock

`pthread_mutex_t Lock`

Included from | include/ca_defs.h
Visible in: |  | modules/ac/access_control.c
|  | modules/ca/ca_configFns.c
|  | modules/ca/ca_configFns.h
|  | modules/ca/ca_defs.h
|  | modules/ca/ca_initFn.c
|  | modules/ca/ca_sanityCheck.c
|  | modules/ca/ca_sourceLoader.c
|  | modules/ca/ca_values.c
|  | modules/er/er_macro.c
|  | modules/pc/pc_commands.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.c
|  | modules/pw/protocol_whois.c
|  | modules/qc/query_command.c
|  | modules/qi/query_instructions.c
|  | modules/qi/query_instructions.h
|  | modules/rp/rp.h
|  | modules/rp/rp_convert.c
|  | modules/rp/rp_load.c
|  | modules/rp/rp_search.c
|  | modules/rp/rp_tree.c
|  | modules/rp/rp_update.c
|  | modules/sv/server.c
|  | modules/ud/ud_comrol.c
|  | modules/ud/ud_core.c
|  | modules/ud/ud_main.c
|  | modules/ud/ud_misc.c
|  | modules/ud/ud_process_stream.c
|  | modules/ud/ud_recover.c
|  | modules/ud/ud_rx.c
|  | modules/ud/ud_serial.c
Used in: | ca_get_adminIntElement() | modules/ca/ca_configFns.c
| ca_get_adminStrElement() | modules/ca/ca_configFns.c
| ca_get_boolean() | modules/ca/ca_configFns.c
| ca_get_dirlist() | modules/ca/ca_configFns.c
| ca_get_int() | modules/ca/ca_configFns.c
| ca_get_string() | modules/ca/ca_configFns.c
| ca_set_boolean() | modules/ca/ca_configFns.c
| ca_set_string() | modules/ca/ca_configFns.c
| ca_srchandle2Intelement() | modules/ca/ca_configFns.c
| ca_srchandle2Strelement() | modules/ca/ca_configFns.c

## External Variables

rx_forest_rwlock
`extern rw_lock_t rx_forest_rwlock`

Defined in: | modules/rp/rp_tree.c

rx_forest
`extern GList* rx_forest`

Defined in: | modules/rp/rp_tree.c