2017-02-24 23:42:17 +01:00

23 lines
377 B
C

#ifndef R_MIXED_H
#define R_MIXED_H
#include <r_list.h>
#include <sdb.h>
#define RMIXED_MAXKEYS 256
typedef struct r_mixed_data_t {
int size;
union {
SdbHash *ht;
SdbHash *ht64;
} hash;
} RMixedData;
typedef struct r_mixed_t {
RList *list;
RMixedData *keys[RMIXED_MAXKEYS];
ut64 state[RMIXED_MAXKEYS]; // used by change_(begin|end)
} RMixed;
#endif // R_MIXED_H