diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-06-29 18:46:10 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-06-29 18:46:10 +0200 |
commit | 9e1f0604b5d081197d1b2d5adbc8499074e6717e (patch) | |
tree | dbc3f3721822a9aa786f4d33a1bd0c38dad9ef85 /src | |
parent | 7721a77eafcfffbfcc2d8027dd4134bb9a9cc2b9 (diff) |
add msgb_set_talloc_ctx() to set the talloc context for msgb allocations
Diffstat (limited to 'src')
-rw-r--r-- | src/msgb.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; +} |