- if (((struct item*)walker)->nkey == nkey &&
- memcmp(((struct item*)walker)->key, key, nkey) == 0)
+ if (((struct item*)walker)->nkey == nkey &&
+ memcmp(((struct item*)walker)->key, key, nkey) == 0)
-struct item* create_item(const void* key, size_t nkey, const void* data,
+struct item* create_item(const void* key, size_t nkey, const void* data,
size_t size, uint32_t flags, time_t exp)
{
struct item* ret= calloc(1, sizeof(struct list_entry));
size_t size, uint32_t flags, time_t exp)
{
struct item* ret= calloc(1, sizeof(struct list_entry));
/* ensure that we don't loose track of the root, and this will
* change the start position for the next search ;-) */
root= entry->next;
/* ensure that we don't loose track of the root, and this will
* change the start position for the next search ;-) */
root= entry->next;