Cross reference for up/UP_util.c of index.

# File up/UP_util.c

      $Revision: 1.15 $

      UP module utilities

      Status: REVIEWED, NOT TESTED

      Author(s):       Engin Gunduz

## Included Files

- `#include <time.h>`

- `#include "up/dbupdate.h"`
  - `#include <stdio.h>`
  - `#include <stdlib.h>`
  - `#include <string.h>`
  - `#include </home/shane/code/RIP/include/stubs.h>`
  - `#include </ncc/dbwork/platforms/yucca-debug/glib-indep/include/glib-1.2/glib.h>`
  - `#include <netdb.h>`
  - `#include <sys/types.h>`
  - `#include <netinet/in.h>`
  - `#include <sys/socket.h>`
  - `#include <errno.h>`
  - `#include <unistd.h>`
  - `#include "/home/shane/code/RIP/include/rip.h"`
    - `#include </home/shane/code/RIP/include/config.h>`
    - `#include <sys/param.h>`
    - `#include <glib.h>`
    - `#include "/home/shane/code/RIP/include/AU_util.h"`
      - `#include <stdio.h>`
      - `#include <stdlib.h>`
      - `#include <string.h>`
      - `#include <sys/types.h>`
      - `#include <unistd.h>`
      - `#include <regex.h>`
      - `#include <glib.h>`
    - `#include "/home/shane/code/RIP/include/aa.h"`
      - `#include "/home/shane/code/RIP/include/iproutines.h"`
        - `#include <sys/types.h>`
        - `#include <glib.h>`
        - `#include </home/shane/code/RIP/include/inet6def.h>`
        - `#include </home/shane/code/RIP/include/erroutines.h>`
    - `#include "/home/shane/code/RIP/include/access_control.h"`
      - `#include "/home/shane/code/RIP/include/erroutines.h"`
      - `#include "/home/shane/code/RIP/include/iproutines.h"`
      - `#include "/home/shane/code/RIP/include/rxroutines.h"`
        - `#include <glib.h>`
        - `#include <pthread.h>`
        - `#include <stubs.h>`
        - `#include </home/shane/code/RIP/include/memwrap.h>`
        - `#include <stdio.h>`
        - `#include <iproutines.h>`
        - `#include <erroutines.h>`
        - `#include "/home/shane/code/RIP/include/sk.h"`
          - `#include "/home/shane/code/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/code/RIP/include/iproutines.h"`
        - `#include "/home/shane/code/RIP/include/thread.h"`
      - `#include "/home/shane/code/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/code/RIP/include/erroutines.h"`
    - `#include "/home/shane/code/RIP/include/bitmask.h"`
    - `#include "/home/shane/code/RIP/include/ca_adminAttribs.h"`
    - `#include "/home/shane/code/RIP/include/ca_configFns.h"`
      - `#include "/home/shane/code/RIP/include/ca_defs.h"`
        - `#include <pthread.h>`
        - `#include <glib.h>`
      - `#include <memwrap.h>`
      - `#include <erroutines.h>`
    - `#include "/home/shane/code/RIP/include/ca_defs.h"`
    - `#include "/home/shane/code/RIP/include/ca_dictionary.h"`
    - `#include "/home/shane/code/RIP/include/ca_macros.h"`
      - `#include "/home/shane/code/RIP/include/ca_adminAttribs.h"`
    - `#include "/home/shane/code/RIP/include/ca_srcAttribs.h"`
    - `#include "/home/shane/code/RIP/include/comparisons.h"`
    - `#include "/home/shane/code/RIP/include/constants.h"`
      - `#include <glib.h>`
    - `#include "/home/shane/code/RIP/include/defs.h"`
      - `#include <glib.h>`
      - `#include "/home/shane/code/RIP/include/bitmask.h"`
      - `#include "/home/shane/code/RIP/include/DF_class_enum.def"`
      - `#include "/home/shane/code/RIP/include/DF_class_mask.def"`
      - `#include "/home/shane/code/RIP/include/DF_attribute_enum.def"`
      - `#include "/home/shane/code/RIP/include/DF_attribute_inv_attr_mask.def"`
      - `#include "/home/shane/code/RIP/include/which_keytypes.h"`
        - `#include "/home/shane/code/RIP/include/bitmask.h"`
      - `#include "/home/shane/code/RIP/include/iproutines.h"`
      - `#include "/home/shane/code/RIP/include/rxroutines.h"`
    - `#include "/home/shane/code/RIP/include/er_arrays.h"`
      - `#include "/home/shane/code/RIP/include/erroutines.h"`
    - `#include "/home/shane/code/RIP/include/er_aspects.h"`
    - `#include "/home/shane/code/RIP/include/er_facilities.h"`
    - `#include "/home/shane/code/RIP/include/er_formats.h"`
    - `#include "/home/shane/code/RIP/include/er_macro.h"`
      - `#include "/home/shane/code/RIP/include/sk.h"`
    - `#include "/home/shane/code/RIP/include/er_paths.h"`
      - `#include <sys/param.h>`
      - `#include <glib.h>`
    - `#include "/home/shane/code/RIP/include/er_yacc_helper.h"`
    - `#include "/home/shane/code/RIP/include/erroutines.h"`
    - `#include "/home/shane/code/RIP/include/fdwrap.h"`
      - `#include <stdio.h>`
    - `#include "/home/shane/code/RIP/include/mg_getopt.h"`
    - `#include "/home/shane/code/RIP/include/globaldefs.h"`
    - `#include "/home/shane/code/RIP/include/gpg.h"`
      - `#include <netdb.h>`
      - `#include <unistd.h>`
      - `#include "/home/shane/code/RIP/include/mail_parser.h"`
        - `#include "/home/shane/code/RIP/include/gpg.h"`
        - `#include "/home/shane/code/RIP/include/memwrap.h"`
    - `#include "/home/shane/code/RIP/include/inet6def.h"`
    - `#include "/home/shane/code/RIP/include/iproutines.h"`
    - `#include "/home/shane/code/RIP/include/mail_parser.h"`
    - `#include "/home/shane/code/RIP/include/memwrap.h"`
    - `#include "/home/shane/code/RIP/include/mm.h"`
      - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/mail.h"`
        - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/linkage.h"`
      - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/osdep.h"`
        - `#include <string.h>`
        - `#include <sys/types.h>`
        - `#include <stdlib.h>`
        - `#include <dirent.h>`
        - `#include <fcntl.h>`
        - `#include <unistd.h>`
        - `#include <time.h>`
        - `#include <utime.h>`
        - `#include <syslog.h>`
        - `#include <sys/file.h>`
        - `#include <ustat.h>`
        - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/env_unix.h"`
          - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/env.h"`
        - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/fs.h"`
        - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/ftl.h"`
        - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/nl.h"`
        - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/tcp.h"`
        - `#include "/ncc/dbwork/c-client/sparc-sun-solaris2.7/imap-2000a/c-client/lockfix.h"`
      - `#include "/home/shane/code/RIP/include/gpg.h"`
      - `#include "/home/shane/code/RIP/include/mail_parser.h"`
      - `#include "/home/shane/code/RIP/include/memwrap.h"`
      - `#include "/ncc/dbwork/platforms/yucca-debug/glib-indep/include/glib-1.2/glib.h"`
    - `#include "/home/shane/code/RIP/include/mysql_driver.h"`
    - `#include "/home/shane/code/RIP/include/nh.h"`
      - `#include <mysql_driver.h>`
    - `#include "/home/shane/code/RIP/include/notification.h"`
      - `#include <stdarg.h>`
      - `#include <stdio.h>`
      - `#include <strings.h>`
      - `#include <unistd.h>`
      - `#include <stdlib.h>`
      - `#include <time.h>`
      - `#include <glib.h>`
      - `#include "/home/shane/code/RIP/include/UP_util.h"`
        - `#include "/home/shane/code/RIP/include/syntax_api.h"`
    - `#include "/home/shane/code/RIP/include/numconv.h"`
    - `#include "/home/shane/code/RIP/include/pc_commands.h"`
    - `#include "/home/shane/code/RIP/include/properties.h"`
    - `#include "/home/shane/code/RIP/include/protocol_config.h"`
    - `#include "/home/shane/code/RIP/include/protocol_mirror.h"`
      - `#include <glib.h>`
      - `#include "/home/shane/code/RIP/include/mysql_driver.h"`
      - `#include "/home/shane/code/RIP/include/iproutines.h"`
      - `#include "/home/shane/code/RIP/include/aa.h"`
        - `#include "/home/shane/code/RIP/include/iproutines.h"`
    - `#include "/home/shane/code/RIP/include/protocol_whois.h"`
      - `#include "/home/shane/code/RIP/include/query_command.h"`
        - `#include <glib.h>`
        - `#include "/home/shane/code/RIP/include/bitmask.h"`
        - `#include "/home/shane/code/RIP/include/sk.h"`
    - `#include "/home/shane/code/RIP/include/query_command.h"`
    - `#include "/home/shane/code/RIP/include/query_instructions.h"`
      - `#include "/home/shane/code/RIP/include/rxroutines.h"`
      - `#include "/home/shane/code/RIP/include/iproutines.h"`
      - `#include "/home/shane/code/RIP/include/mysql_driver.h"`
      - `#include "/home/shane/code/RIP/include/query_command.h"`
      - `#include "/home/shane/code/RIP/include/defs.h"`
      - `#include "/home/shane/code/RIP/include/which_keytypes.h"`
      - `#include "/home/shane/code/RIP/include/access_control.h"`
      - `#include "/home/shane/code/RIP/include/ca_configFns.h"`
      - `#include "/home/shane/code/RIP/include/ca_dictionary.h"`
      - `#include "/home/shane/code/RIP/include/ca_macros.h"`
      - `#include "/home/shane/code/RIP/include/ca_srcAttribs.h"`
    - `#include "/home/shane/code/RIP/include/rp.h"`
      - `#include <stddef.h>`
      - `#include <glib.h>`
      - `#include <pthread.h>`
      - `#include <defs.h>`
      - `#include <iproutines.h>`
      - `#include <erroutines.h>`
      - `#include <rxroutines.h>`
      - `#include <mysql_driver.h>`
      - `#include "/home/shane/code/RIP/include/ca_defs.h"`
      - `#include <thread.h>`
    - `#include "/home/shane/code/RIP/include/rxroutines.h"`
    - `#include "/home/shane/code/RIP/include/server.h"`
    - `#include "/home/shane/code/RIP/include/sk.h"`
    - `#include "/home/shane/code/RIP/include/stubs.h"`
    - `#include "/home/shane/code/RIP/include/syntax_api.h"`
    - `#include "/home/shane/code/RIP/include/ta.h"`
      - `#include <glib.h>`
      - `#include <pthread.h>`
      - `#include <stdio.h>`
      - `#include "/home/shane/code/RIP/include/stubs.h"`
      - `#include "/home/shane/code/RIP/include/memwrap.h"`
      - `#include "/home/shane/code/RIP/include/sk.h"`
      - `#include "/home/shane/code/RIP/include/timediff.h"`
        - `#include <sys/time.h>`
    - `#include "/home/shane/code/RIP/include/thread.h"`
    - `#include "/home/shane/code/RIP/include/timediff.h"`
    - `#include "/home/shane/code/RIP/include/ud.h"`
    - `#include "/home/shane/code/RIP/include/ud_int.h"`
      - `#include <stdio.h>`
      - `#include <strings.h>`
      - `#include <glib.h>`
      - `#include <stdlib.h>`
      - `#include <ctype.h>`
      - `#include <unistd.h>`
      - `#include "/home/shane/code/RIP/include/defs.h"`
      - `#include "/home/shane/code/RIP/include/mysql_driver.h"`
      - `#include "/home/shane/code/RIP/include/iproutines.h"`
      - `#include "/home/shane/code/RIP/include/erroutines.h"`
      - `#include "/home/shane/code/RIP/include/rp.h"`
      - `#include "/home/shane/code/RIP/include/nh.h"`
      - `#include "/home/shane/code/RIP/include/sk.h"`
      - `#include "/home/shane/code/RIP/include/memwrap.h"`
      - `#include "/home/shane/code/RIP/include/ca_configFns.h"`
      - `#include "/home/shane/code/RIP/include/ca_dictionary.h"`
      - `#include "/home/shane/code/RIP/include/ca_macros.h"`
      - `#include "/home/shane/code/RIP/include/ca_srcAttribs.h"`
      - `#include "/home/shane/code/RIP/include/globaldefs.h"`
      - `#include "/home/shane/code/RIP/include/bitmask.h"`
      - `#include "/home/shane/code/RIP/include/which_keytypes.h"`
    - `#include "/home/shane/code/RIP/include/ud_tr.h"`
      - `#include "/home/shane/code/RIP/include/ud_int.h"`
    - `#include "/home/shane/code/RIP/include/ut_string.h"`
    - `#include "/home/shane/code/RIP/include/wh_queries.h"`
      - `#include "/home/shane/code/RIP/include/sk.h"`
    - `#include "/home/shane/code/RIP/include/which_keytypes.h"`
  - `#include </home/shane/code/RIP/include/config.h>`
  - `#include "/home/shane/code/RIP/include/erroutines.h"`
  - `#include "/home/shane/code/RIP/include/AU_util.h"`
  - `#include "/home/shane/code/RIP/include/ack.h"`
    - `#include <stdarg.h>`
    - `#include <stdio.h>`
    - `#include <strings.h>`
    - `#include <unistd.h>`
    - `#include <stdlib.h>`
    - `#include <glib.h>`
    - `#include <time.h>`
    - `#include "/home/shane/code/RIP/include/UP_util.h"`
      - `#include "/home/shane/code/RIP/include/syntax_api.h"`
    - `#include "/home/shane/code/RIP/include/UP_subject.h"`
      - `#include <stdio.h>`
      - `#include <stdlib.h>`
      - `#include <string.h>`
      - `#include <sys/types.h>`
      - `#include <glib.h>`
  - `#include "/home/shane/code/RIP/include/mm.h"`
  - `#include "/home/shane/code/RIP/include/mysql_driver.h"`

