2 #ifndef XTABLES_TYPEDEF_H 3 #define XTABLES_TYPEDEF_H 7 #include <cfe/cfe_value.h> 10 #define RECORD_INVALID (UINT32_MAX) 11 #define REC_MAX (RECORD_INVALID - 1) 24 typedef void *(*table_malloc_func_t)(
const table_t *, size_t);
25 typedef void *(*table_realloc_func_t)(
const table_t *,
void *, size_t);
32 typedef cfe_value_t *(*table_get_function_t)(
const table_t *,
void *);
int(* table_compare_t)(void *, void *)
void(* table_alter_t)(const table_t *, rec_t, void *user_data)
void(* table_free_func_t)(const table_t *, void *)
void(* table_free_entry_t)(void *)
Type specific function to free the memory used inside a record.
struct _table table_t
Table type.
uint32_t rec_t
Type to identify a record number.
rec_t(* table_get_record_number_by_pointer_t)(const table_t *, void *)
Type specific function to get the record number of a give record.