summaryrefslogtreecommitdiff
path: root/evbuffer-internal.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-05-15 22:44:18 +0000
committerNick Mathewson <nickm@torproject.org>2009-05-15 22:44:18 +0000
commitdc4c7b95707864d09d710fbe4736f05a39e823a0 (patch)
tree01c5cb75cac69510dfadb9b95460978ca569c5ad /evbuffer-internal.h
parentbba69e03f8101ec3efe7db69973fc93151e242ba (diff)
downloadlibevent-dc4c7b95707864d09d710fbe4736f05a39e823a0.tar.gz
Change the interface of evbuffer_add_reference: give the cleanup function more info.
svn:r1294
Diffstat (limited to 'evbuffer-internal.h')
-rw-r--r--evbuffer-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/evbuffer-internal.h b/evbuffer-internal.h
index b70e4305..bd41bfc2 100644
--- a/evbuffer-internal.h
+++ b/evbuffer-internal.h
@@ -188,7 +188,7 @@ struct evbuffer_chain_fd {
/** callback for a reference buffer; lets us know what to do with it when
* we're done with it. */
struct evbuffer_chain_reference {
- void (*cleanupfn)(void *extra);
+ evbuffer_ref_cleanup_cb cleanupfn;
void *extra;
};