struct headline **headlines;
};
+struct feed *feed_new(int id, const char *url, const char *title);
void feed_free(struct feed *feed);
void feeds_free(struct feed **feed);
+struct feed *feeds_get_feed(struct feed **feed, int i);
+
struct headline **headlines_add(struct headline **list, struct headline *h);
+struct headline *headline_new(int id, const char *url, const char *title);
struct feed **feeds_add(struct feed **list, struct feed *f);
struct headline *feed_get_headline(struct feed *feed, int id);
+struct headline *feeds_get_headline(struct feed **feeds, int id);
#endif