Changeset 6648 for trunk/ARBDB/gb_prot.h

Show
Ignore:
Timestamp:
11/05/10 15:16:05 (2 years ago)
Author:
westram
Message:
  • stuffed all direct memory leaks in GB_open/GB_close
    • call gbcm_logout for main-user
    • free dates
    • gb_delete_main_entry -> gb_delete_dummy_father
    • free key data
    • free command hash
    • splitted up gb_delete_entry into GBDATA- and GBCONTAINER-version
    • destroy DB indices when destroying GBCONTAINER
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ARBDB/gb_prot.h

    r6646 r6648  
    6969GB_ERROR gbcmc_send_undo_commands(GBDATA *gbd, enum gb_undo_commands command) __ATTR__USERESULT; 
    7070char *gbcmc_send_undo_info_commands(GBDATA *gbd, enum gb_undo_commands command); 
    71 GB_ERROR gbcm_login(GBCONTAINER *gb_main, const char *user); 
     71GB_ERROR gbcm_login(GBCONTAINER *gb_main, const char *loginname); 
    7272GBCM_ServerResult gbcmc_close(struct gbcmc_comm *link); 
     73GB_ERROR gbcm_logout(GB_MAIN_TYPE *Main, const char *loginname); 
    7374 
    7475/* adhash.cxx */ 
     
    155156void gb_pre_delete_entry(GBDATA *gbd); 
    156157void gb_delete_entry(GBDATA **gbd_ptr); 
    157 void gb_delete_main_entry(GBDATA **gbd_ptr); 
     158void gb_delete_entry(GBCONTAINER **gbc_ptr); 
     159void gb_delete_dummy_father(GBCONTAINER **dummy_father); 
    158160struct gb_transaction_save *gb_new_gb_transaction_save(GBDATA *gbd); 
    159161void gb_add_ref_gb_transaction_save(struct gb_transaction_save *ts); 
     
    193195char *gb_index_check_in(GBDATA *gbd); 
    194196void gb_index_check_out(GBDATA *gbd); 
     197void gb_destroy_indices(GBCONTAINER *gbc); 
    195198GBDATA *gb_index_find(GBCONTAINER *gbf, struct gb_index_files_struct *ifs, GBQUARK quark, const char *val, GB_CASE case_sens, int after_index); 
    196199void gb_init_undo_stack(GB_MAIN_TYPE *Main);