tAdd function prototypes - scribo - Email-based phlog generator
(HTM) git clone git://git.z3bra.org/scribo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3e2b42bb700a97dd976731361c87fb4299682091
(DIR) parent 2bafa2f5b10f99646935f537dddc9e629af89192
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 8 Sep 2020 13:41:20 +0200
Add function prototypes
Diffstat:
M scribo.c | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/scribo.c b/scribo.c
t@@ -31,6 +31,15 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
size_t strlcat(char *dst, const char *src, size_t siz);
#endif
+void usage(char *);
+char * sanitize(const char *);
+char * header(struct headers *, char *);
+struct hdr * saveheader(struct headers *, char *);
+int parseheaders(FILE *, struct headers *);
+int writeentry(FILE *, char *, struct headers *);
+int writeindex(FILE *, char *);
+
+
void
usage(char *pgm)
{