X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Fttrss.h;h=4e9f3a51d4c066c6b8099ae63f1aac731ef270c7;hp=d23c6e230bc04cee952f6237c8fa3a820f27a4dc;hb=HEAD;hpb=4e8c884a282bcf16f486d06164ee187faa8a2610 diff --git a/src/ttrss.h b/src/ttrss.h index d23c6e2..4e9f3a5 100644 --- a/src/ttrss.h +++ b/src/ttrss.h @@ -24,11 +24,15 @@ void ttrss_set_config(const char *url, const char *user, const char *pwd); struct feed **ttrss_get_feeds(); +struct feed *ttrss_get_feed(int id); struct headline **ttrss_feed_get_headlines(struct feed *); -const char *ttrss_get_headline_content(struct headline *); +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(); + +void ttrs_download_headline_content(struct feed **); #endif