summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-25 01:42:10 -0400
committerJune McEnroe <june@causal.agency>2019-10-25 01:42:10 -0400
commitb33e336cbd75a8f7810b14650e9ccf439dd4cebb (patch)
treee66dae6c08a941ebd53dbee2a926ea9388d0a68d /bounce.h
parentRemove manual client naming from manual page (diff)
downloadpounce-b33e336cbd75a8f7810b14650e9ccf439dd4cebb.tar.gz
pounce-b33e336cbd75a8f7810b14650e9ccf439dd4cebb.zip
Implement ringDiff and ringRead
Diffstat (limited to '')
-rw-r--r--bounce.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index 4c0fefb..d81acf9 100644
--- a/bounce.h
+++ b/bounce.h
@@ -17,6 +17,7 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 #include <tls.h>
 
 #ifndef DEFAULT_CERT_PATH
@@ -82,3 +83,5 @@ void stateSync(struct Client *client);
 
 void ringWrite(const char *line);
 size_t ringReader(const char *name);
+size_t ringDiff(size_t reader);
+const char *ringRead(time_t *time, size_t reader);