diff options
author | June McEnroe <june@causal.agency> | 2019-10-27 22:42:33 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-27 22:42:33 -0400 |
commit | 766210d614f249cf04b84b691351d03047f36754 (patch) | |
tree | dc21d9ae2c851ff54be19da4c6b8bd4fa3451939 /bounce.h | |
parent | Set SO_REUSEADDR on binds (diff) | |
download | pounce-766210d614f249cf04b84b691351d03047f36754.tar.gz pounce-766210d614f249cf04b84b691351d03047f36754.zip |
Only increment consumer after successful send
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h index 4a04acf..e412358 100644 --- a/bounce.h +++ b/bounce.h @@ -59,6 +59,7 @@ static inline struct Message parse(char *line) { void ringProduce(const char *line); size_t ringConsumer(const char *name); size_t ringDiff(size_t consumer); +const char *ringPeek(time_t *time, size_t consumer); const char *ringConsume(time_t *time, size_t consumer); void ringInfo(void); |