This adds an api that walks along and pulls compact note block data out of nostrdb. Signed-off-by: William Casarin <jb55@jb55.com>
13 lines
140 B
C
13 lines
140 B
C
|
|
#ifndef NDB_STR_BLOCK_H
|
|
#define NDB_STR_BLOCK_H
|
|
|
|
#include <inttypes.h>
|
|
|
|
struct ndb_str_block {
|
|
const char *str;
|
|
uint32_t len;
|
|
};
|
|
|
|
#endif
|