cache/cache.h
author Tero Marttila <terom@fixme.fi>
Sat, 30 Aug 2008 19:13:15 +0300
changeset 49 10c7dce1a043
parent 30 33e464fd6773
permissions -rw-r--r--
autogenerate the memcache_test help output, and pipeline memcache requests
#ifndef CACHE_CACHE_H
#define CACHE_CACHE_H

#include <sys/queue.h>

#include "op.h"

struct cache {
    struct cache_engine *engine;
    
    /*
     * List of currently active operations
     */
    LIST_HEAD(cache_op_list_head, cache_op) op_list;
};

int cache_init (struct cache *cache, struct cache_engine *engine);

#endif /* CACHE_CACHE_H */