diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-20 19:10:47 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-20 19:10:47 +0000 |
commit | 58e5ea7bf98f8468f869522c89ffe961112bd98d (patch) | |
tree | 69cd89a853c4f315247e5724c6005a3d9e5d1e4e /protocols/FacebookRM/src/json.h | |
parent | 9f98d623506e7b7a86561152807526aeb2bb5be3 (diff) |
Facebook: Various code improvements (as reported by Coverity analyser); version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@11546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.h')
-rw-r--r-- | protocols/FacebookRM/src/json.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/FacebookRM/src/json.h b/protocols/FacebookRM/src/json.h index cae57eb412..ed224cd805 100644 --- a/protocols/FacebookRM/src/json.h +++ b/protocols/FacebookRM/src/json.h @@ -30,15 +30,15 @@ class facebook_json_parser {
public:
FacebookProto* proto;
- int parse_buddy_list(void*, List::List< facebook_user >*);
- int parse_friends(void*, std::map< std::string, facebook_user* >*);
- int parse_notifications(void*, std::map< std::string, facebook_notification* >*);
- int parse_messages(void*, std::vector< facebook_message* >*, std::map< std::string, facebook_notification* >*, bool inboxOnly);
- int parse_unread_threads(void*, std::vector< std::string >*, bool inboxOnly);
- int parse_thread_messages(void*, std::vector< facebook_message* >*, std::map< std::string, facebook_chatroom* >*, bool unreadOnly, bool inboxOnly);
- int parse_thread_info(void* data, std::string* user_id);
- int parse_user_info(void* data, facebook_user* fbu);
- int parse_chat_info(void* data, facebook_chatroom* fbc);
+ int parse_buddy_list(std::string*, List::List< facebook_user >*);
+ int parse_friends(std::string*, std::map< std::string, facebook_user* >*);
+ int parse_notifications(std::string*, std::map< std::string, facebook_notification* >*);
+ int parse_messages(std::string*, std::vector< facebook_message* >*, std::map< std::string, facebook_notification* >*, bool inboxOnly);
+ int parse_unread_threads(std::string*, std::vector< std::string >*, bool inboxOnly);
+ int parse_thread_messages(std::string*, std::vector< facebook_message* >*, std::map< std::string, facebook_chatroom* >*, bool unreadOnly, bool inboxOnly);
+ int parse_thread_info(std::string* data, std::string* user_id);
+ int parse_user_info(std::string* data, facebook_user* fbu);
+ int parse_chat_info(std::string* data, facebook_chatroom* fbc);
facebook_json_parser(FacebookProto* proto)
{
|