scribo

Email-based phlog generator
git clone git://git.z3bra.org/scribo.git
Log | Files | Refs

commit 3e2b42bb700a97dd976731361c87fb4299682091
parent 2bafa2f5b10f99646935f537dddc9e629af89192
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue,  8 Sep 2020 13:41:20 +0200

Add function prototypes

Diffstat:
Mscribo.c | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/scribo.c b/scribo.c @@ -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) {