Turnstone Operating System
|
tosdb memory backend implementation More...
#include <tosdb/tosdb.h>
#include <tosdb/tosdb_internal.h>
#include <tosdb/tosdb_backend.h>
#include <logging.h>
Classes | |
struct | tosdb_backend_disk_ctx_t |
Typedefs | |
typedef struct tosdb_backend_disk_ctx_t | tosdb_backend_disk_ctx_t |
Functions | |
MODULE ("turnstone.kernel.db") | |
uint8_t * | tosdb_backend_disk_read (tosdb_backend_t *backend, uint64_t position, uint64_t size) |
uint64_t | tosdb_backend_disk_write (tosdb_backend_t *backend, uint64_t position, uint64_t size, uint8_t *data) |
boolean_t | tosdb_backend_disk_flush (tosdb_backend_t *backend) |
tosdb_backend_t * | tosdb_backend_disk_new (disk_or_partition_t *dp) |
creates new tosdb disk backend More... | |
boolean_t | tosdb_backend_disk_close (tosdb_backend_t *backend) |
tosdb memory backend implementation
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
tosdb_backend_t * tosdb_backend_disk_new | ( | disk_or_partition_t * | dp | ) |
creates new tosdb disk backend
[in] | dp | disk or partition |