summaryrefslogtreecommitdiff
path: root/src/multipart-replace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/multipart-replace.h')
-rw-r--r--src/multipart-replace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/multipart-replace.h b/src/multipart-replace.h
index e4cced0..d302c5f 100644
--- a/src/multipart-replace.h
+++ b/src/multipart-replace.h
@@ -31,7 +31,8 @@ struct multipart_replace_stream {
struct frame a, b;
struct frame *front, *back;
pthread_rwlock_t frontlock;
- long framecount;
+ pthread_cond_t newframe;
+ pthread_mutex_t newframe_lock;
};
int multipart_replace_reader(struct multipart_replace_stream *s, int fd, const char *boundary);