- `#include "up/UP_extrnl_syntax.h"`
  - `#include <glib.h>`
  - `#include "/home/shane/code/RIP/include/rip.h"`

- `#include "/home/shane/code/RIP/include/ud.h"`

- `#include "/home/shane/code/RIP/include/notification.h"`

## Global Variable Lock

`pthread_mutex_t Lock`

Included from | /home/shane/code/RIP/include/ca_defs.h
Visible in: |  | aa/aa.c
|  | ac/access_control.c
|  | ca/ca_configFns.c
|  | ca/ca_initFn.c
|  | ca/ca_sanityCheck.c
|  | ca/ca_sourceLoader.c
|  | ca/ca_values.c
|  | co/constants.c
|  | df/defs.c
|  | er/er.c
|  | er/er_arrays.c
|  | er/er_macro.c
|  | er/er_paths.c
|  | er/er_print.c
|  | ip/ip.c
|  | ma/bitmask.c
|  | mm/mm.c
|  | nh/nh.c
|  | pa/gpg.c
|  | pa/spawn.c
|  | pc/pc_commands.c
|  | pc/protocol_config.c
|  | pm/pm_serials.c
|  | pm/protocol_mirror.c
|  | pr/properties.c
|  | pw/protocol_whois.c
|  | qc/mg_getopt.c
|  | qc/query_command.c
|  | qi/query_instructions.c
|  | rp/rp_convert.c
|  | rp/rp_load.c
|  | rp/rp_search.c
|  | rp/rp_tree.c
|  | rp/rp_update.c
|  | rx/rx_node.c
|  | rx/rx_print.c
|  | rx/rx_search.c
|  | rx/rx_tree.c
|  | sk/cd_socket.c
|  | sk/cd_watchdog.c
|  | sk/sk_socket.c
|  | sq/mysql_driver.c
|  | sv/server.c
|  | ta/ta.c
|  | th/thread.c
|  | ud/ud_comrol.c
|  | ud/ud_core.c
|  | ud/ud_main.c
|  | ud/ud_misc.c
|  | ud/ud_process_stream.c
|  | ud/ud_recover.c
|  | ud/ud_rx.c
|  | ud/ud_serial.c
|  | up/UP_extrnl_syntax.c
|  | up/UP_util.c
Used in: | ca_get_adminIntElement() | ca/ca_configFns.c
| ca_get_adminStrElement() | ca/ca_configFns.c
| ca_get_boolean() | ca/ca_configFns.c
| ca_get_dirlist() | ca/ca_configFns.c
| ca_get_int() | ca/ca_configFns.c
| ca_get_string() | ca/ca_configFns.c
| ca_set_boolean() | ca/ca_configFns.c
| ca_srchandle2Intelement() | ca/ca_configFns.c
| ca_srchandle2Strelement() | ca/ca_configFns.c

