#include <jf/jf_config.h>
#include <jf/jf_recind_list.h>
#include <jf/jf_trace.h>
Go to the source code of this file.
Data Structures | |
struct | jf_recind_seq_t |
Defines | |
#define | JF_TRACE_MODULE JF_TRACE_MOD_LIB_RECIND_SEQ |
Functions | |
int | jf_recind_seq_add (jf_recind_seq_t *ris, const jf_recind_list_t *elem) |
void | jf_recind_seq_create (jf_recind_seq_t *ris) |
void | jf_recind_seq_destroy (jf_recind_seq_t *ris) |
const jf_recind_list_t * | jf_recind_seq_get_elem (const jf_recind_seq_t *ris, size_t pos) |
size_t | jf_recind_seq_get_size (const jf_recind_seq_t *ris) |
int | jf_recind_seq_is_safe (const jf_recind_seq_t *ris) |
void | jf_recind_seq_reset (jf_recind_seq_t *ris) |
|
Definition at line 41 of file jf_recind_seq.h. |
|
Add an element to a record index sequence object
References jf_recind_seq_t::array, CATCH, JF_RC_INTERNAL_ERROR, JF_RC_OBJ_CORRUPTED, JF_RC_OK, JF_RC_REALLOC_ERROR, jf_recind_seq_is_safe(), JF_TRACE, jf_recind_seq_t::size, and THROW. Referenced by jf_journal_cold_recovery_update_lists(). |
|
Create a new object of type jf_recind_seq_t
References jf_recind_seq_reset(). Referenced by jf_recind_pool_create(). |
|
Destroy an object of type jf_recind_seq_t NOTE: the object MUST be created calling jf_recind_seq_create before this method can be invoked
References jf_recind_seq_t::array, jf_offset_t, jf_recind_list_destroy(), jf_recind_seq_is_safe(), jf_recind_seq_reset(), JF_TRACE, and jf_recind_seq_t::size. Referenced by jf_recind_pool_destroy(). |
|
Retrieve the reference to an element stored in the object
References jf_recind_seq_t::array, and jf_recind_seq_t::size. Referenced by jf_journal_cold_recovery_patch_seq(). |
|
Retrieve the number of lists stored in the object
References jf_recind_seq_t::size. Referenced by jf_journal_cold_recovery(), jf_journal_cold_recovery_patch(), and jf_journal_cold_recovery_patch_seq(). |
|
Is object safe?
References jf_recind_seq_t::array, and jf_recind_seq_t::size. Referenced by jf_recind_seq_add(), and jf_recind_seq_destroy(). |
|
Reset a jf_recind_seq_t object
References jf_recind_seq_t::array, JF_TRACE, and jf_recind_seq_t::size. Referenced by jf_recind_seq_create(), and jf_recind_seq_destroy(). |