nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

meta_reader.h (2151B)


      1 #ifndef META_READER_H
      2 #define META_READER_H
      3 
      4 /* Generated by flatcc 0.6.1 FlatBuffers schema compiler for C by dvide.com */
      5 
      6 #ifndef FLATBUFFERS_COMMON_READER_H
      7 #include "flatbuffers_common_reader.h"
      8 #endif
      9 #include "flatcc/flatcc_flatbuffers.h"
     10 #ifndef __alignas_is_defined
     11 #include <stdalign.h>
     12 #endif
     13 #include "flatcc/flatcc_prologue.h"
     14 #ifndef flatbuffers_identifier
     15 #define flatbuffers_identifier 0
     16 #endif
     17 #ifndef flatbuffers_extension
     18 #define flatbuffers_extension "bin"
     19 #endif
     20 
     21 
     22 typedef const struct NdbEventMeta_table *NdbEventMeta_table_t;
     23 typedef struct NdbEventMeta_table *NdbEventMeta_mutable_table_t;
     24 typedef const flatbuffers_uoffset_t *NdbEventMeta_vec_t;
     25 typedef flatbuffers_uoffset_t *NdbEventMeta_mutable_vec_t;
     26 #ifndef NdbEventMeta_file_identifier
     27 #define NdbEventMeta_file_identifier 0
     28 #endif
     29 /* deprecated, use NdbEventMeta_file_identifier */
     30 #ifndef NdbEventMeta_identifier
     31 #define NdbEventMeta_identifier 0
     32 #endif
     33 #define NdbEventMeta_type_hash ((flatbuffers_thash_t)0xa8c23be8)
     34 #define NdbEventMeta_type_identifier "\xe8\x3b\xc2\xa8"
     35 #ifndef NdbEventMeta_file_extension
     36 #define NdbEventMeta_file_extension "bin"
     37 #endif
     38 
     39 
     40 
     41 struct NdbEventMeta_table { uint8_t unused__; };
     42 
     43 static inline size_t NdbEventMeta_vec_len(NdbEventMeta_vec_t vec)
     44 __flatbuffers_vec_len(vec)
     45 static inline NdbEventMeta_table_t NdbEventMeta_vec_at(NdbEventMeta_vec_t vec, size_t i)
     46 __flatbuffers_offset_vec_at(NdbEventMeta_table_t, vec, i, 0)
     47 __flatbuffers_table_as_root(NdbEventMeta)
     48 
     49 __flatbuffers_define_scalar_field(0, NdbEventMeta, received_at, flatbuffers_int32, int32_t, INT32_C(0))
     50 __flatbuffers_define_scalar_field(1, NdbEventMeta, reactions, flatbuffers_int32, int32_t, INT32_C(0))
     51 __flatbuffers_define_scalar_field(2, NdbEventMeta, quotes, flatbuffers_int32, int32_t, INT32_C(0))
     52 __flatbuffers_define_scalar_field(3, NdbEventMeta, reposts, flatbuffers_int32, int32_t, INT32_C(0))
     53 __flatbuffers_define_scalar_field(4, NdbEventMeta, zaps, flatbuffers_int32, int32_t, INT32_C(0))
     54 __flatbuffers_define_scalar_field(5, NdbEventMeta, zap_total, flatbuffers_int64, int64_t, INT64_C(0))
     55 
     56 
     57 #include "flatcc/flatcc_epilogue.h"
     58 #endif /* META_READER_H */