nostrdb: strblock: add typedef

I don't technically need this but it helps a lot on the swift side
of things since I already have code that uses this identifier of a
similar structure

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-01-25 15:30:34 -08:00
committed by Daniel D’Aquino
parent c1befa5221
commit ccca6e58ec

View File

@@ -4,9 +4,9 @@
#include <inttypes.h> #include <inttypes.h>
struct ndb_str_block { typedef struct ndb_str_block {
const char *str; const char *str;
uint32_t len; uint32_t len;
}; } str_block_t;
#endif #endif