diff options
author | Daniel Jones <admin@danieljon.es> | 2020-01-02 16:13:48 +1030 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-01-02 16:13:48 +1030 |
commit | bf2ffd03740894bd7592b7a1bbd2c9101e47e888 (patch) | |
tree | 6557351c7dd9cc5d2c1cd204c6f38492db96faf8 /pages.h | |
parent | cceda0abba23c83811be34362c38c15427b1356a (diff) | |
download | websitegenerator-bf2ffd03740894bd7592b7a1bbd2c9101e47e888.tar.gz websitegenerator-bf2ffd03740894bd7592b7a1bbd2c9101e47e888.zip |
start generating page (blog navigation) bar
really needs to be cleaned up though
Diffstat (limited to 'pages.h')
-rw-r--r-- | pages.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ int makedirectories(const char *basedir, const char *file); int postscompare(const void *a, const void *b); int genericpage(int flags, const char *ind, const char *out, const char *tit, const char *inf); int createdirectpages(int *posts, size_t totalposts); +char *generatepagebar(char *bar, size_t size, int *posts, size_t totalposts, int currentpage); /* generators (to be put into the pages array) */ int frontpage(int flags); |