{"action":"created","comment":{"url":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/comments/54528596","id":54528596,"diff_hunk":"@@ -0,0 +1,140 @@\n+/*\n+ * Copyright (C) 2014 Glyptodon LLC\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in\n+ * all copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+ * THE SOFTWARE.\n+ */\n+\n+#ifndef _GUAC_USER_FNTYPES_H\n+#define _GUAC_USER_FNTYPES_H\n+\n+/**\n+ * Function type definitions related to the guac_user object.\n+ *\n+ * @file user-fntypes.h\n+ */\n+\n+#include \"object-types.h\"\n+#include \"protocol-types.h\"\n+#include \"stream-types.h\"\n+#include \"timestamp-types.h\"\n+#include \"user-types.h\"\n+\n+/**\n+ * Callback which relates to a single guac_user at a time, along with arbitrary\n+ * data.\n+ *\n+ * @see guac_client_foreach_user()\n+ * @see guac_client_for_owner()\n+ */\n+typedef void* guac_user_callback(guac_user* user, void* data);\n+\n+/**\n+ * Handler for Guacamole mouse events.\n+ */\n+typedef int guac_user_mouse_handler(guac_user* user, int x, int y,\n+        int button_mask);\n+\n+/**\n+ * Handler for Guacamole key events.\n+ */\n+typedef int guac_user_key_handler(guac_user* user, int keysym, int pressed);\n+\n+/**\n+ * Handler for Guacamole clipboard events.\n+ */\n+typedef int guac_user_clipboard_handler(guac_user* user, guac_stream* stream,\n+        char* mimetype);\n+\n+/**\n+ * Handler for Guacamole screen size events.\n+ */\n+typedef int guac_user_size_handler(guac_user* user,\n+        int width, int height);\n+\n+/**\n+ * Handler for Guacamole file transfer events.\n+ */\n+typedef int guac_user_file_handler(guac_user* user, guac_stream* stream,\n+        char* mimetype, char* filename);\n+\n+/**\n+ * Handler for Guacamole pipe events.\n+ */\n+typedef int guac_user_pipe_handler(guac_user* user, guac_stream* stream,","path":"src/libguac/guacamole/user-fntypes.h","position":79,"original_position":79,"commit_id":"3eec831d7cf1268e554fd804d736e64ec8acd8c4","original_commit_id":"3eec831d7cf1268e554fd804d736e64ec8acd8c4","user":{"login":"jmuehlner","id":4633119,"avatar_url":"https://avatars.githubusercontent.com/u/4633119?v=3","gravatar_id":"","url":"https://api.github.com/users/jmuehlner","html_url":"https://github.com/jmuehlner","followers_url":"https://api.github.com/users/jmuehlner/followers","following_url":"https://api.github.com/users/jmuehlner/following{/other_user}","gists_url":"https://api.github.com/users/jmuehlner/gists{/gist_id}","starred_url":"https://api.github.com/users/jmuehlner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmuehlner/subscriptions","organizations_url":"https://api.github.com/users/jmuehlner/orgs","repos_url":"https://api.github.com/users/jmuehlner/repos","events_url":"https://api.github.com/users/jmuehlner/events{/privacy}","received_events_url":"https://api.github.com/users/jmuehlner/received_events","type":"User","site_admin":false},"body":"Missing parameter comments","created_at":"2016-03-01T06:48:51Z","updated_at":"2016-03-01T06:48:51Z","html_url":"https://github.com/glyptodon/guacamole-server/pull/109#discussion_r54528596","pull_request_url":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/comments/54528596"},"html":{"href":"https://github.com/glyptodon/guacamole-server/pull/109#discussion_r54528596"},"pull_request":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/109","id":61197356,"html_url":"https://github.com/glyptodon/guacamole-server/pull/109","diff_url":"https://github.com/glyptodon/guacamole-server/pull/109.diff","patch_url":"https://github.com/glyptodon/guacamole-server/pull/109.patch","issue_url":"https://api.github.com/repos/glyptodon/guacamole-server/issues/109","number":109,"state":"open","locked":false,"title":"GUAC-1389: Refactor libguac to allow screen sharing.","user":{"login":"mike-jumper","id":4632905,"avatar_url":"https://avatars.githubusercontent.com/u/4632905?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-jumper","html_url":"https://github.com/mike-jumper","followers_url":"https://api.github.com/users/mike-jumper/followers","following_url":"https://api.github.com/users/mike-jumper/following{/other_user}","gists_url":"https://api.github.com/users/mike-jumper/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-jumper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-jumper/subscriptions","organizations_url":"https://api.github.com/users/mike-jumper/orgs","repos_url":"https://api.github.com/users/mike-jumper/repos","events_url":"https://api.github.com/users/mike-jumper/events{/privacy}","received_events_url":"https://api.github.com/users/mike-jumper/received_events","type":"User","site_admin":false},"body":"Parts of the build that will break have been disabled temporarily.","created_at":"2016-03-01T06:02:50Z","updated_at":"2016-03-01T06:48:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f59f653eb44153959fbea1d6701d2416685d6bd8","assignee":{"login":"jmuehlner","id":4633119,"avatar_url":"https://avatars.githubusercontent.com/u/4633119?v=3","gravatar_id":"","url":"https://api.github.com/users/jmuehlner","html_url":"https://github.com/jmuehlner","followers_url":"https://api.github.com/users/jmuehlner/followers","following_url":"https://api.github.com/users/jmuehlner/following{/other_user}","gists_url":"https://api.github.com/users/jmuehlner/gists{/gist_id}","starred_url":"https://api.github.com/users/jmuehlner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmuehlner/subscriptions","organizations_url":"https://api.github.com/users/jmuehlner/orgs","repos_url":"https://api.github.com/users/jmuehlner/repos","events_url":"https://api.github.com/users/jmuehlner/events{/privacy}","received_events_url":"https://api.github.com/users/jmuehlner/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/109/commits","review_comments_url":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/109/comments","review_comment_url":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/glyptodon/guacamole-server/issues/109/comments","statuses_url":"https://api.github.com/repos/glyptodon/guacamole-server/statuses/3eec831d7cf1268e554fd804d736e64ec8acd8c4","head":{"label":"glyptodon:fake-merge-screen-sharing-001-libguac","ref":"fake-merge-screen-sharing-001-libguac","sha":"3eec831d7cf1268e554fd804d736e64ec8acd8c4","user":{"login":"glyptodon","id":4632960,"avatar_url":"https://avatars.githubusercontent.com/u/4632960?v=3","gravatar_id":"","url":"https://api.github.com/users/glyptodon","html_url":"https://github.com/glyptodon","followers_url":"https://api.github.com/users/glyptodon/followers","following_url":"https://api.github.com/users/glyptodon/following{/other_user}","gists_url":"https://api.github.com/users/glyptodon/gists{/gist_id}","starred_url":"https://api.github.com/users/glyptodon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyptodon/subscriptions","organizations_url":"https://api.github.com/users/glyptodon/orgs","repos_url":"https://api.github.com/users/glyptodon/repos","events_url":"https://api.github.com/users/glyptodon/events{/privacy}","received_events_url":"https://api.github.com/users/glyptodon/received_events","type":"Organization","site_admin":false},"repo":{"id":10532458,"name":"guacamole-server","full_name":"glyptodon/guacamole-server","owner":{"login":"glyptodon","id":4632960,"avatar_url":"https://avatars.githubusercontent.com/u/4632960?v=3","gravatar_id":"","url":"https://api.github.com/users/glyptodon","html_url":"https://github.com/glyptodon","followers_url":"https://api.github.com/users/glyptodon/followers","following_url":"https://api.github.com/users/glyptodon/following{/other_user}","gists_url":"https://api.github.com/users/glyptodon/gists{/gist_id}","starred_url":"https://api.github.com/users/glyptodon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyptodon/subscriptions","organizations_url":"https://api.github.com/users/glyptodon/orgs","repos_url":"https://api.github.com/users/glyptodon/repos","events_url":"https://api.github.com/users/glyptodon/events{/privacy}","received_events_url":"https://api.github.com/users/glyptodon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/glyptodon/guacamole-server","description":"The server-side, native components that form the Guacamole proxy.","fork":false,"url":"https://api.github.com/repos/glyptodon/guacamole-server","forks_url":"https://api.github.com/repos/glyptodon/guacamole-server/forks","keys_url":"https://api.github.com/repos/glyptodon/guacamole-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glyptodon/guacamole-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glyptodon/guacamole-server/teams","hooks_url":"https://api.github.com/repos/glyptodon/guacamole-server/hooks","issue_events_url":"https://api.github.com/repos/glyptodon/guacamole-server/issues/events{/number}","events_url":"https://api.github.com/repos/glyptodon/guacamole-server/events","assignees_url":"https://api.github.com/repos/glyptodon/guacamole-server/assignees{/user}","branches_url":"https://api.github.com/repos/glyptodon/guacamole-server/branches{/branch}","tags_url":"https://api.github.com/repos/glyptodon/guacamole-server/tags","blobs_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glyptodon/guacamole-server/statuses/{sha}","languages_url":"https://api.github.com/repos/glyptodon/guacamole-server/languages","stargazers_url":"https://api.github.com/repos/glyptodon/guacamole-server/stargazers","contributors_url":"https://api.github.com/repos/glyptodon/guacamole-server/contributors","subscribers_url":"https://api.github.com/repos/glyptodon/guacamole-server/subscribers","subscription_url":"https://api.github.com/repos/glyptodon/guacamole-server/subscription","commits_url":"https://api.github.com/repos/glyptodon/guacamole-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/glyptodon/guacamole-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/glyptodon/guacamole-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/glyptodon/guacamole-server/contents/{+path}","compare_url":"https://api.github.com/repos/glyptodon/guacamole-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glyptodon/guacamole-server/merges","archive_url":"https://api.github.com/repos/glyptodon/guacamole-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glyptodon/guacamole-server/downloads","issues_url":"https://api.github.com/repos/glyptodon/guacamole-server/issues{/number}","pulls_url":"https://api.github.com/repos/glyptodon/guacamole-server/pulls{/number}","milestones_url":"https://api.github.com/repos/glyptodon/guacamole-server/milestones{/number}","notifications_url":"https://api.github.com/repos/glyptodon/guacamole-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glyptodon/guacamole-server/labels{/name}","releases_url":"https://api.github.com/repos/glyptodon/guacamole-server/releases{/id}","deployments_url":"https://api.github.com/repos/glyptodon/guacamole-server/deployments","created_at":"2013-06-06T17:40:59Z","updated_at":"2016-02-28T21:26:52Z","pushed_at":"2016-03-01T06:02:50Z","git_url":"git://github.com/glyptodon/guacamole-server.git","ssh_url":"git@github.com:glyptodon/guacamole-server.git","clone_url":"https://github.com/glyptodon/guacamole-server.git","svn_url":"https://github.com/glyptodon/guacamole-server","homepage":"http://guac-dev.org/","size":7066,"stargazers_count":821,"watchers_count":821,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":3,"forks":128,"open_issues":3,"watchers":821,"default_branch":"master"}},"base":{"label":"glyptodon:master","ref":"master","sha":"e8cd669be286aa1a325fd7c2c9c321371b4e9bad","user":{"login":"glyptodon","id":4632960,"avatar_url":"https://avatars.githubusercontent.com/u/4632960?v=3","gravatar_id":"","url":"https://api.github.com/users/glyptodon","html_url":"https://github.com/glyptodon","followers_url":"https://api.github.com/users/glyptodon/followers","following_url":"https://api.github.com/users/glyptodon/following{/other_user}","gists_url":"https://api.github.com/users/glyptodon/gists{/gist_id}","starred_url":"https://api.github.com/users/glyptodon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyptodon/subscriptions","organizations_url":"https://api.github.com/users/glyptodon/orgs","repos_url":"https://api.github.com/users/glyptodon/repos","events_url":"https://api.github.com/users/glyptodon/events{/privacy}","received_events_url":"https://api.github.com/users/glyptodon/received_events","type":"Organization","site_admin":false},"repo":{"id":10532458,"name":"guacamole-server","full_name":"glyptodon/guacamole-server","owner":{"login":"glyptodon","id":4632960,"avatar_url":"https://avatars.githubusercontent.com/u/4632960?v=3","gravatar_id":"","url":"https://api.github.com/users/glyptodon","html_url":"https://github.com/glyptodon","followers_url":"https://api.github.com/users/glyptodon/followers","following_url":"https://api.github.com/users/glyptodon/following{/other_user}","gists_url":"https://api.github.com/users/glyptodon/gists{/gist_id}","starred_url":"https://api.github.com/users/glyptodon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyptodon/subscriptions","organizations_url":"https://api.github.com/users/glyptodon/orgs","repos_url":"https://api.github.com/users/glyptodon/repos","events_url":"https://api.github.com/users/glyptodon/events{/privacy}","received_events_url":"https://api.github.com/users/glyptodon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/glyptodon/guacamole-server","description":"The server-side, native components that form the Guacamole proxy.","fork":false,"url":"https://api.github.com/repos/glyptodon/guacamole-server","forks_url":"https://api.github.com/repos/glyptodon/guacamole-server/forks","keys_url":"https://api.github.com/repos/glyptodon/guacamole-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glyptodon/guacamole-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glyptodon/guacamole-server/teams","hooks_url":"https://api.github.com/repos/glyptodon/guacamole-server/hooks","issue_events_url":"https://api.github.com/repos/glyptodon/guacamole-server/issues/events{/number}","events_url":"https://api.github.com/repos/glyptodon/guacamole-server/events","assignees_url":"https://api.github.com/repos/glyptodon/guacamole-server/assignees{/user}","branches_url":"https://api.github.com/repos/glyptodon/guacamole-server/branches{/branch}","tags_url":"https://api.github.com/repos/glyptodon/guacamole-server/tags","blobs_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glyptodon/guacamole-server/statuses/{sha}","languages_url":"https://api.github.com/repos/glyptodon/guacamole-server/languages","stargazers_url":"https://api.github.com/repos/glyptodon/guacamole-server/stargazers","contributors_url":"https://api.github.com/repos/glyptodon/guacamole-server/contributors","subscribers_url":"https://api.github.com/repos/glyptodon/guacamole-server/subscribers","subscription_url":"https://api.github.com/repos/glyptodon/guacamole-server/subscription","commits_url":"https://api.github.com/repos/glyptodon/guacamole-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/glyptodon/guacamole-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/glyptodon/guacamole-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/glyptodon/guacamole-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/glyptodon/guacamole-server/contents/{+path}","compare_url":"https://api.github.com/repos/glyptodon/guacamole-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glyptodon/guacamole-server/merges","archive_url":"https://api.github.com/repos/glyptodon/guacamole-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glyptodon/guacamole-server/downloads","issues_url":"https://api.github.com/repos/glyptodon/guacamole-server/issues{/number}","pulls_url":"https://api.github.com/repos/glyptodon/guacamole-server/pulls{/number}","milestones_url":"https://api.github.com/repos/glyptodon/guacamole-server/milestones{/number}","notifications_url":"https://api.github.com/repos/glyptodon/guacamole-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glyptodon/guacamole-server/labels{/name}","releases_url":"https://api.github.com/repos/glyptodon/guacamole-server/releases{/id}","deployments_url":"https://api.github.com/repos/glyptodon/guacamole-server/deployments","created_at":"2013-06-06T17:40:59Z","updated_at":"2016-02-28T21:26:52Z","pushed_at":"2016-03-01T06:02:50Z","git_url":"git://github.com/glyptodon/guacamole-server.git","ssh_url":"git@github.com:glyptodon/guacamole-server.git","clone_url":"https://github.com/glyptodon/guacamole-server.git","svn_url":"https://github.com/glyptodon/guacamole-server","homepage":"http://guac-dev.org/","size":7066,"stargazers_count":821,"watchers_count":821,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":3,"forks":128,"open_issues":3,"watchers":821,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/109"},"html":{"href":"https://github.com/glyptodon/guacamole-server/pull/109"},"issue":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/issues/109"},"comments":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/glyptodon/guacamole-server/statuses/3eec831d7cf1268e554fd804d736e64ec8acd8c4"}}}}