summaryrefslogtreecommitdiff
path: root/pages.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-01-11 16:28:28 +1030
committerDaniel Jones <admin@danieljon.es>2020-01-11 16:28:28 +1030
commitfcab620cc039fd96ea9976ef549448e4aca851de (patch)
tree3aaa841ae24afff881fe66638d6e72b77d68fe57 /pages.h
parentff4359305c39c12b718a65bfd0c957b77214321b (diff)
downloadwebsitegenerator-fcab620cc039fd96ea9976ef549448e4aca851de.tar.gz
websitegenerator-fcab620cc039fd96ea9976ef549448e4aca851de.zip
make createfile() take a template argument
also begin rss page generation
Diffstat (limited to 'pages.h')
-rw-r--r--pages.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages.h b/pages.h
index 936a11e..7639e4f 100644
--- a/pages.h
+++ b/pages.h
@@ -32,7 +32,7 @@ struct fileorstring
};
/* helpers */
-int createfile(const char *file);
+int createfile(const char *file, const char *template);
long findstring(const char *file, const char *str);
int deletebytes(const char *file, long offset, size_t bytes);
int writeatbyte(const char *dest, struct fileorstring *source, long offset);
@@ -57,5 +57,6 @@ int opinions_animepage(int flags);
int opinions_everythingpage(int flags);
int portfoliopage(int flags);
int postspage(int flags);
+int rsspage(int flags);
#endif