File modules/ud/ud_comrol.c

  $Revision: 1.5 $

rollback(), commit(), delete() - rollback, commit update transaction, delete an object
Status: NOT REVUED, NOT TESTED
Author(s): Andrei Robachevsky
References Variables: t_abmodules/ud/ud_comrol.c
  t_anmodules/ud/ud_comrol.c
  t_asmodules/ud/ud_comrol.c
  t_dnmodules/ud/ud_comrol.c
  t_i6modules/ud/ud_comrol.c
  t_inmodules/ud/ud_comrol.c
  t_irmodules/ud/ud_comrol.c
  t_kcmodules/ud/ud_comrol.c
  t_limodules/ud/ud_comrol.c
  t_mtmodules/ud/ud_comrol.c
  t_pnmodules/ud/ud_comrol.c
  t_romodules/ud/ud_comrol.c
  t_rsmodules/ud/ud_comrol.c
  t_rtmodules/ud/ud_comrol.c

Included Files


Preprocessor definitions

#define RIPE_REG 17

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

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 tables

char** tables[]
Included from modules/ud/ud_comrol.h
Visible in:  modules/ud/ud_comrol.c
Used in: commit()modules/ud/ud_comrol.c
  delete()modules/ud/ud_comrol.c
  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: delete()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: delete()modules/ud/ud_comrol.c

Global Function commit()

int commit ( Transaction_t* tr )
Prototyped in: modules/ud/ud_int.h
Calls: RX_get_tree()modules/rx/rx_tree.c
  SQ_execute_query()modules/sq/mysql_driver.c
  fprintf(), g_string_free(), g_string_sized_new(), g_string_sprintf(), g_string_sprintfa(), update_rx_bin(), update_rx_inum()
References Variables: tablesmodules/ud/ud_comrol.c

Global Function delete()

int delete ( Transaction_t* tr )
Prototyped in: modules/ud/ud_int.h
Calls: RX_get_tree()modules/rx/rx_tree.c
  SQ_execute_query()modules/sq/mysql_driver.c
  SQ_free_result()modules/sq/mysql_driver.c
  atol(), fprintf(), free(), g_slist_foreach(), g_string_free(), g_string_sized_new(), g_string_sprintf(), g_string_sprintfa(), get_field_str(), get_sequence_id(), sprintf(), time(), update_rx_bin(), update_rx_inum()
References Functions: get_rx_data()modules/ud/ud_comrol.c
References Variables: t_imtmodules/ud/ud_comrol.c
  t_ipnmodules/ud/ud_comrol.c
  tablesmodules/ud/ud_comrol.c

Global Function rollback()

int rollback ( Transaction_t* tr )
Prototyped in: modules/ud/ud_int.h
Calls: SQ_execute_query()modules/sq/mysql_driver.c
  fprintf(), g_string_free(), g_string_sized_new(), g_string_sprintf(), g_string_sprintfa()
References Variables: tablesmodules/ud/ud_comrol.c

Local Function get_rx_data()

static void get_rx_data ( void* element_data, void* tr_ptr )
Calls: convert_in(), expand_rt(), save_rx_pref(), save_rx_rang()
Used in: delete()modules/ud/ud_comrol.c