{"action":"closed","number":8854,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8854","id":178428481,"html_url":"https://github.com/RIOT-OS/RIOT/pull/8854","diff_url":"https://github.com/RIOT-OS/RIOT/pull/8854.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/8854.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/8854","number":8854,"state":"closed","locked":false,"title":"net/gcoap: Internalize definition of state struct","user":{"login":"kb2ma","id":2944058,"avatar_url":"https://avatars0.githubusercontent.com/u/2944058?v=4","gravatar_id":"","url":"https://api.github.com/users/kb2ma","html_url":"https://github.com/kb2ma","followers_url":"https://api.github.com/users/kb2ma/followers","following_url":"https://api.github.com/users/kb2ma/following{/other_user}","gists_url":"https://api.github.com/users/kb2ma/gists{/gist_id}","starred_url":"https://api.github.com/users/kb2ma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kb2ma/subscriptions","organizations_url":"https://api.github.com/users/kb2ma/orgs","repos_url":"https://api.github.com/users/kb2ma/repos","events_url":"https://api.github.com/users/kb2ma/events{/privacy}","received_events_url":"https://api.github.com/users/kb2ma/received_events","type":"User","site_admin":false},"body":"### Contribution description\r\n\r\nMoves the definition of gcoap_state_t struct from gcoap.h to gcoap.c. Use of the struct is completely internal to the implementation, so the external definition is unnecessary. As shown in #8767, the external definition is painful for C++ users due to the use of atomic headers.\r\n\r\n### Issues/PRs references\r\n\r\nPartially addresses #8767.","created_at":"2018-03-29T20:07:56Z","updated_at":"2018-03-31T11:15:01Z","closed_at":"2018-03-31T11:15:01Z","merged_at":"2018-03-31T11:15:01Z","merge_commit_sha":"c23d85ab3ab40bbff3245f6ca08e760fe7247fda","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":214816571,"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Ready%20for%20CI%20build","name":"Ready for CI build","color":"bfdadc","default":false},{"id":122032371,"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/cleanup","name":"cleanup","color":"FF7c7c","default":false},{"id":86443543,"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/network","name":"network","color":"8f00cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8854/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8854/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/8854/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/3da9145018c5054343b957a17178661b2e29b3a3","head":{"label":"kb2ma:gcoap/internalize_gcoap_state","ref":"gcoap/internalize_gcoap_state","sha":"3da9145018c5054343b957a17178661b2e29b3a3","user":{"login":"kb2ma","id":2944058,"avatar_url":"https://avatars0.githubusercontent.com/u/2944058?v=4","gravatar_id":"","url":"https://api.github.com/users/kb2ma","html_url":"https://github.com/kb2ma","followers_url":"https://api.github.com/users/kb2ma/followers","following_url":"https://api.github.com/users/kb2ma/following{/other_user}","gists_url":"https://api.github.com/users/kb2ma/gists{/gist_id}","starred_url":"https://api.github.com/users/kb2ma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kb2ma/subscriptions","organizations_url":"https://api.github.com/users/kb2ma/orgs","repos_url":"https://api.github.com/users/kb2ma/repos","events_url":"https://api.github.com/users/kb2ma/events{/privacy}","received_events_url":"https://api.github.com/users/kb2ma/received_events","type":"User","site_admin":false},"repo":{"id":39065415,"name":"RIOT","full_name":"kb2ma/RIOT","owner":{"login":"kb2ma","id":2944058,"avatar_url":"https://avatars0.githubusercontent.com/u/2944058?v=4","gravatar_id":"","url":"https://api.github.com/users/kb2ma","html_url":"https://github.com/kb2ma","followers_url":"https://api.github.com/users/kb2ma/followers","following_url":"https://api.github.com/users/kb2ma/following{/other_user}","gists_url":"https://api.github.com/users/kb2ma/gists{/gist_id}","starred_url":"https://api.github.com/users/kb2ma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kb2ma/subscriptions","organizations_url":"https://api.github.com/users/kb2ma/orgs","repos_url":"https://api.github.com/users/kb2ma/repos","events_url":"https://api.github.com/users/kb2ma/events{/privacy}","received_events_url":"https://api.github.com/users/kb2ma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kb2ma/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/kb2ma/RIOT","forks_url":"https://api.github.com/repos/kb2ma/RIOT/forks","keys_url":"https://api.github.com/repos/kb2ma/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kb2ma/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kb2ma/RIOT/teams","hooks_url":"https://api.github.com/repos/kb2ma/RIOT/hooks","issue_events_url":"https://api.github.com/repos/kb2ma/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/kb2ma/RIOT/events","assignees_url":"https://api.github.com/repos/kb2ma/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/kb2ma/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/kb2ma/RIOT/tags","blobs_url":"https://api.github.com/repos/kb2ma/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kb2ma/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kb2ma/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/kb2ma/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kb2ma/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/kb2ma/RIOT/languages","stargazers_url":"https://api.github.com/repos/kb2ma/RIOT/stargazers","contributors_url":"https://api.github.com/repos/kb2ma/RIOT/contributors","subscribers_url":"https://api.github.com/repos/kb2ma/RIOT/subscribers","subscription_url":"https://api.github.com/repos/kb2ma/RIOT/subscription","commits_url":"https://api.github.com/repos/kb2ma/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/kb2ma/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/kb2ma/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/kb2ma/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/kb2ma/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/kb2ma/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kb2ma/RIOT/merges","archive_url":"https://api.github.com/repos/kb2ma/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kb2ma/RIOT/downloads","issues_url":"https://api.github.com/repos/kb2ma/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/kb2ma/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/kb2ma/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/kb2ma/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kb2ma/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/kb2ma/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/kb2ma/RIOT/deployments","created_at":"2015-07-14T09:15:57Z","updated_at":"2017-01-14T11:53:11Z","pushed_at":"2018-03-31T11:06:40Z","git_url":"git://github.com/kb2ma/RIOT.git","ssh_url":"git@github.com:kb2ma/RIOT.git","clone_url":"https://github.com/kb2ma/RIOT.git","svn_url":"https://github.com/kb2ma/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":50397,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1"},"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"118b14a19997fa0fbf2101e1962cef663446e451","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars2.githubusercontent.com/u/3079480?v=4","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars2.githubusercontent.com/u/3079480?v=4","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","deployments_url":"https://api.github.com/repos/RIOT-OS/RIOT/deployments","created_at":"2012-12-29T20:38:40Z","updated_at":"2018-03-30T09:50:55Z","pushed_at":"2018-03-31T11:15:01Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":50414,"stargazers_count":1710,"watchers_count":1710,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1025,"mirror_url":null,"archived":false,"open_issues_count":719,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1"},"forks":1025,"open_issues":719,"watchers":1710,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8854"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/8854"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/8854"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/8854/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8854/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/8854/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/3da9145018c5054343b957a17178661b2e29b3a3"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kb2ma","id":2944058,"avatar_url":"https://avatars0.githubusercontent.com/u/2944058?v=4","gravatar_id":"","url":"https://api.github.com/users/kb2ma","html_url":"https://github.com/kb2ma","followers_url":"https://api.github.com/users/kb2ma/followers","following_url":"https://api.github.com/users/kb2ma/following{/other_user}","gists_url":"https://api.github.com/users/kb2ma/gists{/gist_id}","starred_url":"https://api.github.com/users/kb2ma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kb2ma/subscriptions","organizations_url":"https://api.github.com/users/kb2ma/orgs","repos_url":"https://api.github.com/users/kb2ma/repos","events_url":"https://api.github.com/users/kb2ma/events{/privacy}","received_events_url":"https://api.github.com/users/kb2ma/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":24,"deletions":24,"changed_files":2}}
{"actor":{"display_login":"kb2ma"}}