File modules/ud/ud_misc.c

  $Revision: 1.9 $

Miscellaneous functions to support UD
Status: NOT REVUED, NOT TESTED
Author(s): Chris Ottrey, Andrei Robachevsky

Included Files


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