## External Variables

tracing
`extern int tracing`

reading_from_mail
`extern int reading_from_mail`

networkupdate
`extern int networkupdate`

humailbox
`extern char* humailbox`

query_host
`extern char* query_host`

query_port
`extern int query_port`

overridecryptedpw
`extern char* overridecryptedpw`

test_mode
`extern int test_mode`

updlog
`extern char* updlog`

update_host
`extern char* update_host`

update_port
`extern int update_port`

autobox
`extern char* autobox`

netupdclientIP
`extern char* netupdclientIP`

update_mail_sender
`extern char* update_mail_sender`

update_mail_subject
`extern char* update_mail_subject`

update_mail_date
`extern char* update_mail_date`

update_mail_ID
`extern char* update_mail_ID`

update_mail_cc
`extern char* update_mail_cc`

header_type
`extern char* header_type`

text_type
`extern char* text_type`

DBhost
`extern char* DBhost`

DBport
`extern int DBport`

DBuser
`extern char* DBuser`

DBname
`extern char* DBname`

DBpasswd
`extern char* DBpasswd`

## Global Function UP_add_to_upd_log()

`void UP_add_to_upd_log ( const char* filename )`

Prototyped in: | up/dbupdate.h
Calls: | ctime(), fdwrap_fclose(), fgets(), fopen(), fprintf(), free(), localtime(), malloc(), snprintf(), strdup(), strftime(), strlen(), time()
References Variables: | networkupdate, reading_from_mail, updlog

