Cross reference for modules/ud/ud_misc.c of index.

# File modules/ud/ud_misc.c

      $Revision: 1.11 $

      Miscellaneous functions to support UD

      Status: NOT REVUED, NOT TESTED

     Author(s):       Chris Ottrey, Andrei Robachevsky

## Included Files

- `#include "modules/ud/ud.h"`

- `#include "modules/ud/ud_int.h"`
  - `#include <stdio.h>`
  - `#include <strings.h>`
  - `#include <glib.h>`
  - `#include <stdlib.h>`
  - `#include <ctype.h>`
  - `#include <unistd.h>`
  - `#include "include/defs.h"`
    - `#include <glib.h>`
    - `#include "include/bitmask.h"`
    - `#include "include/DF_class_enum.def"`
    - `#include "include/DF_class_mask.def"`
    - `#include "include/DF_attribute_enum.def"`
    - `#include "include/DF_attribute_inv_attr_mask.def"`
    - `#include "include/which_keytypes.h"`
      - `#include "include/bitmask.h"`
    - `#include "include/iproutines.h"`
      - `#include <glib.h>`
      - `#include <include/erroutines.h>`
      - `#include <sys/types.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/socket.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"`
    - `#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/iproutines.h"`
  - `#include "include/rp.h"`
    - `#include <stddef.h>`
    - `#include <glib.h>`
    - `#include <defs.h>`
    - `#include <iproutines.h>`
    - `#include <erroutines.h>`
    - `#include <rxroutines.h>`
    - `#include <mysql_driver.h>`
    - `#include "include/ca_defs.h"`
      - `#include <pthread.h>`
      - `#include <glib.h>`
  - `#include "include/nh.h"`
    - `#include <mysql_driver.h>`
  - `#include "include/ca_configFns.h"`
    - `#include "include/ca_defs.h"`
  - `#include "include/ca_dictSyms.h"`
  - `#include "include/ca_macros.h"`
  - `#include "include/ca_srcAttribs.h"`
  - `#include "include/globaldefs.h"`
  - `#include "include/bitmask.h"`
  - `#include "include/which_keytypes.h"`

## Global Variable Lock

`pthread_mutex_t Lock`

Included from | include/ca_defs.h
Visible in: |  | modules/ca/ca_configFns.c
|  | modules/ca/ca_values.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/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
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

## Global Variable newPort

`char newPort[16]`

Included from | include/ca_defs.h
Visible in: |  | modules/ca/ca_configFns.c
|  | modules/ca/ca_values.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/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

## Global Function attribute_free()

`void attribute_free ( void* data, void* ptr )`

Prototyped in: | modules/ud/ud_int.h
Calls: | free()
Used in: | object_free() | modules/ud/ud_misc.c

## Global Function attribute_new()

`Attribute_t* attribute_new ( const char* line )`

Prototyped in: | modules/ud/ud_int.h
Calls: | DF_attribute_code2type() | modules/df/defs.c
| DF_attribute_name2type() | modules/df/defs.c
| attribute_new1() | modules/ud/ud_misc.c
| free(), g_strndup(), index()

## Global Function attribute_new1()

`Attribute_t* attribute_new1 ( int type, const char* value )`

Prototyped in: | modules/ud/ud_int.h
Calls: | calloc(), g_strchomp(), g_strchug(), g_strdup(), g_strndup(), index()
Called by: | attribute_new() | modules/ud/ud_misc.c

## Global Function attribute_upd()

`Attribute_t* attribute_upd ( Attribute_t* attr, int newtype, char* newvalue )`

Prototyped in: | modules/ud/ud_int.h
Calls: | free(), g_strdup()

## Global Function object_free()

`void object_free ( Object_t* obj )`

Prototyped in: | modules/ud/ud_int.h
Calls: | free(), g_slist_foreach(), g_slist_free(), g_string_free()
References Functions: | attribute_free() | modules/ud/ud_misc.c

## Global Function object_new()

`Object_t* object_new ( const char* line )`

Prototyped in: | modules/ud/ud_int.h
Calls: | DF_class_code2type() | modules/df/defs.c
| DF_class_name2type() | modules/df/defs.c
| calloc(), free(), g_string_sized_new(), g_strndup(), index()

## Global Function transaction_free()

`void transaction_free ( Transaction_t* tr )`

Prototyped in: | modules/ud/ud_int.h
Calls: | free_nh() | modules/nh/nh.c
| free(), g_string_free()

## Global Function transaction_new()

`Transaction_t* transaction_new ( MYSQL* sql_connection, C_Type_t class_type )`

Prototyped in: | modules/ud/ud_int.h
Calls: | calloc(), g_string_sized_new()