(no commit message)
[prss.git] / src / ttrss_ws.h
index 770b706..a6d7e92 100644 (file)
@@ -23,6 +23,7 @@
 #include "ttrss.h"
 
 void ws_init(const char *url, const char *user, const char *pwd);
+int ws_open_session();
 
 struct json_object *ws_request_new(const char *op);
 struct json_object *ws_execute(struct json_object *rq);
@@ -30,5 +31,6 @@ struct json_object *ws_execute(struct json_object *rq);
 struct feed **ws_update_feeds(struct feed **feeds);
 int ws_update_headlines(struct feed *feed);
 char *ws_get_article_content(int id);
+void ws_set_article_unread(int id, int unread);
 
 #endif