## Global Function UP_filter_out_same_origins()

`char* UP_filter_out_same_origins ( char* objects_str, rpsl_object_t* object )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | get_search_key() | up/UP_util.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_errors() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| strip_lines() | up/UP_util.c
| take_objects() | up/UP_util.c
| g_strchomp(), g_strchug(), printf(), realloc(), strcasecmp(), strcat(), strdup(), strlen()
Called by: | get_overlapping_routes_list() | nt/notification.c
References Variables: | tracing

## Global Function UP_is_object()

`int UP_is_object ( const char* arg )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | index()

## Global Function UP_log_networkupdate()

`void UP_log_networkupdate ( const char* object_str, const char* host )`

Prototyped in: | up/dbupdate.h
Calls: | ctime(), fdwrap_fclose(), fopen(), fprintf(), free(), localtime(), malloc(), snprintf(), strdup(), strftime(), strlen(), time()
References Variables: | updlog

## Global Function UP_put_assigned_NIC()

`rpsl_object_t* UP_put_assigned_NIC ( rpsl_object_t* object, char* assigned_NIC )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | rpsl_attr_copy() | rpsl/syntax_api.c
| rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_attr_get_ofs() | rpsl/syntax_api.c
| rpsl_attr_replace_value() | rpsl/syntax_api.c
| rpsl_object_add_attr() | rpsl/syntax_api.c
| rpsl_object_copy() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_remove_attr() | rpsl/syntax_api.c
| g_strdown(), printf(), strstr()
References Variables: | tracing

## Global Function UP_remove_EOLs()

`char* UP_remove_EOLs ( char* arg )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | strlen()

## Global Function UP_remove_override_attr()

`int UP_remove_override_attr ( rpsl_object_t* object )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | rpsl_object_remove_attr_name() | rpsl/syntax_api.c
Called by: | NT_write_all_frwds() | nt/notification.c
| NT_write_all_ntfs() | nt/notification.c

## Global Function UP_replace_GStrings()

`GString* UP_replace_GStrings ( GString* g_str, const char* erase_str, const char* insert_str )`

Calls: | g_string_erase(), g_string_insert(), strlen(), strstr()
Called by: | UP_replace_globals() | up/UP_util.c

## Global Function UP_replace_globals()

`char* UP_replace_globals ( const char* arg )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | UP_replace_GStrings() | up/UP_util.c
| ctime(), free(), g_string_free(), g_string_new(), malloc(), strdup(), strncat(), strncpy(), time()
Called by: | AK_send_ack() | ak/ack.c
| NT_forw_create_req() | nt/notification.c
| NT_forwd_filename_generate() | nt/notification.c
| NT_ntfy_filename_generate() | nt/notification.c
References Variables: | autobox, header_type, humailbox, netupdclientIP, text_type, update_mail_ID, update_mail_cc, update_mail_date, update_mail_sender, update_mail_subject

## Global Function UP_replace_strings()

