feat(ltm): some more work on the parser
This commit is contained in:
parent
95788f22e3
commit
0bc8fc8273
4 changed files with 112 additions and 48 deletions
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
typedef enum ltm_err {
|
||||
ltm_err_ok = 0,
|
||||
ltm_invalid_template,
|
||||
ltm_failed_alloc,
|
||||
ltm_err_invalid_template,
|
||||
ltm_err_failed_alloc,
|
||||
} ltm_err;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ ltm_err ltm_template_compile(ltm_template **out, const char *template);
|
|||
* @param template char buffer containing the template
|
||||
* @param len length of the char buffer
|
||||
*/
|
||||
ltm_err ltm_template_compile_n(ltm_template **out, const char *template, size_t len);
|
||||
ltm_err ltm_template_compile_n(ltm_template **out, const char *template,
|
||||
size_t len);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue