diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-05-24 22:46:47 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-05-24 22:46:47 +0200 |
commit | c571234ad3d2fed06016c782e02939cd0eb5d6bc (patch) | |
tree | 79303498db5e5294c59b0b7de9555d30f7be09cd /util.h | |
parent | 27bc74a0433b143ce1744698e3c331e907a7fb3f (diff) |
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.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 *); |