diff --git a/src/simdb.h b/src/simdb.h index 0c90827..0a45add 100644 --- a/src/simdb.h +++ b/src/simdb.h @@ -51,6 +51,14 @@ typedef struct _simdb_t simdb_t; #define REC_OFF_BM 16 /**< image bitmap */ /** @} */ +/** + * database record + */ +typedef struct { + uint64_t num; /**< record number in database */ + unsigned char data[SIMDB_REC_LEN]; /**< record raw data */ +} simdb_rec_t; + /** * block of sequental records of database */ @@ -60,14 +68,6 @@ typedef struct { unsigned char *data; /**< raw records data */ } simdb_block_t; -/** - * database record - */ -typedef struct { - uint64_t num; /**< record number in database */ - unsigned char data[SIMDB_REC_LEN]; /**< record raw data */ -} simdb_rec_t; - /** * search parameters * maxdiff_* fields should have value from 0.0 to 1.0 (0% - 100%)