aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/deliverable.h2
-rw-r--r--include/template.h8
2 files changed, 10 insertions, 0 deletions
diff --git a/include/deliverable.h b/include/deliverable.h
index 1c9e95e..76d7eb4 100644
--- a/include/deliverable.h
+++ b/include/deliverable.h
@@ -337,4 +337,6 @@ int delivery_init_tmpdir(struct Delivery *ctx);
int delivery_init_artifactory(struct Delivery *ctx);
int delivery_artifact_upload(struct Delivery *ctx);
+
+int delivery_mission_render_files(struct Delivery *ctx);
#endif //OMC_DELIVERABLE_H
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