summaryrefslogtreecommitdiff
path: root/multipart-replace.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-08 16:39:03 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-08 16:39:03 -0400
commit608f4f254ccf95a01b5480e2dbe7a1b6e54c8609 (patch)
treeb6a2dfe147ced25a86e1954c992435afd6b20678 /multipart-replace.h
parentd3a6398406f1a3f222c7ca00d4e4608267148456 (diff)
sitting here
Diffstat (limited to 'multipart-replace.h')
-rw-r--r--multipart-replace.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/multipart-replace.h b/multipart-replace.h
index 126f6fa..2aa5e61 100644
--- a/multipart-replace.h
+++ b/multipart-replace.h
@@ -3,6 +3,7 @@
#pragma once
#include <pthread.h>
+#include <stdbool.h>
struct frame {
ssize_t len;
@@ -19,4 +20,7 @@ struct multipart_replace_stream {
void multipart_replace_reader(struct multipart_replace_stream *s, int fd, const char *boundary);
void multipart_replace_writer(struct multipart_replace_stream *s, int fd, const char *boundary);
-void init_multipart_replace_stream();
+void init_multipart_replace_stream(struct multipart_replace_stream *s);
+void destroy_multipart_replace_stream(struct multipart_replace_stream *s);
+
+extern bool running;