summaryrefslogtreecommitdiffstats
path: root/src/rest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest.h')
-rw-r--r--src/rest.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rest.h b/src/rest.h
index 43ddd66..9c4f5e8 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -2,6 +2,7 @@
#define OG_REST_H
#include <ev.h>
+#include <sys/time.h>
extern struct ev_loop *og_loop;
@@ -89,6 +90,7 @@ struct og_cmd {
enum og_rest_method method;
struct og_msg_params params;
json_t *json;
+ struct timeval tv;
};
const struct og_cmd *og_cmd_find(const char *client_ip);