X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Fttrss.h;h=4c7f67e75ca6a0190d6d7a8782cacf50034989f7;hp=20243d20af8c2e66952a95931961a486f5ca74a9;hb=6ad7426a45d5a4e76cbd67d2759b9f5e236443f6;hpb=a7e89c999775c195f8b7759f4c283fcedb041a9e;ds=sidebyside diff --git a/src/ttrss.h b/src/ttrss.h index 20243d2..4c7f67e 100644 --- a/src/ttrss.h +++ b/src/ttrss.h @@ -24,18 +24,20 @@ struct headline { char *title; char *excerpt; char *content; + int unread; }; 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 *); #endif