Turnstone Operating System
|
TOSDB sequence functions. More...
Functions | |
MODULE ("turnstone.kernel.db") | |
tosdb_sequence_t * | tosdb_sequence_create_or_open (tosdb_database_t *db, const char_t *name, int64_t start, int64_t cache_size) |
creates new sequence More... | |
int64_t | tosdb_sequence_next (tosdb_sequence_t *seq) |
get next sequence value More... | |
TOSDB sequence functions.
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
tosdb_sequence_t * tosdb_sequence_create_or_open | ( | tosdb_database_t * | db, |
const char_t * | name, | ||
int64_t | start, | ||
int64_t | cache_size | ||
) |
creates new sequence
[in] | db | database interface |
[in] | name | sequence name |
[in] | start | sequence start |
[in] | cache_size | sequence cache size |
int64_t tosdb_sequence_next | ( | tosdb_sequence_t * | seq | ) |
get next sequence value
[in] | seq | the sequence to operate |