From e8862af5d4f973a20bb21cc948071d8dc206dcbd Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Fri, 30 Dec 2016 00:16:27 +1000 Subject: [PATCH] * move typedef in simdb.h --- src/simdb.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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%)