libs/web: add support for string templates to the template parser
[project/luci.git] / modules / base / src / template_parser.h
index ad03cbc..a3200a2 100644 (file)
@@ -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);