odb.c File Reference


Detailed Description

The Online Database file

Definition in file odb.c.

Go to the source code of this file.

Functions

INT db_open_database (char *database_name, INT database_size, HNDLE *hDB, char *client_name)
INT db_close_database (HNDLE hDB)
INT db_lock_database (HNDLE hDB)
INT db_unlock_database (HNDLE hDB)
INT db_protect_database (HNDLE hDB)
INT db_create_key (HNDLE hDB, HNDLE hKey, char *key_name, DWORD type)
INT db_create_link (HNDLE hDB, HNDLE hKey, char *link_name, char *destination)
INT db_delete_key1 (HNDLE hDB, HNDLE hKey, INT level, BOOL follow_links)
INT db_delete_key (HNDLE hDB, HNDLE hKey, BOOL follow_links)
INT db_find_key (HNDLE hDB, HNDLE hKey, char *key_name, HNDLE *subhKey)
INT db_set_value (HNDLE hDB, HNDLE hKeyRoot, char *key_name, void *data, INT data_size, INT num_values, DWORD type)
INT db_get_value (HNDLE hDB, HNDLE hKeyRoot, char *key_name, void *data, INT *buf_size, DWORD type, BOOL create)
INT db_enum_key (HNDLE hDB, HNDLE hKey, INT index, HNDLE *subkey_handle)
INT db_get_key (HNDLE hDB, HNDLE hKey, KEY *key)
INT db_get_key_time (HNDLE hDB, HNDLE hKey, DWORD *delta)
INT db_get_key_info (HNDLE hDB, HNDLE hKey, char *name, INT name_size, INT *type, INT *num_values, INT *item_size)
INT db_get_data (HNDLE hDB, HNDLE hKey, void *data, INT *buf_size, DWORD type)
INT db_get_data_index (HNDLE hDB, HNDLE hKey, void *data, INT *buf_size, INT index, DWORD type)
INT db_set_data (HNDLE hDB, HNDLE hKey, void *data, INT buf_size, INT num_values, DWORD type)
INT db_set_data_index (HNDLE hDB, HNDLE hKey, void *data, INT data_size, INT index, DWORD type)
INT db_load (HNDLE hDB, HNDLE hKeyRoot, char *filename, BOOL bRemote)
INT db_copy (HNDLE hDB, HNDLE hKey, char *buffer, INT *buffer_size, char *path)
INT db_paste (HNDLE hDB, HNDLE hKeyRoot, char *buffer)
INT db_paste_xml (HNDLE hDB, HNDLE hKeyRoot, char *buffer)
INT db_copy_xml (HNDLE hDB, HNDLE hKey, char *buffer, INT *buffer_size)
INT db_save (HNDLE hDB, HNDLE hKey, char *filename, BOOL bRemote)
INT db_save_xml (HNDLE hDB, HNDLE hKey, char *filename)
INT db_save_struct (HNDLE hDB, HNDLE hKey, char *file_name, char *struct_name, BOOL append)
INT db_sprintf (char *string, void *data, INT data_size, INT index, DWORD type)
INT db_get_record_size (HNDLE hDB, HNDLE hKey, INT align, INT *buf_size)
INT db_get_record (HNDLE hDB, HNDLE hKey, void *data, INT *buf_size, INT align)
INT db_set_record (HNDLE hDB, HNDLE hKey, void *data, INT buf_size, INT align)
INT db_create_record (HNDLE hDB, HNDLE hKey, char *orig_key_name, char *init_str)
INT db_check_record (HNDLE hDB, HNDLE hKey, char *keyname, char *rec_str, BOOL correct)
INT db_open_record (HNDLE hDB, HNDLE hKey, void *ptr, INT rec_size, WORD access_mode, void(*dispatcher)(INT, INT, void *), void *info)
INT db_close_record (HNDLE hDB, HNDLE hKey)
INT db_close_all_records ()
INT db_update_record (INT hDB, INT hKey, int socket)
INT db_send_changed_records ()


Midas DOC Version 1.9.5 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk