From f3892c98fdc734a0abca136ab712c94246fe66c0 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 5 May 2019 15:37:56 +0100 Subject: Add content_exec and associated vtable entry Signed-off-by: Daniel Silverstone --- content/content_protected.h | 1 + 1 file changed, 1 insertion(+) (limited to 'content/content_protected.h') diff --git a/content/content_protected.h b/content/content_protected.h index be277a042..99a05cf49 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -81,6 +81,7 @@ struct content_handler { content_type (*type)(void); void (*add_user)(struct content *c); void (*remove_user)(struct content *c); + bool (*exec)(struct content *c, const char *src, size_t srclen); /** handler dependant content sensitive internal data interface. */ void * (*get_internal)(const struct content *c, void *context); -- cgit v1.2.3