diff options
author | June McEnroe <june@causal.agency> | 2019-10-25 01:42:10 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-25 01:42:10 -0400 |
commit | b33e336cbd75a8f7810b14650e9ccf439dd4cebb (patch) | |
tree | e66dae6c08a941ebd53dbee2a926ea9388d0a68d /bounce.h | |
parent | Remove manual client naming from manual page (diff) | |
download | pounce-b33e336cbd75a8f7810b14650e9ccf439dd4cebb.tar.gz pounce-b33e336cbd75a8f7810b14650e9ccf439dd4cebb.zip |
Implement ringDiff and ringRead
Diffstat (limited to 'bounce.h')
-rw-r--r-- | bounce.h | 3 |
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); |