summary refs log tree commit diff
path: root/archive.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-11-28 21:10:25 -0500
committerJune McEnroe <june@causal.agency>2020-11-28 21:46:28 -0500
commitd9e8a44f6f56393e4b08b4570115de77cf0d2a2f (patch)
tree16fdcf907fba001844e7eb7fa49db21856fff9c4 /archive.h
parentRefactor IMAP struct (diff)
downloadbubger-d9e8a44f6f56393e4b08b4570115de77cf0d2a2f.tar.gz
bubger-d9e8a44f6f56393e4b08b4570115de77cf0d2a2f.zip
Replace templateBuffer with templateString
Diffstat (limited to '')
-rw-r--r--archive.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/archive.h b/archive.h
index a4278ff..3328340 100644
--- a/archive.h
+++ b/archive.h
@@ -187,11 +187,10 @@ int templateRender(
 	FILE *file, const char *template,
 	const struct Variable vars[], EscapeFn *escape
 );
-char *templateBuffer(
-	char *buf, size_t cap, const char *template,
+char *templateString(
+	const char *template,
 	const struct Variable vars[], EscapeFn *escape
 );
-char *templateURL(const char *template, const struct Variable vars[]);
 
 extern const char *baseURL;
 extern const char *baseTitle;