85 char *
gb_compress_bits(
const char *source,
long size,
const unsigned char *c_0,
long *msize);
133 long gbcm_read(
int socket,
char *ptr,
long size);
169 #error gb_prot.h included twice
GB_CSTR gb_oldQuicksaveName(GB_CSTR path, int nr)
GB_ERROR gbcmc_abort_transaction(GBDATA *gbd) __ATTR__USERESULT
GBCM_ServerResult gbcm_write(int socket, const char *ptr, long size)
void gb_uncache(GBENTRY *gbe)
GB_BUFFER gb_uncompress_bits(const char *source, long size, char c_0, char c_1)
GB_ERROR gbcmc_begin_sendupdate(GBDATA *gbd) __ATTR__USERESULT
GB_ERROR gb_delete_force(GBDATA *source)
char * gb_read_cache(GBENTRY *gbe)
GB_ERROR gbcmc_begin_transaction(GBDATA *gbd) __ATTR__USERESULT
char * gb_disable_undo(GBDATA *gb_main)
long gb_ascii_2_bin(const char *source, GBENTRY *gbe)
GBDATA * gb_index_find(GBCONTAINER *gbf, gb_index_files *ifs, GBQUARK quark, const char *val, GB_CASE case_sens, int after_index)
void gb_save_extern_data_in_ts(GBENTRY *gbe)
GB_ERROR gb_commit_transaction_local_rek(GBDATA *&gbd, long mode, int *pson_created) __ATTR__USERESULT
void gb_init_undo_stack(GB_MAIN_TYPE *Main)
GBQUARK gb_find_or_create_NULL_quark(GB_MAIN_TYPE *Main, const char *key)
void gb_abort_and_close_all_DBs(void)
long gbcm_read(int socket, char *ptr, long size)
GBENTRY * gb_make_entry(GBCONTAINER *father, const char *key, long index_pos, GBQUARK keyq, GB_TYPES type)
char * gb_abort_entry(GBDATA *gbd)
GB_ERROR gb_scan_directory(char *basename, gb_scandir *sd) __ATTR__USERESULT_TODO
GB_ERROR gb_load_key_data_and_dictionaries(GB_MAIN_TYPE *Main) __ATTR__USERESULT
GB_CSTR gb_read_key_pntr(GBDATA *gbd)
GB_MAIN_TYPE * gb_get_main_during_cb(void)
GBDATA * gb_search(GBCONTAINER *gbc, const char *key, GB_TYPES create, int internflag)
int gb_get_compression_mask(GB_MAIN_TYPE *Main, GBQUARK key, int gb_type)
void gb_write_index_key(GBCONTAINER *father, long index, GBQUARK new_index)
GB_ERROR gbcmc_sendupdate_create(GBDATA *gbd) __ATTR__USERESULT
void gb_touch_entry(GBDATA *gbd, GB_CHANGE val)
void gb_free_cache(GB_MAIN_TYPE *Main, GBENTRY *gbe)
long gb_create_key(GB_MAIN_TYPE *Main, const char *key, bool create_gb_key)
void gb_delete_entry(GBDATA *&gbd)
void gb_pre_delete_entry(GBDATA *gbd)
GB_BUFFER gb_uncompress_bytes(GB_CBUFFER source, size_t size, size_t *new_size)
char * gb_compress_bits(const char *source, long size, const unsigned char *c_0, long *msize)
char * gb_alloc_cache_index(GBENTRY *gbe, size_t size)
GB_ERROR gbcm_login(GBCONTAINER *gb_main, const char *loginname) __ATTR__USERESULT
GB_BUFFER gb_uncompress_longs_old(GB_CBUFFER source, size_t size, size_t *new_size)
GB_ERROR gbcmc_sendupdate_delete(GBDATA *gbd) __ATTR__USERESULT
gbcmc_comm * gbcmc_open(const char *path)
GB_ERROR gbcmc_send_undo_commands(GBDATA *gbd, enum gb_undo_commands command) __ATTR__USERESULT
void gb_check_in_undo_delete(GB_MAIN_TYPE *Main, GBDATA *&gbd)
void gb_check_in_undo_modify(GB_MAIN_TYPE *Main, GBDATA *gbd)
GB_ERROR gb_write_compressed_pntr(GBENTRY *gbe, const char *s, long memsize, long stored_size)
GBCONTAINER * gb_make_container(GBCONTAINER *father, const char *key, long index_pos, GBQUARK keyq)
GB_CSTR gb_quicksaveName(GB_CSTR path, int nr)
void gb_create_key_array(GB_MAIN_TYPE *Main, int index)
void gb_compress_equal_bytes_2(const char *source, size_t size, size_t *msize, char *dest)
GB_ERROR gbcm_logout(GB_MAIN_TYPE *Main, const char *loginname)
char * gb_set_undo_sync(GBDATA *gb_main)
void gb_untouch_children_and_me(GBCONTAINER *gbc)
GB_ERROR gbcmc_end_sendupdate(GBDATA *gbd) __ATTR__USERESULT
GBCONTAINER * gb_create_container(GBCONTAINER *father, const char *key)
int gb_is_valid_mapfile(const char *path, gb_map_header *mheader, int verbose)
void gb_load_single_key_data(GBDATA *gb_main, GBQUARK q)
char * gbcm_read_string(int socket)
char * gb_uncompress_by_dictionary(GBDATA *gbd, GB_CSTR s_source, size_t size, size_t *new_size)
GB_ERROR gb_convert_V2_to_V3(GBDATA *gb_main)
GB_ERROR gbcmc_init_transaction(GBCONTAINER *gbc) __ATTR__USERESULT
long gbcm_write_two(int socket, long a, long c)
GBCM_ServerResult gbcmc_close(gbcmc_comm *link)
GB_ERROR gb_save_dictionary_data(GBDATA *gb_main, const char *key, const char *dict, int size)
void gb_abort_transaction_local_rek(GBDATA *&gbd)
GB_ERROR gb_load_dictionary_data(GBDATA *gb_main, const char *key, char **dict_data, long *size)
void gb_untouch_children(GBCONTAINER *gbc)
GB_ERROR gbcm_unfold_client(GBCONTAINER *gbc, long deep, long index_pos) __ATTR__USERESULT
GBCONTAINER * gb_get_root(GBENTRY *gbe)
gb_compress_tree * gb_build_uncompress_tree(const unsigned char *data, long short_flag, char **end)
GB_CSTR gb_mapfile_name(GB_CSTR path)
GBCM_ServerResult gbcm_write_string(int socket, const char *key)
size_t gbs_get_a_prime(size_t above_or_equal_this)
int gb_isMappedMemory(void *mem)
GB_ERROR gbcmc_sendupdate_update(GBDATA *gbd, int send_headera) __ATTR__USERESULT
char * gb_compress_by_dictionary(GB_DICTIONARY *dict, GB_CSTR s_source, size_t size, size_t *msize, int last_flag, int search_backward, int search_forward)
GB_ERROR gbcmc_commit_transaction(GBDATA *gbd) __ATTR__USERESULT
long gbcm_read_long(int socket)
GB_ERROR gb_unfold(GBCONTAINER *gbc, long deep, int index_pos)
void gb_add_ref_gb_transaction_save(gb_transaction_save *ts)
void gb_remove_callbacks_marked_for_deletion(GBDATA *gbd)
#define __ATTR__USERESULT
GBDATA * gb_map_mapfile(const char *path)
void gb_check_in_undo_create(GB_MAIN_TYPE *Main, GBDATA *gbd)
GBCONTAINER * gb_make_pre_defined_container(GBCONTAINER *father, GBCONTAINER *gbc, long index_pos, GBQUARK keyq)
void gb_create_header_array(GBCONTAINER *gbc, int size)
void gb_free_undo_stack(GB_MAIN_TYPE *Main)
GB_CBUFFER gb_uncompress_data(GBDATA *gbd, GB_CBUFFER source, size_t size)
void gbcm_read_flush(void)
GB_ERROR gb_resort_system_folder_to_top(GBCONTAINER *gb_main)
GB_MAIN_IDX gb_make_main_idx(GB_MAIN_TYPE *Main)
gb_compress_list * gb_build_compress_list(const unsigned char *data, long short_flag, long *size)
GBDATA * gb_make_pre_defined_entry(GBCONTAINER *father, GBDATA *gbd, long index_pos, GBQUARK keyq)
GB_ERROR gbcms_add_to_delete_list(GBDATA *gbd)
GBCM_ServerResult gbcm_write_flush(int socket)
GBDATA * gb_find_by_nr(GBCONTAINER *father, int index)
GB_DICTIONARY * gb_get_dictionary(GB_MAIN_TYPE *Main, GBQUARK key)
GB_ERROR gbcm_open_socket(const char *path, bool do_connect, int *psocket, char **unix_name)
void gb_destroy_indices(GBCONTAINER *gbc)
void gb_del_ref_gb_transaction_save(gb_transaction_save *ts)
GBQUARK gb_find_or_create_quark(GB_MAIN_TYPE *Main, const char *key)
#define __ATTR__USERESULT_TODO
void gb_del_ref_and_extern_gb_transaction_save(gb_transaction_save *ts)
void gb_untouch_me(GBENTRY *gbe)
GBCM_ServerResult gbcm_read_two(int socket, long a, long *b, long *c)
GBENTRY * gb_create(GBCONTAINER *father, const char *key, GB_TYPES type)
char * gb_findExtension(char *path)
void gb_free_compress_tree(gb_compress_tree *tree)
void gb_delete_dummy_father(GBCONTAINER *&gbc)
long gbcmc_key_alloc(GBDATA *gbd, const char *key)
int gb_read_nr(GBDATA *gbd)
GBCM_ServerResult gbcm_write_long(int socket, long data)
char * gbcmc_send_undo_info_commands(GBDATA *gbd, enum gb_undo_commands command)
void gb_touch_header(GBCONTAINER *gbc)
long gbcms_close(gbcmc_comm *link)
GB_ERROR gb_save_mapfile(GB_MAIN_TYPE *Main, GB_CSTR path)
long gb_read_bin_error(FILE *in, GBDATA *gbd, const char *text)
GB_BUFFER gb_compress_data(GBDATA *gbd, int key, GB_CBUFFER source, size_t size, size_t *msize, GB_COMPRESSION_MASK max_compr, bool pre_compressed)
GB_write_int const char s