X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fttrss.h;h=8fbe1486d861a848da14b9b12c1ef6aae028e11a;hb=cc1552eda67ca81b48eb611535719f4548c00c9c;hp=71b3cef780f50ca1d0b5d55447ae37bff5d28f7e;hpb=3b14915e76fc7a05512e0523afd39556c0a14567;p=prss.git diff --git a/src/ttrss.h b/src/ttrss.h index 71b3cef..8fbe148 100644 --- a/src/ttrss.h +++ b/src/ttrss.h @@ -24,10 +24,13 @@ void ttrss_set_config(const char *url, const char *user, const char *pwd); struct feed **ttrss_get_feeds(); -struct headline **ttrss_get_headlines(struct feed *); +struct feed *ttrss_get_feed(int id); +struct headline **ttrss_feed_get_headlines(struct feed *); const char *ttrss_get_headline_content(struct headline *); void ttrss_set_article_unread(int id, int unread); +struct headline *ttrss_get_headline(int id); + void ttrs_set_config(const char *url, const char *user, const char *pwd); int ws_open_session();