summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-01-03 12:44:57 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-01-03 12:57:27 +0100
commita7aad223c584be7b5acdf7fc41397853425d45e8 (patch)
treed45f3a654e22c0f3ea2032188113d5877d1ec008
parentfa045e31451f2c73d61d0d7a41b39a925b70f37e (diff)
code style
-rw-r--r--util.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/util.h b/util.h
index 7091798..a990c8f 100644
--- a/util.h
+++ b/util.h
@@ -9,23 +9,23 @@
/* feed info */
struct feed {
- char *name; /* feed name */
- unsigned long totalnew; /* amount of new items per feed */
- unsigned long total; /* total items */
- time_t timenewest;
- char timenewestformat[64];
- struct feed *next; /* linked list */
+ char * name; /* feed name */
+ unsigned long totalnew; /* amount of new items per feed */
+ unsigned long total; /* total items */
+ time_t timenewest;
+ char timenewestformat[64];
+ struct feed * next; /* linked list */
};
enum { FieldUnixTimestamp = 0, FieldTimeFormatted, FieldTitle, FieldLink,
FieldContent, FieldContentType, FieldId, FieldAuthor, FieldFeedType,
FieldFeedName, FieldFeedUrl, FieldBaseSiteUrl, FieldLast };
-void feedsfree(struct feed *);
unsigned int parseline(char **, size_t *, char **, unsigned int, int, FILE *);
-void printfeednameid(const char *, FILE *);
-void printhtmlencoded(const char *, FILE *);
-void printlink(const char *, const char *, FILE *);
-void printutf8pad(FILE *, const char *, size_t, int);
-const char *trimstart(const char *);
-const char *trimend(const char *);
+void printfeednameid(const char *, FILE *);
+void printhtmlencoded(const char *, FILE *);
+void printlink(const char *, const char *, FILE *);
+void printutf8pad(FILE *, const char *, size_t, int);
+int strtotime(const char *, time_t *);
+const char * trimstart(const char *);
+const char * trimend(const char *);