memcache/request.h
author Tero Marttila <terom@fixme.fi>
Tue, 26 Aug 2008 01:30:53 +0300
changeset 38 9894df13b779
child 39 0e21a65074a6
permissions -rw-r--r--
added the beginnings of the memcache client module (only up to connect() yet)
#ifndef MEMCACHE_REQ_H
#define MEMCACHE_REQ_H

#include <sys/queue.h>

#include "../memcache.h"
#include "connection.h"

struct memcache_req {
    struct memcached_connection *conn;
    
    // we are a member of struct memcache_server.req_queue
    TAILQ_ENTRY(memcache_req) reqqueue_node;
    
    // our key/obj
    struct memcached_key *key;
    struct memcached_obj *obj;
};

#endif /* MEMCACHE_REQ_H */