|
Volksdata 1.0b7
RDF library
|
#include "volksdata/buffer.h"
Go to the source code of this file.
Functions | |
| VOLK_Buffer * | VOLK_buffer_new (const unsigned char *data, const size_t size) |
| Create a new buffer and optionally populate it with data. | |
| VOLK_rc | VOLK_buffer_init (VOLK_Buffer *buf, const size_t size, const unsigned char *data) |
| Initialize or reuse a buffer handle. | |
| bool | VOLK_buffer_eq (const VOLK_Buffer *buf1, const VOLK_Buffer *buf2) |
| Return whether two buffers are equal. | |
| int | VOLK_buffer_cmp (const VOLK_Buffer *buf1, const VOLK_Buffer *buf2) |
| Compare two buffers. | |
| void | VOLK_buffer_print (const VOLK_Buffer *buf) |
| Print a byte string of a given length in a human-readable format. | |
| char * | VOLK_buffer_as_str (const VOLK_Buffer *buf) |
| Format a buffer into anb ASCII string. | |
| void | VOLK_buffer_done (VOLK_Buffer *buf) |
| Free the content of a buffer. | |
| void | VOLK_buffer_free (VOLK_Buffer *buf) |
| Free a buffer. | |
| VOLK_BufferTriple * | VOLK_btriple_new (VOLK_Buffer *s, VOLK_Buffer *p, VOLK_Buffer *o) |
| Create a new buffer triple. | |
| VOLK_rc | VOLK_btriple_init (VOLK_BufferTriple *sspo, VOLK_Buffer *s, VOLK_Buffer *p, VOLK_Buffer *o) |
| Initialize internal term pointers in a heap-allocated buffer triple. | |
| void | VOLK_btriple_done (VOLK_BufferTriple *sspo) |
| Free the internal pointers of a buffer triple. | |
| void | VOLK_btriple_free (VOLK_BufferTriple *sspo) |
| Free a buffer triple and all its internal pointers. | |
| VOLK_Key | VOLK_buffer_hash (const VOLK_Buffer *buf) |
| Hash a buffer. | |
| VOLK_Key | VOLK_btriple_hash (const VOLK_BufferTriple *strp) |
| Hash a buffer triple. | |
| VOLK_Buffer * | VOLK_btriple_pos (const VOLK_BufferTriple *trp, VOLK_TriplePos n) |
| Get serialized triple by term position. | |
Variables | |
| VOLK_Buffer * | VOLK_default_ctx_buf = NULL |
| Serialized default context. | |