]>
git.saurik.com Git - redis.git/blob - src/intset.h
25afc18d12b4b155c481082d6f3e1b4aa10d65e2
5 typedef struct intset
{
11 intset
*intsetNew(void);
12 intset
*intsetAdd(intset
*is
, int64_t value
, uint8_t *success
);
13 intset
*intsetRemove(intset
*is
, int64_t value
, uint8_t *success
);
14 uint8_t intsetFind(intset
*is
, int64_t value
);
15 int64_t intsetRandom(intset
*is
);
16 uint8_t intsetGet(intset
*is
, uint32_t pos
, int64_t *value
);
17 uint32_t intsetLen(intset
*is
);