summaryrefslogtreecommitdiffstats
path: root/src/msgb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/msgb.c')
-rw-r--r--src/msgb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/msgb.c b/src/msgb.c
index d2c167aa..f9841ed1 100644
--- a/src/msgb.c
+++ b/src/msgb.c
@@ -98,3 +98,8 @@ uint16_t msgb_length(const struct msgb *msg)
{
return msg->len;
}
+
+void msgb_set_talloc_ctx(void *ctx)
+{
+ tall_msgb_ctx = ctx;
+}