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

# File modules/ud/ud_comrol.c

      $Revision: 1.23 $

      rollback(), commit(), delete() - rollback, commit update transaction, delete an object

      Status: NOT REVUED, NOT TESTED

     Author(s):       Andrei Robachevsky

References Variables: | t_ab | modules/ud/ud_comrol.c
| t_an | modules/ud/ud_comrol.c
| t_as | modules/ud/ud_comrol.c
| t_dn | modules/ud/ud_comrol.c
| t_fs | modules/ud/ud_comrol.c
| t_i6 | modules/ud/ud_comrol.c
| t_in | modules/ud/ud_comrol.c
| t_ir | modules/ud/ud_comrol.c
| t_is | modules/ud/ud_comrol.c
| t_kc | modules/ud/ud_comrol.c
| t_li | modules/ud/ud_comrol.c
| t_mt | modules/ud/ud_comrol.c
| t_pn | modules/ud/ud_comrol.c
| t_ps | modules/ud/ud_comrol.c
| t_ro | modules/ud/ud_comrol.c
| t_rs | modules/ud/ud_comrol.c
| t_rt | modules/ud/ud_comrol.c

## 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/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"`
    - `#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/iproutines.h"`
  - `#include "include/erroutines.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/sk.h"`
  - `#include "include/ca_configFns.h"`
    - `#include "include/ca_defs.h"`
  - `#include "include/ca_dictSyms.h"`
  - `#include "include/ca_macros.h"`
    - `#include "include/ca_adminAttribs.h"`
  - `#include "include/ca_srcAttribs.h"`
  - `#include "include/globaldefs.h"`
  - `#include "include/bitmask.h"`
  - `#include "include/which_keytypes.h"`

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

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

- `#include "include/rp.h"`

## 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_initFn.c
|  | modules/ca/ca_sourceLoader.c
|  | modules/ca/ca_values.c
|  | modules/er/er_macro.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.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
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

## Global Variable newPort

`char newPort[16]`

Included from | include/ca_defs.h
Visible in: |  | modules/ac/access_control.c
|  | modules/ca/ca_configFns.c
|  | modules/ca/ca_initFn.c
|  | modules/ca/ca_sourceLoader.c
|  | modules/ca/ca_values.c
|  | modules/er/er_macro.c
|  | modules/pm/pm_serials.c
|  | modules/pm/protocol_mirror.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

## Global Variable t_ab

`char* t_ab[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_an

`char* t_an[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_dn

`char* t_dn[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_i6

`char* t_i6[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_in

`char* t_in[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_ir

`char* t_ir[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_kc

`char* t_kc[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_li

`char* t_li[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_mt

`char* t_mt[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_pn

`char* t_pn[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_ro

C_RO,

`char* t_ro[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_rt

`char* t_rt[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_as

`char* t_as[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_rs

`char* t_rs[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_fs

`char* t_fs[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_ps

`char* t_ps[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable t_is

`char* t_is[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: |  | modules/ud/ud_comrol.c

## Global Variable tables

`char** tables[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: | UD_commit() | modules/ud/ud_comrol.c
| UD_commit_I() | modules/ud/ud_comrol.c
| UD_commit_II() | modules/ud/ud_comrol.c
| UD_delete() | modules/ud/ud_comrol.c
| UD_rollback() | modules/ud/ud_comrol.c

## Global Variable t_ipn

`char* t_ipn[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: | UD_check_ref() | modules/ud/ud_comrol.c

## Global Variable t_imt

`char* t_imt[]`

Included from | modules/ud/ud_comrol.h
Visible in: |  | modules/ud/ud_comrol.c
Used in: | UD_check_ref() | modules/ud/ud_comrol.c

## Global Function UD_check_ref()

`int UD_check_ref ( Transaction_t* tr )`

Prototyped in: | modules/ud/ud_int.h
Calls: | DF_get_class_sql_table() | modules/df/defs.c
| ER_perror() | modules/er/er.c
| SQ_error() | modules/sq/mysql_driver.c
| SQ_execute_query() | modules/sq/mysql_driver.c
| atol(), fprintf(), free(), g_string_free(), g_string_sized_new(), g_string_sprintf(), g_string_sprintfa(), get_field_str(), get_qresult_str(), sprintf(), time()
References Variables: | t_imt | modules/ud/ud_comrol.c
| t_ipn | modules/ud/ud_comrol.c

## Global Function UD_commit()

`int UD_commit ( Transaction_t* tr )`

Prototyped in: | modules/ud/ud_int.h
Calls: | DF_get_class_sql_table() | modules/df/defs.c
| ER_perror() | modules/er/er.c
| SQ_execute_query() | modules/sq/mysql_driver.c
| UD_commit_I() | modules/ud/ud_comrol.c
| UD_commit_II() | modules/ud/ud_comrol.c
| UD_update_rx() | modules/ud/ud_comrol.c
| TR_update_record(), fprintf(), g_string_free(), g_string_sized_new(), g_string_sprintf(), g_string_sprintfa()
References Variables: | tables | modules/ud/ud_comrol.c

## Global Function UD_commit_I()

`int UD_commit_I ( Transaction_t* tr )`

Prototyped in: | modules/ud/ud_int.h
Calls: | ER_perror() | modules/er/er.c
| SQ_execute_query() | modules/sq/mysql_driver.c
| fprintf(), g_string_free(), g_string_sized_new(), g_string_sprintf()
Called by: | UD_commit() | modules/ud/ud_comrol.c
References Variables: | tables | modules/ud/ud_comrol.c

## Global Function UD_commit_II()

`int UD_commit_II ( Transaction_t* tr )`

Prototyped in: | modules/ud/ud_int.h
Calls: | DF_get_class_sql_table() | modules/df/defs.c
| DF_get_update_query() | modules/df/defs.c
| ER_perror() | modules/er/er.c
| SQ_execute_query() | modules/sq/mysql_driver.c
| fprintf(), g_string_free(), g_string_sized_new(), g_string_sprintf()
Called by: | UD_commit() | modules/ud/ud_comrol.c
References Variables: | tables | modules/ud/ud_comrol.c

## Global Function UD_delete()

`int UD_delete ( Transaction_t* tr )`

Prototyped in: | modules/ud/ud_int.h
Calls: | DF_get_class_sql_table() | modules/df/defs.c
| ER_perror() | modules/er/er.c
| SQ_error() | modules/sq/mysql_driver.c
| SQ_execute_query() | modules/sq/mysql_driver.c
| fprintf(), g_string_free(), g_string_sized_new(), g_string_sprintf(), g_string_sprintfa(), time()
References Variables: | tables | modules/ud/ud_comrol.c

## Global Function UD_rollback()

`int UD_rollback ( Transaction_t* tr )`

Prototyped in: | modules/ud/ud_int.h
Calls: | DF_get_class_sql_table() | modules/df/defs.c
| ER_perror() | modules/er/er.c
| SQ_execute_query() | modules/sq/mysql_driver.c
| fprintf(), g_string_free(), g_string_sized_new(), g_string_sprintf(), g_string_sprintfa()
References Variables: | tables | modules/ud/ud_comrol.c

## Global Function UD_update_rx()

`int UD_update_rx ( Transaction_t* tr, rx_oper_mt mode )`

Prototyped in: | modules/ud/ud_int.h
Calls: | ER_perror() | modules/er/er.c
| RP_pack_node() | modules/rp/rp_update.c
| fprintf(), g_slist_foreach()
Called by: | UD_commit() | modules/ud/ud_comrol.c
References Functions: | get_rx_data()