diff options
| author | Daniel Jones <admin@danieljon.es> | 2020-01-11 16:28:28 +1030 |
|---|---|---|
| committer | Daniel Jones <admin@danieljon.es> | 2020-01-11 16:28:28 +1030 |
| commit | fcab620cc039fd96ea9976ef549448e4aca851de (patch) | |
| tree | 3aaa841ae24afff881fe66638d6e72b77d68fe57 /pages.h | |
| parent | ff4359305c39c12b718a65bfd0c957b77214321b (diff) | |
| download | websitegenerator-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
