summaryrefslogtreecommitdiff
path: root/pages.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-01-24 15:17:17 +1030
committerDaniel Jones <admin@danieljon.es>2020-01-24 15:17:17 +1030
commit8a8c6b1f8abcf911da9064a7c787c7673ec2df68 (patch)
treec963f7be1e2c765be4be4d615a8ea0d0d2b30674 /pages.h
parent392a2d22951385257f23ef0af3070e6b0788a540 (diff)
downloadwebsitegenerator-8a8c6b1f8abcf911da9064a7c787c7673ec2df68.tar.gz
websitegenerator-8a8c6b1f8abcf911da9064a7c787c7673ec2df68.zip
added pinned posts feature
Diffstat (limited to 'pages.h')
-rw-r--r--pages.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pages.h b/pages.h
index 3a972c8..5c79db5 100644
--- a/pages.h
+++ b/pages.h
@@ -45,8 +45,9 @@ 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(const int *posts, size_t totalposts);
char *generatepagebar(char *bar, size_t size, const int *posts, size_t totalposts, int currentpage, int pagecount);
-int generatepostpages(const int *posts, size_t totalposts, int pagecount);
-int writeposts(const int *posts, size_t totalposts, const char *outfile, int currentpage, int pagecount);
+int generatepostpages(const int *posts, size_t totalposts, int pagecount, int flags);
+int writeposts(const int *posts, size_t totalposts, const char *outfile, int currentpage, int pagecount, int flags);
+int generatepinned(char *buff, size_t size);
int generaterss(const int *posts, size_t totalposts);
int writerss(FILE *out, int post);
char *striphtml(char *str, size_t size);