libjf API reference guide

Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

jf_wrappers.h File Reference

#include <jf/jf_config.h>

Go to the source code of this file.

Defines

#define fseeko(stream, offset, whence)   fseek(stream, offset, whence)
#define ftello(stream)   ftell(stream)
#define JF_OFFSET_T_FORMAT   "%ld"

Typedefs

typedef long jf_offset_t


Define Documentation

#define fseeko stream,
offset,
whence   )     fseek(stream, offset, whence)
 

This function is a wrapper for fseeko ANSI C standard function: it's replaced by "fseek" when not available Definition at line 64 of file jf_wrappers.h.

Referenced by bench_01_sio_run(), bench_02_sio_run(), bench_03_sio_run(), jf_journal_analyze(), jf_journal_apply_changes(), jf_journal_cold_recovery(), jf_journal_cold_recovery_analyze(), jf_journal_cold_recovery_patch_record(), jf_journal_cold_recovery_prep_pool(), jf_journal_fetch_ctrl_code(), jf_journal_fetch_record(), jf_journal_file_tab_dump(), jf_journal_get_byte_data(), jf_journal_open(), jf_journal_remove_changes(), jf_journal_scan(), jf_journal_scan_search(), jf_journal_scan_undo(), jf_journal_update_file_table(), jf_journal_write_record(), jf_journal_write_records(), and jf_stream_size().

#define ftello stream   )     ftell(stream)
 

This function is a wrapper for ftello ANSI C standard function: it's replaced by "ftell" when not available Definition at line 74 of file jf_wrappers.h.

Referenced by jf_journal_close(), jf_journal_cold_recovery(), jf_journal_cold_recovery_prep_pool(), jf_journal_create(), jf_journal_fetch_ctrl_code(), jf_journal_fetch_record(), jf_journal_load(), jf_journal_scan(), jf_journal_update_file_table(), jf_journal_write_records(), and jf_stream_size().

#define JF_OFFSET_T_FORMAT   "%ld"
 

Definition at line 53 of file jf_wrappers.h.

Referenced by jf_cache_file_trace(), jf_journal_add_byte_data(), jf_journal_cold_recovery_analyze(), jf_journal_cold_recovery_patch(), jf_journal_fetch_ctrl_code(), jf_journal_fetch_record(), jf_journal_file_tab_trace(), jf_journal_load(), jf_journal_remove_changes(), jf_journal_rollback_int(), jf_journal_trace(), and jf_journal_trace_record().


Typedef Documentation

typedef long jf_offset_t
 

This is the type used by fseek/ftell, fseeko/ftello functions: some compilers do not support fseeko and ftello functions Definition at line 52 of file jf_wrappers.h.

Referenced by bench_01_ljf_run(), bench_02_ljf_run(), bench_03_ljf_run(), jf_cache_file_chunk_get_content(), jf_cache_file_chunk_get_range(), jf_cache_file_chunk_get_size(), jf_cache_file_chunk_is_used(), jf_cache_file_chunk_prepare(), jf_cache_file_chunk_set_content(), jf_cache_file_clear(), jf_cache_file_destroy(), jf_cache_file_get_free_ranges(), jf_cache_file_get_last_pos(), jf_cache_file_get_limit(), jf_cache_file_get_size(), jf_cache_file_get_used_ranges(), jf_cache_file_init(), jf_cache_file_merge(), jf_cache_file_reset(), jf_cache_file_resize(), jf_cache_file_search(), jf_cache_file_search_hint(), jf_cache_file_set_content(), jf_cache_file_set_last_pos(), jf_cache_file_set_limit(), jf_cache_file_split(), jf_cache_file_trace(), jf_file_get_cache_limit(), jf_file_rewind(), jf_file_seek(), jf_file_size(), jf_journal_add_byte_data(), jf_journal_apply_changes(), jf_journal_close(), jf_journal_cold_recovery(), jf_journal_cold_recovery_patch(), jf_journal_cold_recovery_patch_record(), jf_journal_cold_recovery_patch_seq(), jf_journal_cold_recovery_prep_pool(), jf_journal_cold_recovery_update_lists(), jf_journal_commit_int(), jf_journal_fetch_ctrl_code(), jf_journal_fetch_record(), jf_journal_file_get_last_pos(), jf_journal_file_get_last_size(), jf_journal_file_get_last_uc_pos(), jf_journal_file_get_last_uc_size(), jf_journal_file_init(), jf_journal_file_set_last_pos(), jf_journal_file_set_last_size(), jf_journal_file_set_last_uc_pos(), jf_journal_file_set_last_uc_size(), jf_journal_get_byte_data(), jf_journal_load(), jf_journal_open_attach_file(), jf_journal_rollback_int(), jf_journal_scan(), jf_journal_scan_search(), jf_journal_scan_undo(), jf_journal_trace_record(), jf_journal_update_file_table(), jf_journal_util_join(), jf_journal_write_record(), jf_journal_write_records(), jf_recind_list_add(), jf_recind_list_get_elem(), jf_recind_pool_destroy(), jf_recind_seq_destroy(), jf_stream_size(), jf_stream_truncate(), and main().


Copyright 2005 © Tiian