X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fttrss.h;h=817be41754fbed6291a5fc9b396e07a25f0c55a8;hb=1087cf87f08c0311004e47b05cae0f6649d835f7;hp=4c7f67e75ca6a0190d6d7a8782cacf50034989f7;hpb=6ad7426a45d5a4e76cbd67d2759b9f5e236443f6;p=prss.git diff --git a/src/ttrss.h b/src/ttrss.h index 4c7f67e..817be41 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; @@ -39,5 +42,7 @@ struct feed { void ttrss_login(const char *url, const char *user, const char *password); struct feed **ttrss_get_feeds(); struct headline **ttrss_get_headlines(struct feed *); +const char *ttrss_get_headline_content(struct headline *); +void ttrss_set_article_unread(int id, int unread); #endif