X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Fttrss.h;h=dcc68f1388b9d1779344f4e97f3555c1f9921f46;hp=28370f3c415e507cc11d67cadd6a546e0b81fc24;hb=ba998dd7b5a61fc2a1fa25538dc370eff0368c2c;hpb=48e7c0631ee3371b5cf6503417b4ec1c2b733176 diff --git a/src/ttrss.h b/src/ttrss.h index 28370f3..dcc68f1 100644 --- a/src/ttrss.h +++ b/src/ttrss.h @@ -26,9 +26,11 @@ 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();