From 915899a827968d4d6534ddb09e3797a58771f922 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Fri, 23 Mar 2018 11:56:23 +0100 Subject: acl-plugin: set ACL heap within the exported functions that might alloc memory The functions which get called by other plugins need to set the acl plugin heap, such that the other plugins do not have to think about it. Change-Id: I673073f17116ffe444c163bf3dff40821d0c2686 Signed-off-by: Andrew Yourtchenko --- src/plugins/acl/acl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/acl/acl.h') diff --git a/src/plugins/acl/acl.h b/src/plugins/acl/acl.h index 5765e91d433..d7ccbe96e6b 100644 --- a/src/plugins/acl/acl.h +++ b/src/plugins/acl/acl.h @@ -353,5 +353,7 @@ AH has a special treatment of its length, it is in 32-bit words, not 64-bit word extern acl_main_t acl_main; +void *acl_plugin_set_heap(); + #endif -- cgit 1.2.3-korg