(no commit message)
[prss.git] / src / ttrss_ws.h
index 7710af4..cd09241 100644 (file)
@@ -22,7 +22,8 @@
 
 #include "ttrss.h"
 
-void ws_init(const char *url, const char *user, const char *pwd);
+void ws_init();
+void ws_set_config(const char *url, const char *user, const char *pwd);
 int ws_open_session();
 
 struct json_object *ws_request_new(const char *op);
@@ -31,5 +32,7 @@ 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);
+struct json_object *ws_request_new_set_article_unread(int id, int unread);
 
 #endif