Browse Source

* move typedef in simdb.h

master
Alex 'AdUser' Z 7 years ago
parent
commit
e8862af5d4
  1. 16
      src/simdb.h

16
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%)

Loading…
Cancel
Save