diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-03-23 11:56:23 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-03-23 13:00:00 +0000 |
commit | 915899a827968d4d6534ddb09e3797a58771f922 (patch) | |
tree | 3d3d2e90a5b77067d39d2a41241496bdc54a6fa5 /src/plugins/acl/acl.h | |
parent | 13a83ef4d4d05211601b023fa667b5332850fccc (diff) |
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 <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins/acl/acl.h')
-rw-r--r-- | src/plugins/acl/acl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |