diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-09-11 17:12:18 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-09-11 17:12:18 +0200 |
commit | 8ed4e3457904eb4dacc193d0152e690ab3b2ffdb (patch) | |
tree | 07ae4b27b93568b9e72f695df7136d34c3a4a354 /module.h | |
parent | 9ea4368ff1e4842286e0e7a6aec58a2c2c799d5b (diff) |
lib: expose ut_invoke() in the module interface
This allows invoking other functions from module code.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'module.h')
-rw-r--r-- | module.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -26,6 +26,7 @@ struct ut_ops { struct json_object *(*set_type)(struct json_object *, struct json_object *, const char *, void *); void **(*get_type)(struct json_object *, const char *); struct json_object *(*new_object)(struct json_object *); + struct json_object *(*invoke)(struct ut_state *, uint32_t, struct json_object *, struct json_object *, struct json_object *); }; extern const struct ut_ops ut; |