libjf API reference guide

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

jf_defines.h File Reference

#include <jf/jf_config.h>

Go to the source code of this file.

Defines

#define JF_PATH_SEPARATOR   '/'
#define JF_WORD_T_FORMAT   UINT32_T_FORMAT
#define LIBJF_EXPORT
#define OFF_T_FORMAT   "%ld"
#define SIZE_T_FORMAT   "%u"
#define UINT32_T_FORMAT   "%u"

Typedefs

typedef uint8_t byte_t
typedef uint32_t jf_word_t
typedef unsigned char uint8_t


Define Documentation

#define JF_PATH_SEPARATOR   '/'
 

Char used to delimit levels in path Definition at line 150 of file jf_defines.h.

Referenced by jf_path_is_absolute().

#define JF_WORD_T_FORMAT   UINT32_T_FORMAT
 

jf_word_t is defined as uint32_t, so the format string is the same Definition at line 64 of file jf_defines.h.

Referenced by jf_journal_add_byte_data(), jf_journal_attach_file(), jf_journal_commit_int(), jf_journal_fetch_record(), jf_journal_file_tab_dump(), jf_journal_is_sync(), jf_journal_new_unit_of_work(), jf_journal_remove_changes(), jf_journal_rollback_int(), jf_journal_scan(), jf_journal_scan_undo(), jf_journal_set_all_sync(), jf_journal_shift_files(), jf_journal_trace_record(), and jf_journal_write_records().

#define LIBJF_EXPORT
 

Definition at line 142 of file jf_defines.h.

#define OFF_T_FORMAT   "%ld"
 

format for printing "off_t" values Definition at line 98 of file jf_defines.h.

#define SIZE_T_FORMAT   "%u"
 

Definition at line 69 of file jf_defines.h.

Referenced by bench_test_results_compute_one(), and bench_test_results_report().

#define UINT32_T_FORMAT   "%u"
 

Format must be used in *printf family function to print a "uint32_t" value Definition at line 50 of file jf_defines.h.


Typedef Documentation

typedef uint8_t byte_t
 

A byte is the fundamental I/O unit Definition at line 179 of file jf_defines.h.

Referenced by bench_01_ljf_run(), bench_01_sio_run(), bench_03_ljf_run(), bench_03_sio_run(), jf_cache_file_chunk_get_content(), jf_cache_file_chunk_set_content(), jf_cache_file_merge(), jf_cache_file_resize(), jf_cache_file_set_content(), jf_cache_file_split(), jf_file_puts(), jf_file_read(), jf_file_write(), jf_journal_add_byte_data(), jf_journal_add_c(), jf_journal_fetch_record(), jf_journal_get_byte_data(), jf_journal_get_c(), jf_journal_write_record(), jf_journal_write_records(), jf_trace_hex_data(), jf_trace_text_data(), jf_translate_CRLF_NL(), and jf_translate_NL_CRLF().

typedef uint32_t jf_word_t
 

Control word used by journaled file (for example, journal records are expressed as words Definition at line 187 of file jf_defines.h.

Referenced by jf_cache_file_trace(), jf_file_eof(), jf_file_get_id(), jf_file_getc(), jf_file_gets(), jf_file_seek(), jf_file_size(), jf_journal_add_byte_data(), jf_journal_add_c(), jf_journal_apply_changes(), jf_journal_attach_file(), jf_journal_close(), jf_journal_close_detach_file(), jf_journal_cold_recovery(), jf_journal_cold_recovery_patch(), jf_journal_cold_recovery_patch_seq(), jf_journal_cold_recovery_prep_pool(), jf_journal_cold_recovery_update_lists(), jf_journal_commit_int(), jf_journal_create(), jf_journal_describe_code(), jf_journal_fetch_ctrl_code(), jf_journal_fetch_record(), jf_journal_file_tab_add(), jf_journal_file_tab_del(), jf_journal_file_tab_destroy(), jf_journal_file_tab_dump(), jf_journal_file_tab_get_jfile(), jf_journal_file_tab_get_max_files(), jf_journal_file_tab_get_number_of_files(), jf_journal_file_tab_init(), jf_journal_file_tab_restore(), jf_journal_file_tab_search(), jf_journal_file_tab_trace(), jf_journal_get_byte_data(), jf_journal_get_c(), jf_journal_get_jfile(), jf_journal_is_all_sync(), jf_journal_is_sync(), jf_journal_new_unit_of_work(), jf_journal_open(), jf_journal_open_attach_file(), jf_journal_remove_changes(), jf_journal_reopen_files(), jf_journal_rollback_int(), jf_journal_rotate(), jf_journal_scan(), jf_journal_scan_redo(), jf_journal_scan_search(), jf_journal_scan_undo(), jf_journal_set_all_sync(), jf_journal_shift_files(), jf_journal_trace_record(), jf_journal_update_file_table(), jf_journal_util_join(), jf_journal_util_leave(), jf_journal_util_rename(), jf_journal_write_record(), jf_journal_write_records(), jf_recind_list_get_uow_type(), jf_recind_list_set_uow_type(), jf_recind_pool_get_seq(), jf_recind_pool_get_size(), jf_stream_sync(), jf_trace_hex_data(), jf_trace_text_data(), jf_translate_CRLF_NL(), jf_translate_NL_CRLF(), and main().

typedef unsigned char uint8_t
 

8 bit unsigned int Definition at line 163 of file jf_defines.h.


Copyright 2005 © Tiian