`char* UP_replace_strings ( char* str, const char* erase_str, const char* insert_str )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | __eprintf(), g_string_erase(), g_string_free(), g_string_insert(), g_string_new(), strdup(), strlen(), strstr()
Called by: | identical() | up/UP_util.c

## Global Function add_to_auth_vector()

`GSList* add_to_auth_vector ( GSList* list_of_auth_struct, GList* auths, char* mntner_name )`

Prototyped in: | up/dbupdate.h
Calls: | rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| free(), g_slist_append(), g_strchomp(), g_strchug(), g_strup(), malloc(), printf(), strdup(), strlen(), strstr()
Called by: | get_auth_vector() | up/UP_util.c
| get_irt_auth_vector() | up/UP_util.c
References Variables: | tracing

## Global Function authorise()

`int authorise ( GSList* auth_vector, credentials_struct credentials, int overriden )`

Calls: | AU_authorise() | au/AU_util.c
| printf()
Called by: | check_auth() | up/UP_util.c
References Variables: | tracing

## Global Function check_auth()

`int check_auth ( rpsl_object_t* new_object, rpsl_object_t* old_object, const char* type, credentials_struct credentials )`

Prototyped in: | up/dbupdate.h
Calls: | NT_compare_lists() | nt/notification.c
| authorise() | up/UP_util.c
| check_override() | up/UP_util.c
| get_as_block() | up/UP_util.c
| get_attr_list() | up/UP_util.c
| get_aut_num_object() | up/UP_util.c
| get_auth_vector() | up/UP_util.c
| get_exact_match_inetnum() | up/UP_util.c
| get_exact_match_routes() | up/UP_util.c
| get_irt_auth_vector() | up/UP_util.c
| get_irts() | up/UP_util.c
| get_less_spec_inetnum() | up/UP_util.c
| get_less_spec_routes() | up/UP_util.c
| get_less_specific() | up/UP_util.c
| get_less_specific_domain() | up/UP_util.c
| get_less_specific_set() | up/UP_util.c
| get_mnt_lowers() | up/UP_util.c
| get_mnt_lowers_from_list() | up/UP_util.c
| get_mnt_routes() | up/UP_util.c
| get_mnt_routes_from_list() | up/UP_util.c
| get_mntners() | up/UP_util.c
| get_mntners_from_list() | up/UP_util.c
| get_override() | up/UP_util.c
| get_search_key() | up/UP_util.c
| rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_errors() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_get_class() | rpsl/syntax_api.c
| rpsl_object_has_error() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| free(), g_list_concat(), g_list_nth(), g_slist_free(), printf(), strcmp(), strdup(), strstr()
References Variables: | test_mode, tracing

## Global Function check_override()

`int check_override ( char* string )`

Prototyped in: | up/dbupdate.h
Calls: | AU_crypt() | au/AU_util.c
| free(), g_strfreev(), g_strsplit(), printf(), strcmp(), strdup(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | overridecryptedpw, tracing

## Global Function count_objects()

`int count_objects ( char* arg )`

Prototyped in: | up/dbupdate.h
Calls: | free(), printf(), strdup(), strstr()
Called by: | get_as_block() | up/UP_util.c
| get_aut_num_object() | up/UP_util.c
| get_auth_vector() | up/UP_util.c
| get_exact_match_inetnum() | up/UP_util.c
| get_exact_match_routes() | up/UP_util.c
| get_irt_auth_vector() | up/UP_util.c
| get_irtnfy_vector() | up/UP_util.c
| get_less_spec_inetnum() | up/UP_util.c
| get_less_spec_routes() | up/UP_util.c
| get_less_specific() | up/UP_util.c
| get_less_specific_domain() | up/UP_util.c
| get_less_specific_set() | up/UP_util.c
| get_mntnfy_vector() | up/UP_util.c
| get_old_version() | up/UP_util.c
| get_updto_vector() | up/UP_util.c
References Variables: | tracing

## Global Function delete_delete_attrib()

`char* delete_delete_attrib ( char* arg )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | g_strfreev(), g_strsplit(), realloc(), strcat(), strdup(), strlen(), strstr()
Called by: | NT_write_all_ntfs() | nt/notification.c

## Global Function delete_override()

`char* delete_override ( char* arg )`

Calls: | g_strfreev(), g_strsplit(), realloc(), strcat(), strdup(), strlen(), strstr()

## Global Function find_email_address()

`char* find_email_address ( const char* from_line )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | free(), g_strchomp(), g_strchug(), index(), printf(), strcat(), strdup(), strlen(), strncpy(), strstr()
Called by: | NT_add_to_cross() | nt/notification.c
| NT_write_all_ntfs() | nt/notification.c
References Variables: | tracing

## Global Function find_initials()

`char* find_initials ( const char* person_role_name )`

Calls: | free(), g_strfreev(), g_strsplit(), index(), malloc(), realloc(), strdup(), strlen()
Called by: | replace_AUTO_NIC_hdl() | up/UP_util.c

## Global Function get_as_block()

`char* get_as_block ( rpsl_object_t* autnum_object )`

Prototyped in: | up/dbupdate.h
Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_assigned_nic()

`void get_assigned_nic ( char* nic_hdl, const char* string )`

Calls: | g_strfreev(), g_strsplit(), printf(), rindex(), strcmp(), strdup(), strlen(), strncpy()
Called by: | send_object_db() | up/UP_util.c
References Variables: | tracing

## Global Function get_attr_list()

`GList* get_attr_list ( rpsl_object_t* object, const char* attr_type )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_get_text() | rpsl/syntax_api.c
| free(), printf()
Called by: | NT_gather_ntfy_addresses() | nt/notification.c
| check_auth() | up/UP_util.c
| get_irtnfy_vector() | up/UP_util.c
| get_mntnfy_vector() | up/UP_util.c
| get_updto_vector() | up/UP_util.c
References Variables: | tracing

## Global Function get_aut_num_object()

`char* get_aut_num_object ( rpsl_object_t* route_object )`

Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_auth_vector()

`GSList* get_auth_vector ( GList* mntners )`

