diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 00:07:28 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 00:07:28 -0500 |
commit | 350d21afffc4b77f65fea7409c4f00b56d4f97e4 (patch) | |
tree | c992c6e2c94a95a95908b41fbf1db78d0404e765 /include/template.h | |
parent | deaff24e42c8f3687ffe6bae549a04bc2f0a35aa (diff) | |
download | stasis-350d21afffc4b77f65fea7409c4f00b56d4f97e4.tar.gz |
Implement delivery_mission_render_files
Diffstat (limited to 'include/template.h')
-rw-r--r-- | include/template.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/template.h b/include/template.h index 24ca98f..b12208f 100644 --- a/include/template.h +++ b/include/template.h @@ -35,4 +35,12 @@ char *tpl_getval(char *key); */ char *tpl_render(char *str); +/** + * Write tpl_render() output to a file + * @param str the text to render + * @param filename the output file name + * @return 0 on success, <0 on error + */ +int tpl_render_to_file(char *str, const char *filename); + #endif //OMC_TEMPLATE_H |