From bf2ffd03740894bd7592b7a1bbd2c9101e47e888 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Thu, 2 Jan 2020 16:13:48 +1030 Subject: start generating page (blog navigation) bar really needs to be cleaned up though --- pages.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pages.h') diff --git a/pages.h b/pages.h index e61eeb4..106938d 100644 --- a/pages.h +++ b/pages.h @@ -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); -- cgit v1.2.3