summaryrefslogtreecommitdiff
path: root/multipart-replace.h
diff options
context:
space:
mode:
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;