fix doc tpyos, rename some enums, fix printf format len for non-zero terminated strings (hg status), pass args to memcache_cmd_format_header via memcache_req_*, handle zero-length STORE requests, memcache_req is_buf_ours + free, other function name typos (keymemcache_req_key), fix req state behaviour re *_DATA_* for STORE requests and FETCH/END, better memcache_server connpool events/management, modular memcache_test with a working benchmark. This is a long commit message.
#ifndef RENDER_THREAD_H
#define RENDER_THREAD_H
#include "render.h"
/*
* Compared to render_threads, this just uses a single thread to render the image and the PNG, which is better for
* rendering many small images
*/
struct render_thread;
typedef void (*render_thread_done_cb)(struct render_thread *ctx, int err, void *arg);
struct render_thread *render_thread_alloc (struct render *render, render_thread_done_cb cb_func, void *cb_arg);
void render_thread_free(struct render_thread *ctx);
#endif /* RENDER_THREAD_H */