summary refs log tree commit diff
path: root/archive.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--archive.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/archive.h b/archive.h
index 06fd435..b1cb3dc 100644
--- a/archive.h
+++ b/archive.h
@@ -150,6 +150,10 @@ int templateRender(
 	FILE *file, const char *template,
 	const struct Variable vars[], EscapeFn *escape
 );
+char *templateBuffer(
+	char *buf, size_t cap, const char *template,
+	const struct Variable vars[], EscapeFn *escape
+);
 char *templateURL(const char *template, const struct Variable vars[]);
 
 char *decodeHeader(const char *header);