Prototyped in: | up/dbupdate.h
Calls: | add_to_auth_vector() | up/UP_util.c
| count_objects() | up/UP_util.c
| get_auths() | up/UP_util.c
| rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), g_list_length(), g_slist_length(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_auths()

`GList* get_auths ( char* object_str )`

Prototyped in: | up/dbupdate.h
Calls: | rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_get_class() | rpsl/syntax_api.c
| rpsl_object_has_error() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| free(), g_list_length(), printf()
Called by: | get_auth_vector() | up/UP_util.c
| get_irt_auth_vector() | up/UP_util.c
References Variables: | tracing

## Global Function get_combination_from_autonic()

`char* get_combination_from_autonic ( const char* autonic )`

Calls: | g_strchomp(), g_strchug(), g_string_erase(), g_string_free(), g_string_new(), g_string_up(), g_strup(), index(), strlen()
Called by: | replace_AUTO_NIC_hdl() | up/UP_util.c

## Global Function get_exact_match_inetnum()

`char* get_exact_match_inetnum ( rpsl_object_t* route_object )`

Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_exact_match_routes()

`GList* get_exact_match_routes ( rpsl_object_t* route_object )`

Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_objects() | up/UP_util.c
| free(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_irt_auth_vector()

`GSList* get_irt_auth_vector ( GList* irts )`

Calls: | add_to_auth_vector() | up/UP_util.c
| count_objects() | up/UP_util.c
| get_auths() | up/UP_util.c
| rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), g_list_length(), g_slist_length(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_irtnfy_vector()

`GList* get_irtnfy_vector ( GList* irts )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | count_objects() | up/UP_util.c
| get_attr_list() | up/UP_util.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_errors() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), g_list_concat(), g_list_length(), malloc(), printf(), sprintf(), strlen()
Called by: | NT_check_irtnfy() | nt/notification.c
References Variables: | query_host, query_port, tracing

## Global Function get_irts()

`GList* get_irts ( rpsl_object_t* object )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | rpsl_object_get_attr() | rpsl/syntax_api.c
| printf()
Called by: | NT_check_irtnfy() | nt/notification.c
| check_auth() | up/UP_util.c
References Variables: | tracing

## Global Function get_less_spec_inetnum()

`char* get_less_spec_inetnum ( rpsl_object_t* route_object )`

Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_less_spec_routes()

`GList* get_less_spec_routes ( rpsl_object_t* route_object )`

Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_objects() | up/UP_util.c
| free(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_less_specific()

`char* get_less_specific ( rpsl_object_t* inetnum_object, const char* type )`

Prototyped in: | up/dbupdate.h
Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port

## Global Function get_less_specific_domain()

`char* get_less_specific_domain ( rpsl_object_t* domain_object )`

Prototyped in: | up/dbupdate.h
Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), g_strfreev(), g_strsplit(), malloc(), printf(), realloc(), sprintf(), strcat(), strdup(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_less_specific_set()

`char* get_less_specific_set ( rpsl_object_t* set_object, const char* type )`

Prototyped in: | up/dbupdate.h
Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), malloc(), printf(), sprintf(), strlen()
Called by: | check_auth() | up/UP_util.c
References Variables: | query_host, query_port, tracing

## Global Function get_mnt_lowers()

`GList* get_mnt_lowers ( rpsl_object_t* object )`

Prototyped in: | up/dbupdate.h
Calls: | rpsl_object_get_attr() | rpsl/syntax_api.c
| printf()
Called by: | check_auth() | up/UP_util.c
| get_mnt_lowers_from_list() | up/UP_util.c
References Variables: | tracing

## Global Function get_mnt_lowers_from_list()

`GList* get_mnt_lowers_from_list ( GList* objects_str )`

Calls: | get_mnt_lowers() | up/UP_util.c
| rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_get_class() | rpsl/syntax_api.c
| rpsl_object_has_error() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| free(), g_list_concat(), printf()
Called by: | check_auth() | up/UP_util.c
References Variables: | tracing

## Global Function get_mnt_routes()

`GList* get_mnt_routes ( rpsl_object_t* object )`

Calls: | rpsl_object_get_attr() | rpsl/syntax_api.c
| printf()
Called by: | check_auth() | up/UP_util.c
| get_mnt_routes_from_list() | up/UP_util.c
References Variables: | tracing

## Global Function get_mnt_routes_from_list()

`GList* get_mnt_routes_from_list ( GList* objects_str )`

Calls: | get_mnt_routes() | up/UP_util.c
| rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_get_class() | rpsl/syntax_api.c
| rpsl_object_has_error() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| free(), g_list_concat(), printf()
Called by: | check_auth() | up/UP_util.c
References Variables: | tracing

## Global Function get_mntners()

`GList* get_mntners ( rpsl_object_t* object )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | rpsl_object_get_attr() | rpsl/syntax_api.c
| printf()
Called by: | NT_gather_frwd_addresses() | nt/notification.c
| NT_gather_ntfy_addresses() | nt/notification.c
| check_auth() | up/UP_util.c
| get_mntners_from_list() | up/UP_util.c
References Variables: | tracing

## Global Function get_mntners_from_list()

`GList* get_mntners_from_list ( GList* objects_str )`

Calls: | get_mntners() | up/UP_util.c
| rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_get_class() | rpsl/syntax_api.c
| rpsl_object_has_error() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| free(), g_list_concat(), printf()
Called by: | check_auth() | up/UP_util.c
References Variables: | tracing

## Global Function get_mntnfy_vector()

`GList* get_mntnfy_vector ( GList* mntners )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | count_objects() | up/UP_util.c
| get_attr_list() | up/UP_util.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_errors() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), g_list_concat(), g_list_length(), malloc(), printf(), sprintf(), strlen()
Called by: | NT_gather_ntfy_addresses() | nt/notification.c
References Variables: | query_host, query_port, tracing

## Global Function get_old_version()

`char* get_old_version ( rpsl_object_t* object, char* arg )`

Prototyped in: | up/dbupdate.h
Calls: | count_objects() | up/UP_util.c
| get_search_key() | up/UP_util.c
| rpsl_object_get_class() | rpsl/syntax_api.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| up_filter_out_diff_nichdls() | up/UP_util.c
| up_filter_out_diff_origins() | up/UP_util.c
| free(), g_strdown(), malloc(), printf(), sprintf(), strcmp(), strdup(), strlen()
References Variables: | query_host, query_port, tracing

## Global Function get_override()

`char* get_override ( rpsl_object_t* object )`

Prototyped in: | up/dbupdate.h
Calls: | rpsl_attr_get_value() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| printf(), strdup()
Called by: | check_auth() | up/UP_util.c
References Variables: | tracing

## Global Function get_search_key()

`char* get_search_key ( rpsl_object_t* object, const char* type )`

Prototyped in: | up/dbupdate.h
Calls: | rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| free(), g_strdown(), strcmp(), strdup()
Called by: | UP_filter_out_same_origins() | up/UP_util.c
| check_auth() | up/UP_util.c
| get_as_block() | up/UP_util.c
| get_aut_num_object() | up/UP_util.c
| get_exact_match_inetnum() | up/UP_util.c
| get_exact_match_routes() | up/UP_util.c
| get_less_spec_inetnum() | up/UP_util.c
| get_less_spec_routes() | up/UP_util.c
| get_less_specific() | up/UP_util.c
| get_less_specific_domain() | up/UP_util.c
| get_less_specific_set() | up/UP_util.c
| get_old_version() | up/UP_util.c
| up_add_inet6num_attrs() | up/UP_extrnl_syntax.c
| up_filter_out_diff_nichdls() | up/UP_util.c
| up_filter_out_diff_origins() | up/UP_util.c

## Global Function get_updto_vector()

`GList* get_updto_vector ( GList* mntners )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | count_objects() | up/UP_util.c
| get_attr_list() | up/UP_util.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_errors() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| send_and_get() | up/UP_util.c
| take_object() | up/UP_util.c
| free(), g_list_concat(), g_list_length(), malloc(), printf(), sprintf(), strlen()
Called by: | NT_gather_frwd_addresses() | nt/notification.c
References Variables: | query_host, query_port, tracing

## Global Function has_AUTO_NIC_hdl()

`int has_AUTO_NIC_hdl ( const rpsl_object_t* object )`

Prototyped in: | up/dbupdate.h
Calls: | rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_is_deleted() | rpsl/syntax_api.c
| strstr_in_attr_list() | up/UP_util.c

## Global Function has_ref_to_AUTO_nic_hdl()

`int has_ref_to_AUTO_nic_hdl ( rpsl_object_t* object )`

Prototyped in: | up/dbupdate.h
Calls: | rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_is_deleted() | rpsl/syntax_api.c
| strstr_in_attr_list() | up/UP_util.c

## Global Function identical()

`int identical ( const char* old_version, rpsl_object_t* object )`

Prototyped in: | up/dbupdate.h
Calls: | UP_replace_strings() | up/UP_util.c
| rpsl_object_copy() | rpsl/syntax_api.c
| rpsl_object_get_text() | rpsl/syntax_api.c
| rpsl_object_remove_attr_name() | rpsl/syntax_api.c
| up_string_pack() | up/UP_util.c
| free(), g_strchomp(), g_strchug(), g_strdelimit(), malloc(), printf(), strcmp(), strdup(), strlen()
References Variables: | tracing

## Global Function interpret_ripdb_result()

`int interpret_ripdb_result ( const char* string )`

Calls: | atoi(), free(), g_strfreev(), g_strsplit(), printf(), strcmp(), strdup(), strlen()
Called by: | send_object_db() | up/UP_util.c
References Variables: | tracing

## Global Function process_mail_header()

`void process_mail_header ( credentials_struct* credentials_ptr, char* arg )`

Prototyped in: | up/dbupdate.h
Calls: | free(), index(), malloc(), printf(), strdup(), strlen(), strstr()
References Variables: | tracing

## Global Function replace_AUTO_NIC_hdl()

`rpsl_object_t* replace_AUTO_NIC_hdl ( rpsl_object_t* object, char* auto_nic_hdl )`

Prototyped in: | up/dbupdate.h
Calls: | find_initials() | up/UP_util.c
| get_combination_from_autonic() | up/UP_util.c
| rpsl_attr_copy() | rpsl/syntax_api.c
| rpsl_attr_delete_list() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_attr_get_ofs() | rpsl/syntax_api.c
| rpsl_attr_replace_value() | rpsl/syntax_api.c
| rpsl_object_add_attr() | rpsl/syntax_api.c
| rpsl_object_copy() | rpsl/syntax_api.c
| rpsl_object_get_attr() | rpsl/syntax_api.c
| rpsl_object_get_class() | rpsl/syntax_api.c
| rpsl_object_remove_attr() | rpsl/syntax_api.c
| free(), g_strdown(), malloc(), printf(), strcat(), strcpy(), strlen(), strstr()
References Variables: | sources, tracing

## Global Function replace_refs_to_AUTO_NIC_hdl()

`char* replace_refs_to_AUTO_NIC_hdl ( rpsl_object_t* object, GHashTable* auto_nic_hash, char* arg )`

Prototyped in: | up/dbupdate.h
Calls: | rpsl_attr_copy() | rpsl/syntax_api.c
| rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| rpsl_attr_get_name() | rpsl/syntax_api.c
| rpsl_attr_get_ofs() | rpsl/syntax_api.c
| rpsl_attr_replace_value() | rpsl/syntax_api.c
| rpsl_object_add_attr() | rpsl/syntax_api.c
| rpsl_object_get_all_attr() | rpsl/syntax_api.c
| rpsl_object_get_text() | rpsl/syntax_api.c
| rpsl_object_remove_attr() | rpsl/syntax_api.c
| free(), g_hash_table_lookup(), g_strdown(), malloc(), printf(), sprintf(), strdup(), strlen(), strstr()
References Variables: | tracing

## Global Function send_and_get()

`char* send_and_get ( char* host, int port, char* arg )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | bzero(), close(), connect(), exit(), gethostbyname(), perror(), printf(), realloc(), recv(), send(), socket(), strcat(), strdup(), strlen()
Called by: | get_as_block() | up/UP_util.c
| get_aut_num_object() | up/UP_util.c
| get_auth_vector() | up/UP_util.c
| get_exact_match_inetnum() | up/UP_util.c
| get_exact_match_routes() | up/UP_util.c
| get_irt_auth_vector() | up/UP_util.c
| get_irtnfy_vector() | up/UP_util.c
| get_less_spec_inetnum() | up/UP_util.c
| get_less_spec_routes() | up/UP_util.c
| get_less_specific() | up/UP_util.c
| get_less_specific_domain() | up/UP_util.c
| get_less_specific_set() | up/UP_util.c
| get_mntnfy_vector() | up/UP_util.c
| get_old_version() | up/UP_util.c
| get_overlapping_routes_list() | nt/notification.c
| get_updto_vector() | up/UP_util.c
References Variables: | tracing

## Global Function send_object_db()

`up_ripupd_result_struct* send_object_db ( rpsl_object_t* object, char* assigned_NIC, char* operation )`

Prototyped in: | up/dbupdate.h
Calls: | get_assigned_nic() | up/UP_util.c
| interpret_ripdb_result() | up/UP_util.c
| rpsl_object_copy() | rpsl/syntax_api.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_get_text() | rpsl/syntax_api.c
| rpsl_object_remove_attr_name() | rpsl/syntax_api.c
| up_get_transaction_id() | up/UP_util.c
| bzero(), close(), connect(), exit(), free(), gethostbyname(), malloc(), perror(), printf(), realloc(), recv(), send(), snprintf(), socket(), sprintf(), strcat(), strdup(), strlen(), strstr()
References Variables: | tracing, update_host, update_port

## Global Function strip_lines()

`char* strip_lines ( char* arg )`

Calls: | g_strsplit(), realloc(), strcat(), strdup(), strlen()
Called by: | UP_filter_out_same_origins() | up/UP_util.c
| take_objects() | up/UP_util.c
| up_filter_out_diff_nichdls() | up/UP_util.c
| up_filter_out_diff_origins() | up/UP_util.c

## Global Function strstr_in_attr_list()

`int strstr_in_attr_list ( GList* list, const char* substr )`

Calls: | rpsl_attr_get_clean_value() | rpsl/syntax_api.c
| free(), g_strup(), printf(), strstr()
Called by: | has_AUTO_NIC_hdl() | up/UP_util.c
| has_ref_to_AUTO_nic_hdl() | up/UP_util.c
References Variables: | tracing

## Global Function strstr_in_list()

`int strstr_in_list ( GList* list, const char* substr )`

Calls: | free(), g_strup(), printf(), strdup(), strstr()
References Variables: | tracing

## Global Function take_object()

`char* take_object ( char* arg )`

Prototyped in: | up/dbupdate.h
Calls: | take_objects() | up/UP_util.c
| g_list_free(), g_list_length(), g_list_nth_data(), strdup()
Called by: | get_as_block() | up/UP_util.c
| get_aut_num_object() | up/UP_util.c
| get_auth_vector() | up/UP_util.c
| get_exact_match_inetnum() | up/UP_util.c
| get_irt_auth_vector() | up/UP_util.c
| get_irtnfy_vector() | up/UP_util.c
| get_less_spec_inetnum() | up/UP_util.c
| get_less_specific() | up/UP_util.c
| get_less_specific_domain() | up/UP_util.c
| get_less_specific_set() | up/UP_util.c
| get_mntnfy_vector() | up/UP_util.c
| get_old_version() | up/UP_util.c
| get_updto_vector() | up/UP_util.c

## Global Function take_objects()

`GList* take_objects ( char* arg )`

Prototyped in: | /home/shane/code/RIP/include/UP_util.h
Calls: | strip_lines() | up/UP_util.c
| g_list_append(), g_strchomp(), g_strchug(), g_strsplit(), malloc(), snprintf(), strlen()
Called by: | UP_filter_out_same_origins() | up/UP_util.c
| get_exact_match_routes() | up/UP_util.c
| get_less_spec_routes() | up/UP_util.c
| get_overlapping_routes_list() | nt/notification.c
| take_object() | up/UP_util.c
| up_filter_out_diff_nichdls() | up/UP_util.c
| up_filter_out_diff_origins() | up/UP_util.c

## Global Function up_filter_out_diff_nichdls()

`char* up_filter_out_diff_nichdls ( char* objects_str, char* nic_hdl )`

Calls: | get_search_key() | up/UP_util.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| strip_lines() | up/UP_util.c
| take_objects() | up/UP_util.c
| g_strchomp(), g_strchug(), printf(), realloc(), strcasecmp(), strcat(), strdup(), strlen()
Called by: | get_old_version() | up/UP_util.c
References Variables: | tracing

## Global Function up_filter_out_diff_origins()

`char* up_filter_out_diff_origins ( char* objects_str, char* origin )`

Calls: | get_search_key() | up/UP_util.c
| rpsl_object_delete() | rpsl/syntax_api.c
| rpsl_object_errors() | rpsl/syntax_api.c
| rpsl_object_init() | rpsl/syntax_api.c
| strip_lines() | up/UP_util.c
| take_objects() | up/UP_util.c
| free(), g_strchomp(), g_strchug(), printf(), realloc(), strcasecmp(), strcat(), strdup(), strlen()
Called by: | get_old_version() | up/UP_util.c
References Variables: | tracing

## Global Function up_get_transaction_id()

`int up_get_transaction_id ( void )`

Calls: | SQ_close_connection() | sq/mysql_driver.c
| SQ_error() | sq/mysql_driver.c
| SQ_execute_query() | sq/mysql_driver.c
| SQ_get_connection() | sq/mysql_driver.c
| exit(), fprintf(), mysql_insert_id()
Called by: | send_object_db() | up/UP_util.c
References Variables: | DBhost, DBname, DBpasswd, DBport, DBuser

## Global Function up_string_pack()

`void up_string_pack ( char* dest, const char* source )`

Prototyped in: | up/dbupdate.h
Calls: | printf()
Called by: | identical() | up/UP_util.c
References Variables: | tracing

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

`static int readdir_r ( DIR* __dp, struct dirent* __ent, struct dirent** __res )`

Included from: | /usr/include/dirent.h
Calls: | __posix_readdir_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()