diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-09-04 11:35:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-09-04 11:35:09 +0000 |
commit | 35eaa9f85f89be1fe0edf4dd3036d14f4848eed4 (patch) | |
tree | 372e8e089ec4ba10fe7702df34d023e67d392b98 /modules/base/src/template_parser.h | |
parent | 84de0fbe029d51d0a878506cf82713713b520f65 (diff) |
libs/web: add support for string templates to the template parser
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'modules/base/src/template_parser.h')
-rw-r--r-- | modules/base/src/template_parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/base/src/template_parser.h b/modules/base/src/template_parser.h index ad03cbcfb2..a3200a2df3 100644 --- a/modules/base/src/template_parser.h +++ b/modules/base/src/template_parser.h @@ -71,6 +71,7 @@ struct template_parser { }; struct template_parser * template_open(const char *file); +struct template_parser * template_string(const char *str, uint32_t len); void template_close(struct template_parser *parser); const char *template_reader(lua_State *L, void *ud, size_t *sz); |