X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Fttrss.h;h=801485e6f627fb9d20c965ea466834dcb72764e4;hp=a6835bfc9f7ce7db8ad05924d08aed353a763bd3;hb=fd2d79da502acb8dcb4589413b7f529c762997f1;hpb=b3abedbd3dbfa1d6362c028241142d2f7a850ddf diff --git a/src/ttrss.h b/src/ttrss.h index a6835bf..801485e 100644 --- a/src/ttrss.h +++ b/src/ttrss.h @@ -21,6 +21,9 @@ #define _TTRSS_H_ struct headline { + int id; + + char *url; char *title; char *excerpt; char *content; @@ -31,12 +34,14 @@ struct feed { char *title; char *url; int id; + int unread; struct headline **headlines; }; void ttrss_login(const char *url, const char *user, const char *password); struct feed **ttrss_get_feeds(); -struct headline **ttrss_get_headlines(int); +struct headline **ttrss_get_headlines(struct feed *); +const char *ttrss_get_headline_content(struct headline *); #endif