nostrdb/blocks: add ndb_blocks_flags function

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2023-12-30 21:20:40 -08:00
committed by Daniel D’Aquino
parent 432cdb96d9
commit c2383060aa
2 changed files with 6 additions and 2 deletions

View File

@@ -194,3 +194,7 @@ void ndb_blocks_free(struct ndb_blocks *blocks) {
free(blocks);
}
int ndb_blocks_flags(struct ndb_blocks *blocks) {
return blocks->flags;
}