X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Fttrss.h;h=f200e599019c506b98b8f0ea00da9bd1a93f557c;hp=817be41754fbed6291a5fc9b396e07a25f0c55a8;hb=1070b8de5c6cdf5e5958675a1b90f0af3e3f4688;hpb=4c8273864b951d26b002c8f2ec6e92a9a13799b6 diff --git a/src/ttrss.h b/src/ttrss.h index 817be41..f200e59 100644 --- a/src/ttrss.h +++ b/src/ttrss.h @@ -39,10 +39,13 @@ struct feed { 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(struct feed *); const char *ttrss_get_headline_content(struct headline *); void ttrss_set_article_unread(int id, int unread); + +void ws_init(const char *url, const char *user, const char *pwd); +int ws_open_session(); + #endif