{"action":"created","comment":{"url":"https://api.github.com/repos/dvor/objcTox/pulls/comments/26599782","id":26599782,"diff_hunk":"@@ -113,4 +113,25 @@\n  */\n - (void)tox:(OCTTox *)tox fileSendRequestWithFileName:(NSString *)fileName friendNumber:(int32_t)friendNumber fileSize:(uint64_t)fileSize;\n \n+/**\n+ * Set the callback for accepting or refusig connection while sending or receiving file\n+ *\n+ * @param friendNumber Friend number to send/receive file\n+ * @param sendOrReceive is 0 if we want the control packet to target a file we are currently sending, 1 if it targets a file we are\n+ * currently receiving.\n+ * @param fileNumber Number of file to be sent/received\n+ * @param controlType type of file control\n+ * @param pointer on data","path":"Classes/ToxWrapper/OCTToxDelegate.h","position":12,"original_position":12,"commit_id":"34788ce8d73dc5b8880f7ac76b4a5d43f19ff030","original_commit_id":"34788ce8d73dc5b8880f7ac76b4a5d43f19ff030","user":{"login":"dvor","id":1132979,"avatar_url":"https://avatars.githubusercontent.com/u/1132979?v=3","gravatar_id":"","url":"https://api.github.com/users/dvor","html_url":"https://github.com/dvor","followers_url":"https://api.github.com/users/dvor/followers","following_url":"https://api.github.com/users/dvor/following{/other_user}","gists_url":"https://api.github.com/users/dvor/gists{/gist_id}","starred_url":"https://api.github.com/users/dvor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvor/subscriptions","organizations_url":"https://api.github.com/users/dvor/orgs","repos_url":"https://api.github.com/users/dvor/repos","events_url":"https://api.github.com/users/dvor/events{/privacy}","received_events_url":"https://api.github.com/users/dvor/received_events","type":"User","site_admin":false},"body":"@param data Pointer on data","created_at":"2015-03-17T18:11:50Z","updated_at":"2015-03-17T18:11:50Z","html_url":"https://github.com/dvor/objcTox/pull/8#discussion_r26599782","pull_request_url":"https://api.github.com/repos/dvor/objcTox/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/dvor/objcTox/pulls/comments/26599782"},"html":{"href":"https://github.com/dvor/objcTox/pull/8#discussion_r26599782"},"pull_request":{"href":"https://api.github.com/repos/dvor/objcTox/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/dvor/objcTox/pulls/8","id":31278877,"html_url":"https://github.com/dvor/objcTox/pull/8","diff_url":"https://github.com/dvor/objcTox/pull/8.diff","patch_url":"https://github.com/dvor/objcTox/pull/8.patch","issue_url":"https://api.github.com/repos/dvor/objcTox/issues/8","number":8,"state":"open","locked":false,"title":"Added wrappers for the last functions for sending and receiving files.","user":{"login":"DanYanMan","id":3930391,"avatar_url":"https://avatars.githubusercontent.com/u/3930391?v=3","gravatar_id":"","url":"https://api.github.com/users/DanYanMan","html_url":"https://github.com/DanYanMan","followers_url":"https://api.github.com/users/DanYanMan/followers","following_url":"https://api.github.com/users/DanYanMan/following{/other_user}","gists_url":"https://api.github.com/users/DanYanMan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanYanMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanYanMan/subscriptions","organizations_url":"https://api.github.com/users/DanYanMan/orgs","repos_url":"https://api.github.com/users/DanYanMan/repos","events_url":"https://api.github.com/users/DanYanMan/events{/privacy}","received_events_url":"https://api.github.com/users/DanYanMan/received_events","type":"User","site_admin":false},"body":" Not sure that is correct realization, need feedback.","created_at":"2015-03-16T20:00:55Z","updated_at":"2015-03-17T18:11:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ddd8d8021e7061537791e73958d93a04d5632fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dvor/objcTox/pulls/8/commits","review_comments_url":"https://api.github.com/repos/dvor/objcTox/pulls/8/comments","review_comment_url":"https://api.github.com/repos/dvor/objcTox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dvor/objcTox/issues/8/comments","statuses_url":"https://api.github.com/repos/dvor/objcTox/statuses/34788ce8d73dc5b8880f7ac76b4a5d43f19ff030","head":{"label":"DanYanMan:master","ref":"master","sha":"34788ce8d73dc5b8880f7ac76b4a5d43f19ff030","user":{"login":"DanYanMan","id":3930391,"avatar_url":"https://avatars.githubusercontent.com/u/3930391?v=3","gravatar_id":"","url":"https://api.github.com/users/DanYanMan","html_url":"https://github.com/DanYanMan","followers_url":"https://api.github.com/users/DanYanMan/followers","following_url":"https://api.github.com/users/DanYanMan/following{/other_user}","gists_url":"https://api.github.com/users/DanYanMan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanYanMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanYanMan/subscriptions","organizations_url":"https://api.github.com/users/DanYanMan/orgs","repos_url":"https://api.github.com/users/DanYanMan/repos","events_url":"https://api.github.com/users/DanYanMan/events{/privacy}","received_events_url":"https://api.github.com/users/DanYanMan/received_events","type":"User","site_admin":false},"repo":{"id":31981691,"name":"objcTox","full_name":"DanYanMan/objcTox","owner":{"login":"DanYanMan","id":3930391,"avatar_url":"https://avatars.githubusercontent.com/u/3930391?v=3","gravatar_id":"","url":"https://api.github.com/users/DanYanMan","html_url":"https://github.com/DanYanMan","followers_url":"https://api.github.com/users/DanYanMan/followers","following_url":"https://api.github.com/users/DanYanMan/following{/other_user}","gists_url":"https://api.github.com/users/DanYanMan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanYanMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanYanMan/subscriptions","organizations_url":"https://api.github.com/users/DanYanMan/orgs","repos_url":"https://api.github.com/users/DanYanMan/repos","events_url":"https://api.github.com/users/DanYanMan/events{/privacy}","received_events_url":"https://api.github.com/users/DanYanMan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanYanMan/objcTox","description":"Objective-C wrapper for Tox","fork":true,"url":"https://api.github.com/repos/DanYanMan/objcTox","forks_url":"https://api.github.com/repos/DanYanMan/objcTox/forks","keys_url":"https://api.github.com/repos/DanYanMan/objcTox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanYanMan/objcTox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanYanMan/objcTox/teams","hooks_url":"https://api.github.com/repos/DanYanMan/objcTox/hooks","issue_events_url":"https://api.github.com/repos/DanYanMan/objcTox/issues/events{/number}","events_url":"https://api.github.com/repos/DanYanMan/objcTox/events","assignees_url":"https://api.github.com/repos/DanYanMan/objcTox/assignees{/user}","branches_url":"https://api.github.com/repos/DanYanMan/objcTox/branches{/branch}","tags_url":"https://api.github.com/repos/DanYanMan/objcTox/tags","blobs_url":"https://api.github.com/repos/DanYanMan/objcTox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanYanMan/objcTox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanYanMan/objcTox/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanYanMan/objcTox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanYanMan/objcTox/statuses/{sha}","languages_url":"https://api.github.com/repos/DanYanMan/objcTox/languages","stargazers_url":"https://api.github.com/repos/DanYanMan/objcTox/stargazers","contributors_url":"https://api.github.com/repos/DanYanMan/objcTox/contributors","subscribers_url":"https://api.github.com/repos/DanYanMan/objcTox/subscribers","subscription_url":"https://api.github.com/repos/DanYanMan/objcTox/subscription","commits_url":"https://api.github.com/repos/DanYanMan/objcTox/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanYanMan/objcTox/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanYanMan/objcTox/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanYanMan/objcTox/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanYanMan/objcTox/contents/{+path}","compare_url":"https://api.github.com/repos/DanYanMan/objcTox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanYanMan/objcTox/merges","archive_url":"https://api.github.com/repos/DanYanMan/objcTox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanYanMan/objcTox/downloads","issues_url":"https://api.github.com/repos/DanYanMan/objcTox/issues{/number}","pulls_url":"https://api.github.com/repos/DanYanMan/objcTox/pulls{/number}","milestones_url":"https://api.github.com/repos/DanYanMan/objcTox/milestones{/number}","notifications_url":"https://api.github.com/repos/DanYanMan/objcTox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanYanMan/objcTox/labels{/name}","releases_url":"https://api.github.com/repos/DanYanMan/objcTox/releases{/id}","created_at":"2015-03-10T21:03:18Z","updated_at":"2015-03-16T23:46:03Z","pushed_at":"2015-03-16T23:46:03Z","git_url":"git://github.com/DanYanMan/objcTox.git","ssh_url":"git@github.com:DanYanMan/objcTox.git","clone_url":"https://github.com/DanYanMan/objcTox.git","svn_url":"https://github.com/DanYanMan/objcTox","homepage":null,"size":877,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dvor:master","ref":"master","sha":"d83e4d8c34811bcc85209cd1e08988808c473b73","user":{"login":"dvor","id":1132979,"avatar_url":"https://avatars.githubusercontent.com/u/1132979?v=3","gravatar_id":"","url":"https://api.github.com/users/dvor","html_url":"https://github.com/dvor","followers_url":"https://api.github.com/users/dvor/followers","following_url":"https://api.github.com/users/dvor/following{/other_user}","gists_url":"https://api.github.com/users/dvor/gists{/gist_id}","starred_url":"https://api.github.com/users/dvor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvor/subscriptions","organizations_url":"https://api.github.com/users/dvor/orgs","repos_url":"https://api.github.com/users/dvor/repos","events_url":"https://api.github.com/users/dvor/events{/privacy}","received_events_url":"https://api.github.com/users/dvor/received_events","type":"User","site_admin":false},"repo":{"id":31480794,"name":"objcTox","full_name":"dvor/objcTox","owner":{"login":"dvor","id":1132979,"avatar_url":"https://avatars.githubusercontent.com/u/1132979?v=3","gravatar_id":"","url":"https://api.github.com/users/dvor","html_url":"https://github.com/dvor","followers_url":"https://api.github.com/users/dvor/followers","following_url":"https://api.github.com/users/dvor/following{/other_user}","gists_url":"https://api.github.com/users/dvor/gists{/gist_id}","starred_url":"https://api.github.com/users/dvor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvor/subscriptions","organizations_url":"https://api.github.com/users/dvor/orgs","repos_url":"https://api.github.com/users/dvor/repos","events_url":"https://api.github.com/users/dvor/events{/privacy}","received_events_url":"https://api.github.com/users/dvor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dvor/objcTox","description":"Objective-C wrapper for Tox","fork":false,"url":"https://api.github.com/repos/dvor/objcTox","forks_url":"https://api.github.com/repos/dvor/objcTox/forks","keys_url":"https://api.github.com/repos/dvor/objcTox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dvor/objcTox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dvor/objcTox/teams","hooks_url":"https://api.github.com/repos/dvor/objcTox/hooks","issue_events_url":"https://api.github.com/repos/dvor/objcTox/issues/events{/number}","events_url":"https://api.github.com/repos/dvor/objcTox/events","assignees_url":"https://api.github.com/repos/dvor/objcTox/assignees{/user}","branches_url":"https://api.github.com/repos/dvor/objcTox/branches{/branch}","tags_url":"https://api.github.com/repos/dvor/objcTox/tags","blobs_url":"https://api.github.com/repos/dvor/objcTox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dvor/objcTox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dvor/objcTox/git/refs{/sha}","trees_url":"https://api.github.com/repos/dvor/objcTox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dvor/objcTox/statuses/{sha}","languages_url":"https://api.github.com/repos/dvor/objcTox/languages","stargazers_url":"https://api.github.com/repos/dvor/objcTox/stargazers","contributors_url":"https://api.github.com/repos/dvor/objcTox/contributors","subscribers_url":"https://api.github.com/repos/dvor/objcTox/subscribers","subscription_url":"https://api.github.com/repos/dvor/objcTox/subscription","commits_url":"https://api.github.com/repos/dvor/objcTox/commits{/sha}","git_commits_url":"https://api.github.com/repos/dvor/objcTox/git/commits{/sha}","comments_url":"https://api.github.com/repos/dvor/objcTox/comments{/number}","issue_comment_url":"https://api.github.com/repos/dvor/objcTox/issues/comments{/number}","contents_url":"https://api.github.com/repos/dvor/objcTox/contents/{+path}","compare_url":"https://api.github.com/repos/dvor/objcTox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dvor/objcTox/merges","archive_url":"https://api.github.com/repos/dvor/objcTox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dvor/objcTox/downloads","issues_url":"https://api.github.com/repos/dvor/objcTox/issues{/number}","pulls_url":"https://api.github.com/repos/dvor/objcTox/pulls{/number}","milestones_url":"https://api.github.com/repos/dvor/objcTox/milestones{/number}","notifications_url":"https://api.github.com/repos/dvor/objcTox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dvor/objcTox/labels{/name}","releases_url":"https://api.github.com/repos/dvor/objcTox/releases{/id}","created_at":"2015-02-28T23:40:19Z","updated_at":"2015-03-17T09:35:21Z","pushed_at":"2015-03-15T22:48:15Z","git_url":"git://github.com/dvor/objcTox.git","ssh_url":"git@github.com:dvor/objcTox.git","clone_url":"https://github.com/dvor/objcTox.git","svn_url":"https://github.com/dvor/objcTox","homepage":null,"size":1065,"stargazers_count":3,"watchers_count":3,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dvor/objcTox/pulls/8"},"html":{"href":"https://github.com/dvor/objcTox/pull/8"},"issue":{"href":"https://api.github.com/repos/dvor/objcTox/issues/8"},"comments":{"href":"https://api.github.com/repos/dvor/objcTox/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/dvor/objcTox/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/dvor/objcTox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dvor/objcTox/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/dvor/objcTox/statuses/34788ce8d73dc5b8880f7ac76b4a5d43f19ff030"}}}}