diff options
author | June McEnroe <june@causal.agency> | 2020-11-28 21:10:25 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-11-28 21:46:28 -0500 |
commit | d9e8a44f6f56393e4b08b4570115de77cf0d2a2f (patch) | |
tree | 16fdcf907fba001844e7eb7fa49db21856fff9c4 /archive.h | |
parent | Refactor IMAP struct (diff) | |
download | bubger-d9e8a44f6f56393e4b08b4570115de77cf0d2a2f.tar.gz bubger-d9e8a44f6f56393e4b08b4570115de77cf0d2a2f.zip |
Replace templateBuffer with templateString
Diffstat (limited to '')
-rw-r--r-- | archive.h | 5 |
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; |