(no commit message)
[prss.git] / src / ttrss_ws.h
index a6d7e92..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);
@@ -32,5 +33,6 @@ 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