Cross reference for modules/rp/rp_load.c of index.

# File modules/rp/rp_load.c

      $Revision: 1.14 $

      Radix payload (rp) - user level functions for storing data in radix trees

      rp_load = loading the radix trees with data on startup

      Status: NOT REVIEWED, TESTED

      Design and implementation by: Marek Bukowy

## Included Files

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

- `#include <mysql_driver.h>`

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

## Global Function RP_asc_load()

`er_ret_t RP_asc_load ( char* filename, int maxobj, int operation, rp_regid_t reg_id )`

Prototyped in: | include/rp.h
Calls: | DF_attrcode_has_radix_lookup() | modules/df/defs.c
| DF_attribute_code2type() | modules/df/defs.c
| NOERR() | modules/er/er.c
| RP_asc_node(), fgets(), fopen(), fprintf(), index(), memcpy(), perror(), strcmp(), strlen(), strncpy()

## Global Function RP_sql_load_attr_space()

`er_ret_t RP_sql_load_attr_space ( int maxobj, int operation, char* qry, rp_attr_t attr, ip_space_t space, rp_regid_t reg_id, MYSQL* con )`

Prototyped in: | include/rp.h
Calls: | DF_get_attribute_code() | modules/df/defs.c
| ER_dbg_va() | modules/er/er.c
| ER_inf_va() | modules/er/er.c
| ER_is_traced() | modules/er/er.c
| NOERR() | modules/er/er.c
| make_sql2pack() | modules/rp/rp_load.c
| RP_pack_node_l(), RP_tree_get(), SQ_errno(), SQ_error(), SQ_execute_query(), SQ_free_result(), SQ_get_column_count(), SQ_row_next(), TH_release_write_lock(), fprintf(), sbrk()
Called by: | RP_sql_load_reg() | modules/rp/rp_load.c

## Global Function RP_sql_load_reg()

`er_ret_t RP_sql_load_reg ( rp_regid_t reg_id )`

Prototyped in: | include/rp.h
Calls: | CO_get_database() | modules/co/constants.c
| CO_get_database_port() | modules/co/constants.c
| CO_get_host() | modules/co/constants.c
| CO_get_password() | modules/co/constants.c
| CO_get_user() | modules/co/constants.c
| NOERR() | modules/er/er.c
| RP_sql_load_attr_space() | modules/rp/rp_load.c
| SQ_close_connection(), SQ_execute_query(), SQ_get_connection(), fprintf()

## Local Function make_sql2pack()

`static er_ret_t make_sql2pack ( MYSQL_RES* result, MYSQL_ROW* row, rp_upd_pack_t* pack, rp_attr_t attr, int colcount )`

Calls: | IP_pref_b2_space() | modules/ip/ip.c
| IP_pref_f2b_v4() | modules/ip/ip.c
| IP_pref_f2b_v6() | modules/ip/ip.c
| IP_rang_f2b_v4() | modules/ip/ip.c
| NOERR() | modules/er/er.c
| SQ_get_column_string_nocopy(), fprintf(), sscanf(), strcpy(), strlen(), wr_real_malloc()
Called by: | RP_sql_load_attr_space() | modules/rp/rp_load.c