XMMS2
|
Enumerations | |
enum | op_type_t { OP_ADD, OP_DEL, OP_WRITING } |
Functions | |
oplist_t * | _oplist_new (s4_transaction_t *trans) |
s4_t * | _oplist_get_db (oplist_t *list) |
s4_transaction_t * | _oplist_get_trans (oplist_t *list) |
void | _oplist_free (oplist_t *list) |
void | _oplist_insert_add (oplist_t *list, const char *key_a, const s4_val_t *val_a, const char *key_b, const s4_val_t *val_b, const char *src) |
void | _oplist_insert_del (oplist_t *list, const char *key_a, const s4_val_t *val_a, const char *key_b, const s4_val_t *val_b, const char *src) |
void | _oplist_insert_writing (oplist_t *list) |
int | _oplist_next (oplist_t *list) |
void | _oplist_first (oplist_t *list) |
void | _oplist_last (oplist_t *list) |
int | _oplist_get_add (oplist_t *list, const char **key_a, const s4_val_t **val_a, const char **key_b, const s4_val_t **val_b, const char **src) |
int | _oplist_get_del (oplist_t *list, const char **key_a, const s4_val_t **val_a, const char **key_b, const s4_val_t **val_b, const char **src) |
int | _oplist_get_writing (oplist_t *list) |
int | _oplist_rollback (oplist_t *list) |
int | _oplist_execute (oplist_t *list, int rollback_on_failure) |
enum op_type_t |
int _oplist_execute | ( | oplist_t * | list, |
int | rollback_on_failure | ||
) |
void _oplist_first | ( | oplist_t * | list | ) |
Referenced by _log_write(), and _oplist_execute().
void _oplist_free | ( | oplist_t * | list | ) |
int _oplist_get_add | ( | oplist_t * | list, |
const char ** | key_a, | ||
const s4_val_t ** | val_a, | ||
const char ** | key_b, | ||
const s4_val_t ** | val_b, | ||
const char ** | src | ||
) |
Referenced by _log_write(), _oplist_execute(), and _oplist_rollback().
Referenced by _log_write().
int _oplist_get_del | ( | oplist_t * | list, |
const char ** | key_a, | ||
const s4_val_t ** | val_a, | ||
const char ** | key_b, | ||
const s4_val_t ** | val_b, | ||
const char ** | src | ||
) |
Referenced by _log_write(), _oplist_execute(), and _oplist_rollback().
s4_transaction_t* _oplist_get_trans | ( | oplist_t * | list | ) |
int _oplist_get_writing | ( | oplist_t * | list | ) |
Referenced by _log_write().
void _oplist_insert_add | ( | oplist_t * | list, |
const char * | key_a, | ||
const s4_val_t * | val_a, | ||
const char * | key_b, | ||
const s4_val_t * | val_b, | ||
const char * | src | ||
) |
Referenced by s4_add().
void _oplist_insert_del | ( | oplist_t * | list, |
const char * | key_a, | ||
const s4_val_t * | val_a, | ||
const char * | key_b, | ||
const s4_val_t * | val_b, | ||
const char * | src | ||
) |
Referenced by s4_del().
void _oplist_insert_writing | ( | oplist_t * | list | ) |
Referenced by _transaction_writing().
void _oplist_last | ( | oplist_t * | list | ) |
Referenced by s4_abort(), and s4_commit().
oplist_t* _oplist_new | ( | s4_transaction_t * | trans | ) |
Referenced by s4_begin().
int _oplist_next | ( | oplist_t * | list | ) |
Referenced by _log_write(), and _oplist_execute().
int _oplist_rollback | ( | oplist_t * | list | ) |
Referenced by _oplist_execute(), s4_abort(), and s4_commit().