From c571234ad3d2fed06016c782e02939cd0eb5d6bc Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 24 May 2015 22:46:47 +0200 Subject: sfeed_frames and util cleanup - remove xerr and xerrx, assume the OS closes and flushes file descriptors on OS process exit. - move esnprintf, printcontent to util. --- util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index eb73395..5b4a358 100644 --- a/util.h +++ b/util.h @@ -23,7 +23,9 @@ enum { FieldUnixTimestamp = 0, FieldTimeFormatted, FieldTitle, FieldLink, FieldContent, FieldContentType, FieldId, FieldAuthor, FieldFeedType, FieldFeedName, FieldFeedUrl, FieldBaseSiteUrl, FieldLast }; +int esnprintf(char *, size_t, const char *, ...); int parseline(char **, size_t *, char **, unsigned int, int, FILE *); +void printcontent(const char *, FILE *); void printfeednameid(const char *, FILE *); void printhtmlencoded(const char *, FILE *); void printlink(const char *, const char *, FILE *); -- cgit v1.2.3