15 #pragma GCC visibility push(default) 195 struct osl_table **result);
229 int osl_get_row(
const struct osl_table *t,
unsigned col_num,
230 const struct osl_object *obj,
struct osl_row **result);
248 int osl_get_object(
const struct osl_table *t,
const struct osl_row *row,
268 const struct osl_row *r,
unsigned col_num,
struct osl_object *obj);
305 struct osl_row **row);
332 int osl_del_row(
struct osl_table *t,
struct osl_row *row);
429 struct osl_row **result);
447 struct osl_row **result);
469 unsigned n,
struct osl_row **result);
487 int osl_get_rank(
const struct osl_table *t,
struct osl_row *r,
488 unsigned col_num,
unsigned *rank);
502 #pragma GCC visibility pop 505 E_OSL_NO_COLUMN_DESC,
507 E_OSL_BAD_STORAGE_TYPE,
508 E_OSL_BAD_STORAGE_FLAGS,
509 E_OSL_NO_COLUMN_NAME,
511 E_OSL_BAD_COLUMN_NAME,
512 E_OSL_NO_UNIQUE_RBTREE_COLUMN,
514 E_OSL_DUPLICATE_COL_NAME,
515 E_OSL_BAD_STORAGE_SIZE,
516 E_OSL_NO_COMPARE_FUNC,
519 E_OSL_ALREADY_MAPPED,
522 E_OSL_BAD_TABLE_DESC,
524 E_OSL_RB_KEY_NOT_FOUND,
526 E_OSL_INDEX_CORRUPTION,
531 E_OSL_VERSION_MISMATCH,
532 E_OSL_BAD_COLUMN_NUM,
533 E_OSL_BAD_TABLE_FLAGS,
struct osl_column_description * column_descriptions
int osl_rbtree_loop_reverse(const struct osl_table *t, unsigned col_num, void *private_data, osl_rbtree_loop_func *func)
int osl_open_disk_object(const struct osl_table *t, const struct osl_row *r, unsigned col_num, struct osl_object *obj)
int osl_close_disk_object(struct osl_object *obj)
int osl_update_object(struct osl_table *t, const struct osl_row *r, unsigned col_num, struct osl_object *obj)
int osl_add_row(struct osl_table *t, struct osl_object *objects)
int osl_del_row(struct osl_table *t, struct osl_row *row)
int osl_get_nth_row(const struct osl_table *t, unsigned col_num, unsigned n, struct osl_row **result)
int osl_rbtree_first_row(const struct osl_table *t, unsigned col_num, struct osl_row **result)
int osl_rbtree_loop(const struct osl_table *t, unsigned col_num, void *private_data, osl_rbtree_loop_func *func)
int osl_compare_func(const struct osl_object *obj1, const struct osl_object *obj2)
int osl_close_table(struct osl_table *t, enum osl_close_flags flags)
int osl_get_object(const struct osl_table *t, const struct osl_row *row, unsigned col_num, struct osl_object *object)
const char * osl_strerror(int num)
int osl_rbtree_loop_func(struct osl_row *row, void *data)
int osl_get_num_rows(const struct osl_table *t, unsigned *num_rows)
int osl_get_rank(const struct osl_table *t, struct osl_row *r, unsigned col_num, unsigned *rank)
int osl_open_table(const struct osl_table_description *desc, struct osl_table **result)
int osl_get_row(const struct osl_table *t, unsigned col_num, const struct osl_object *obj, struct osl_row **result)
int osl_rbtree_last_row(const struct osl_table *t, unsigned col_num, struct osl_row **result)
int osl_create_table(const struct osl_table_description *desc)
int osl_add_and_get_row(struct osl_table *t, struct osl_object *objects, struct osl_row **row)
osl_compare_func * compare_function