#include <stdint.h>
#include <unistd.h>
#include <retro_common_api.h>
#include "query.h"
#include "rmsgpack_dom.h"
Go to the source code of this file.
|
int | libretrodb_create (RFILE *fd, libretrodb_value_provider value_provider, void *ctx) |
|
void | libretrodb_close (libretrodb_t *db) |
|
int | libretrodb_open (const char *path, libretrodb_t *db) |
|
int | libretrodb_create_index (libretrodb_t *db, const char *name, const char *field_name) |
|
int | libretrodb_find_entry (libretrodb_t *db, const char *index_name, const void *key, struct rmsgpack_dom_value *out) |
|
libretrodb_t * | libretrodb_new (void) |
|
void | libretrodb_free (libretrodb_t *db) |
|
libretrodb_cursor_t * | libretrodb_cursor_new (void) |
|
void | libretrodb_cursor_free (libretrodb_cursor_t *dbc) |
|
int | libretrodb_cursor_open (libretrodb_t *db, libretrodb_cursor_t *cursor, libretrodb_query_t *query) |
|
int | libretrodb_cursor_reset (libretrodb_cursor_t *cursor) |
|
void | libretrodb_cursor_close (libretrodb_cursor_t *cursor) |
|
void * | libretrodb_query_compile (libretrodb_t *db, const char *query, size_t buff_len, const char **error) |
|
void | libretrodb_query_free (void *q) |
|
int | libretrodb_cursor_read_item (libretrodb_cursor_t *cursor, struct rmsgpack_dom_value *out) |
|
◆ libretrodb_cursor_t
◆ libretrodb_index_t
◆ libretrodb_t
◆ libretrodb_value_provider
◆ libretrodb_close()
◆ libretrodb_create()
◆ libretrodb_create_index()
◆ libretrodb_cursor_close()
libretrodb_cursor_close: : Handle to database cursor.
Closes cursor and frees up allocated memory.
◆ libretrodb_cursor_free()
◆ libretrodb_cursor_new()
◆ libretrodb_cursor_open()
libretrodb_cursor_open: : Handle to database. : Handle to database cursor. : Query to execute.
Opens cursor to database based on query .
Returns: 0 if successful, otherwise negative.
◆ libretrodb_cursor_read_item()
◆ libretrodb_cursor_reset()
libretrodb_cursor_reset: : Handle to database cursor.
Resets cursor.
Returns: ???.
◆ libretrodb_find_entry()
◆ libretrodb_free()
◆ libretrodb_new()
◆ libretrodb_open()
◆ libretrodb_query_compile()
◆ libretrodb_query_free()