render_multi.h
changeset 16 50995bbe442a
parent 13 ee426f453cf5
--- a/render_multi.h	Sun Jun 08 21:03:23 2008 +0300
+++ b/render_multi.h	Sun Jun 08 23:10:36 2008 +0300
@@ -31,24 +31,12 @@
         void *cb_arg
 );
 
-/*
- * Cancel the given request. No more callbacks will be called, buffered data is
- * discarded and the remote render processes will cancel ASAP.
- */
 void render_multi_cancel (struct render_multi *ctx);
 
-/*
- * Doesn't actually do anything yet
- */
-int render_multi_set_recv (struct render_multi *ctx, size_t recv_threshold, size_t unread_buffer);
+void render_multi_set_recv (struct render_multi *ctx, size_t recv_threshold, size_t unread_buffer);
 
-/*
- * Call cb_data with the current set of buffered input data immediately,
- * regardless of whether or not the buffer contains any data, or any new
- * data has been received.
- *
- * Only call this after cb_sent and before cb_done/cb_fail.
- */
-int render_multi_shake (struct render_multi *ctx);
+int render_multi_flush (struct render_multi *ctx);
+
+void render_multi_free (struct render_multi *ctx);
 
 #endif /* RENDER_MULTI_H */