diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-05-15 22:44:18 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-15 22:44:18 +0000 |
commit | dc4c7b95707864d09d710fbe4736f05a39e823a0 (patch) | |
tree | 01c5cb75cac69510dfadb9b95460978ca569c5ad /evbuffer-internal.h | |
parent | bba69e03f8101ec3efe7db69973fc93151e242ba (diff) | |
download | libevent-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.h | 2 |
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; }; |