summaryrefslogtreecommitdiff
path: root/async.h
diff options
context:
space:
mode:
authorNick Rivera <heronr@users.noreply.github.com>2020-04-09 20:23:06 -0700
committerGitHub <noreply@github.com>2020-04-09 20:23:06 -0700
commit0184caac9de25258b23156016b3528e9878f1dae (patch)
treecbc0aa54634ef08eb6ea28637517dae7cde1fe50 /async.h
parenta5613f3f7fd3a11353561360d40b9e7dcbeffc7f (diff)
Provides an optional cleanup callback for async data.
Diffstat (limited to 'async.h')
-rw-r--r--async.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/async.h b/async.h
index 4f6b3b7..781f1d1 100644
--- a/async.h
+++ b/async.h
@@ -70,6 +70,7 @@ typedef struct redisAsyncContext {
/* Not used by hiredis */
void *data;
+ void (*dataCleanup)(void *privdata);
/* Event library data and hooks */
struct {