You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
320 B
C

#ifndef TURNIP_H
#define TURNIP_H
#include <hiredis/async.h>
#include <time.h>
#include <sys/queue.h>
#include <event.h>
struct server {
struct conf *cfg;
struct event_base *base;
redisAsyncContext *ac;
struct event ev_reconnect;
struct timeval tv_reconnect;
};
void
turnip_connect(struct server *s);
#endif