|
vttp
An HTTP backed Virtual Table extension for SQLite
|
In memory streams. More...
#include <stdio.h>
Go to the source code of this file.
Functions | |
| FILE * | cookie (const struct cookie *backend, void *ctx) |
| size_t | fwrite8 (const char *src, size_t n, FILE *dst) |
Variables | |
| const struct cookie | COOKIE_PASSTHROUGH |
| const struct cookie | COOKIE_JSON |
In memory streams.
In memory stream that implements FIFO over a #deque
| FILE * cookie | ( | const struct cookie * | backend, |
| void * | ctx | ||
| ) |
Initialize a custom io stream with the provided callbacks in IO with nullable CTX.
...
내가 만든 쿠키
| size_t fwrite8 | ( | const char * | src, |
| size_t | n, | ||
| FILE * | dst | ||
| ) |
fwrite() on N bytes of data from SRC buffer to DST stream.
|
extern |
JSON object list stream. It separates elements by newline '
', so it's basically NDJSON.
|
extern |
The trivial cookie implementation that just forwards written bytes into a readable end.