{"action":"created","comment":{"url":"https://api.github.com/repos/iotaledger/entangled/pulls/comments/205085369","pull_request_review_id":140282841,"id":205085369,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTA4NTM2OQ==","diff_hunk":"@@ -0,0 +1,32 @@\n+/*\n+ * Copyright (c) 2018 IOTA Stiftung\n+ * https://github.com/iotaledger/entangled\n+ *\n+ * Refer to the LICENSE file for licensing information\n+ */\n+\n+#ifndef __COMMON_NETWORK_CONCURRENT_LIST_NEIGHBOR_H__\n+#define __COMMON_NETWORK_CONCURRENT_LIST_NEIGHBOR_H__\n+\n+#include \"common/network/lists/concurrent_list.h.inc\"\n+#include \"common/network/neighbor.h\"\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+DECLARE_CONCURRENT_LIST_OF(neighbor_t);\n+\n+typedef concurrent_list_of_neighbor_t neighbors_list_t;\n+\n+bool cmp_neighbor(neighbor_t const *const lhs, neighbor_t const *const rhs);\n+bool add_neighbor(neighbors_list_t *const neighbors, char const *const host,\n+                  uint16_t port);","path":"common/network/lists/concurrent_list_neighbor.h","position":24,"original_position":24,"commit_id":"7e599fd80ad102e80133cc4c17e559687d3247b3","original_commit_id":"7e599fd80ad102e80133cc4c17e559687d3247b3","user":{"login":"thibault-martinez","id":3305068,"node_id":"MDQ6VXNlcjMzMDUwNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/3305068?v=4","gravatar_id":"","url":"https://api.github.com/users/thibault-martinez","html_url":"https://github.com/thibault-martinez","followers_url":"https://api.github.com/users/thibault-martinez/followers","following_url":"https://api.github.com/users/thibault-martinez/following{/other_user}","gists_url":"https://api.github.com/users/thibault-martinez/gists{/gist_id}","starred_url":"https://api.github.com/users/thibault-martinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibault-martinez/subscriptions","organizations_url":"https://api.github.com/users/thibault-martinez/orgs","repos_url":"https://api.github.com/users/thibault-martinez/repos","events_url":"https://api.github.com/users/thibault-martinez/events{/privacy}","received_events_url":"https://api.github.com/users/thibault-martinez/received_events","type":"User","site_admin":false},"body":"Const","created_at":"2018-07-25T12:16:30Z","updated_at":"2018-07-25T12:20:31Z","html_url":"https://github.com/iotaledger/entangled/pull/82#discussion_r205085369","pull_request_url":"https://api.github.com/repos/iotaledger/entangled/pulls/82","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/iotaledger/entangled/pulls/comments/205085369"},"html":{"href":"https://github.com/iotaledger/entangled/pull/82#discussion_r205085369"},"pull_request":{"href":"https://api.github.com/repos/iotaledger/entangled/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/iotaledger/entangled/pulls/82","id":203815521,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzODE1NTIx","html_url":"https://github.com/iotaledger/entangled/pull/82","diff_url":"https://github.com/iotaledger/entangled/pull/82.diff","patch_url":"https://github.com/iotaledger/entangled/pull/82.patch","issue_url":"https://api.github.com/repos/iotaledger/entangled/issues/82","number":82,"state":"open","locked":false,"title":"Generic list and neighbors","user":{"login":"thibault-martinez","id":3305068,"node_id":"MDQ6VXNlcjMzMDUwNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/3305068?v=4","gravatar_id":"","url":"https://api.github.com/users/thibault-martinez","html_url":"https://github.com/thibault-martinez","followers_url":"https://api.github.com/users/thibault-martinez/followers","following_url":"https://api.github.com/users/thibault-martinez/following{/other_user}","gists_url":"https://api.github.com/users/thibault-martinez/gists{/gist_id}","starred_url":"https://api.github.com/users/thibault-martinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibault-martinez/subscriptions","organizations_url":"https://api.github.com/users/thibault-martinez/orgs","repos_url":"https://api.github.com/users/thibault-martinez/repos","events_url":"https://api.github.com/users/thibault-martinez/events{/privacy}","received_events_url":"https://api.github.com/users/thibault-martinez/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-25T12:07:28Z","updated_at":"2018-07-25T12:20:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4def052a8c9fbec4bf523849bee92ab9a000cfc","assignee":null,"assignees":[],"requested_reviewers":[{"login":"th0br0","id":30996,"node_id":"MDQ6VXNlcjMwOTk2","avatar_url":"https://avatars0.githubusercontent.com/u/30996?v=4","gravatar_id":"","url":"https://api.github.com/users/th0br0","html_url":"https://github.com/th0br0","followers_url":"https://api.github.com/users/th0br0/followers","following_url":"https://api.github.com/users/th0br0/following{/other_user}","gists_url":"https://api.github.com/users/th0br0/gists{/gist_id}","starred_url":"https://api.github.com/users/th0br0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/th0br0/subscriptions","organizations_url":"https://api.github.com/users/th0br0/orgs","repos_url":"https://api.github.com/users/th0br0/repos","events_url":"https://api.github.com/users/th0br0/events{/privacy}","received_events_url":"https://api.github.com/users/th0br0/received_events","type":"User","site_admin":false},{"login":"tsvisabo","id":37177579,"node_id":"MDQ6VXNlcjM3MTc3NTc5","avatar_url":"https://avatars3.githubusercontent.com/u/37177579?v=4","gravatar_id":"","url":"https://api.github.com/users/tsvisabo","html_url":"https://github.com/tsvisabo","followers_url":"https://api.github.com/users/tsvisabo/followers","following_url":"https://api.github.com/users/tsvisabo/following{/other_user}","gists_url":"https://api.github.com/users/tsvisabo/gists{/gist_id}","starred_url":"https://api.github.com/users/tsvisabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsvisabo/subscriptions","organizations_url":"https://api.github.com/users/tsvisabo/orgs","repos_url":"https://api.github.com/users/tsvisabo/repos","events_url":"https://api.github.com/users/tsvisabo/events{/privacy}","received_events_url":"https://api.github.com/users/tsvisabo/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":969781179,"node_id":"MDU6TGFiZWw5Njk3ODExNzk=","url":"https://api.github.com/repos/iotaledger/entangled/labels/A-common","name":"A-common","color":"d7e102","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/iotaledger/entangled/pulls/82/commits","review_comments_url":"https://api.github.com/repos/iotaledger/entangled/pulls/82/comments","review_comment_url":"https://api.github.com/repos/iotaledger/entangled/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iotaledger/entangled/issues/82/comments","statuses_url":"https://api.github.com/repos/iotaledger/entangled/statuses/7e599fd80ad102e80133cc4c17e559687d3247b3","head":{"label":"thibault-martinez:neighbors","ref":"neighbors","sha":"7e599fd80ad102e80133cc4c17e559687d3247b3","user":{"login":"thibault-martinez","id":3305068,"node_id":"MDQ6VXNlcjMzMDUwNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/3305068?v=4","gravatar_id":"","url":"https://api.github.com/users/thibault-martinez","html_url":"https://github.com/thibault-martinez","followers_url":"https://api.github.com/users/thibault-martinez/followers","following_url":"https://api.github.com/users/thibault-martinez/following{/other_user}","gists_url":"https://api.github.com/users/thibault-martinez/gists{/gist_id}","starred_url":"https://api.github.com/users/thibault-martinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibault-martinez/subscriptions","organizations_url":"https://api.github.com/users/thibault-martinez/orgs","repos_url":"https://api.github.com/users/thibault-martinez/repos","events_url":"https://api.github.com/users/thibault-martinez/events{/privacy}","received_events_url":"https://api.github.com/users/thibault-martinez/received_events","type":"User","site_admin":false},"repo":{"id":137102070,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxMDIwNzA=","name":"entangled","full_name":"thibault-martinez/entangled","owner":{"login":"thibault-martinez","id":3305068,"node_id":"MDQ6VXNlcjMzMDUwNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/3305068?v=4","gravatar_id":"","url":"https://api.github.com/users/thibault-martinez","html_url":"https://github.com/thibault-martinez","followers_url":"https://api.github.com/users/thibault-martinez/followers","following_url":"https://api.github.com/users/thibault-martinez/following{/other_user}","gists_url":"https://api.github.com/users/thibault-martinez/gists{/gist_id}","starred_url":"https://api.github.com/users/thibault-martinez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibault-martinez/subscriptions","organizations_url":"https://api.github.com/users/thibault-martinez/orgs","repos_url":"https://api.github.com/users/thibault-martinez/repos","events_url":"https://api.github.com/users/thibault-martinez/events{/privacy}","received_events_url":"https://api.github.com/users/thibault-martinez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thibault-martinez/entangled","description":null,"fork":true,"url":"https://api.github.com/repos/thibault-martinez/entangled","forks_url":"https://api.github.com/repos/thibault-martinez/entangled/forks","keys_url":"https://api.github.com/repos/thibault-martinez/entangled/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thibault-martinez/entangled/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thibault-martinez/entangled/teams","hooks_url":"https://api.github.com/repos/thibault-martinez/entangled/hooks","issue_events_url":"https://api.github.com/repos/thibault-martinez/entangled/issues/events{/number}","events_url":"https://api.github.com/repos/thibault-martinez/entangled/events","assignees_url":"https://api.github.com/repos/thibault-martinez/entangled/assignees{/user}","branches_url":"https://api.github.com/repos/thibault-martinez/entangled/branches{/branch}","tags_url":"https://api.github.com/repos/thibault-martinez/entangled/tags","blobs_url":"https://api.github.com/repos/thibault-martinez/entangled/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thibault-martinez/entangled/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thibault-martinez/entangled/git/refs{/sha}","trees_url":"https://api.github.com/repos/thibault-martinez/entangled/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thibault-martinez/entangled/statuses/{sha}","languages_url":"https://api.github.com/repos/thibault-martinez/entangled/languages","stargazers_url":"https://api.github.com/repos/thibault-martinez/entangled/stargazers","contributors_url":"https://api.github.com/repos/thibault-martinez/entangled/contributors","subscribers_url":"https://api.github.com/repos/thibault-martinez/entangled/subscribers","subscription_url":"https://api.github.com/repos/thibault-martinez/entangled/subscription","commits_url":"https://api.github.com/repos/thibault-martinez/entangled/commits{/sha}","git_commits_url":"https://api.github.com/repos/thibault-martinez/entangled/git/commits{/sha}","comments_url":"https://api.github.com/repos/thibault-martinez/entangled/comments{/number}","issue_comment_url":"https://api.github.com/repos/thibault-martinez/entangled/issues/comments{/number}","contents_url":"https://api.github.com/repos/thibault-martinez/entangled/contents/{+path}","compare_url":"https://api.github.com/repos/thibault-martinez/entangled/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thibault-martinez/entangled/merges","archive_url":"https://api.github.com/repos/thibault-martinez/entangled/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thibault-martinez/entangled/downloads","issues_url":"https://api.github.com/repos/thibault-martinez/entangled/issues{/number}","pulls_url":"https://api.github.com/repos/thibault-martinez/entangled/pulls{/number}","milestones_url":"https://api.github.com/repos/thibault-martinez/entangled/milestones{/number}","notifications_url":"https://api.github.com/repos/thibault-martinez/entangled/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thibault-martinez/entangled/labels{/name}","releases_url":"https://api.github.com/repos/thibault-martinez/entangled/releases{/id}","deployments_url":"https://api.github.com/repos/thibault-martinez/entangled/deployments","created_at":"2018-06-12T16:51:57Z","updated_at":"2018-07-25T11:58:39Z","pushed_at":"2018-07-25T12:03:26Z","git_url":"git://github.com/thibault-martinez/entangled.git","ssh_url":"git@github.com:thibault-martinez/entangled.git","clone_url":"https://github.com/thibault-martinez/entangled.git","svn_url":"https://github.com/thibault-martinez/entangled","homepage":null,"size":666,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"iotaledger:develop","ref":"develop","sha":"db8349bf9a01b2762c12f9815baf7e0a90e0c99f","user":{"login":"iotaledger","id":20126597,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTI2NTk3","avatar_url":"https://avatars3.githubusercontent.com/u/20126597?v=4","gravatar_id":"","url":"https://api.github.com/users/iotaledger","html_url":"https://github.com/iotaledger","followers_url":"https://api.github.com/users/iotaledger/followers","following_url":"https://api.github.com/users/iotaledger/following{/other_user}","gists_url":"https://api.github.com/users/iotaledger/gists{/gist_id}","starred_url":"https://api.github.com/users/iotaledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iotaledger/subscriptions","organizations_url":"https://api.github.com/users/iotaledger/orgs","repos_url":"https://api.github.com/users/iotaledger/repos","events_url":"https://api.github.com/users/iotaledger/events{/privacy}","received_events_url":"https://api.github.com/users/iotaledger/received_events","type":"Organization","site_admin":false},"repo":{"id":137051507,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcwNTE1MDc=","name":"entangled","full_name":"iotaledger/entangled","owner":{"login":"iotaledger","id":20126597,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTI2NTk3","avatar_url":"https://avatars3.githubusercontent.com/u/20126597?v=4","gravatar_id":"","url":"https://api.github.com/users/iotaledger","html_url":"https://github.com/iotaledger","followers_url":"https://api.github.com/users/iotaledger/followers","following_url":"https://api.github.com/users/iotaledger/following{/other_user}","gists_url":"https://api.github.com/users/iotaledger/gists{/gist_id}","starred_url":"https://api.github.com/users/iotaledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iotaledger/subscriptions","organizations_url":"https://api.github.com/users/iotaledger/orgs","repos_url":"https://api.github.com/users/iotaledger/repos","events_url":"https://api.github.com/users/iotaledger/events{/privacy}","received_events_url":"https://api.github.com/users/iotaledger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iotaledger/entangled","description":"enTangle'd is an amalgamation of all things Tangle","fork":false,"url":"https://api.github.com/repos/iotaledger/entangled","forks_url":"https://api.github.com/repos/iotaledger/entangled/forks","keys_url":"https://api.github.com/repos/iotaledger/entangled/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iotaledger/entangled/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iotaledger/entangled/teams","hooks_url":"https://api.github.com/repos/iotaledger/entangled/hooks","issue_events_url":"https://api.github.com/repos/iotaledger/entangled/issues/events{/number}","events_url":"https://api.github.com/repos/iotaledger/entangled/events","assignees_url":"https://api.github.com/repos/iotaledger/entangled/assignees{/user}","branches_url":"https://api.github.com/repos/iotaledger/entangled/branches{/branch}","tags_url":"https://api.github.com/repos/iotaledger/entangled/tags","blobs_url":"https://api.github.com/repos/iotaledger/entangled/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iotaledger/entangled/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iotaledger/entangled/git/refs{/sha}","trees_url":"https://api.github.com/repos/iotaledger/entangled/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iotaledger/entangled/statuses/{sha}","languages_url":"https://api.github.com/repos/iotaledger/entangled/languages","stargazers_url":"https://api.github.com/repos/iotaledger/entangled/stargazers","contributors_url":"https://api.github.com/repos/iotaledger/entangled/contributors","subscribers_url":"https://api.github.com/repos/iotaledger/entangled/subscribers","subscription_url":"https://api.github.com/repos/iotaledger/entangled/subscription","commits_url":"https://api.github.com/repos/iotaledger/entangled/commits{/sha}","git_commits_url":"https://api.github.com/repos/iotaledger/entangled/git/commits{/sha}","comments_url":"https://api.github.com/repos/iotaledger/entangled/comments{/number}","issue_comment_url":"https://api.github.com/repos/iotaledger/entangled/issues/comments{/number}","contents_url":"https://api.github.com/repos/iotaledger/entangled/contents/{+path}","compare_url":"https://api.github.com/repos/iotaledger/entangled/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iotaledger/entangled/merges","archive_url":"https://api.github.com/repos/iotaledger/entangled/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iotaledger/entangled/downloads","issues_url":"https://api.github.com/repos/iotaledger/entangled/issues{/number}","pulls_url":"https://api.github.com/repos/iotaledger/entangled/pulls{/number}","milestones_url":"https://api.github.com/repos/iotaledger/entangled/milestones{/number}","notifications_url":"https://api.github.com/repos/iotaledger/entangled/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iotaledger/entangled/labels{/name}","releases_url":"https://api.github.com/repos/iotaledger/entangled/releases{/id}","deployments_url":"https://api.github.com/repos/iotaledger/entangled/deployments","created_at":"2018-06-12T09:49:47Z","updated_at":"2018-07-25T08:10:05Z","pushed_at":"2018-07-25T12:07:29Z","git_url":"git://github.com/iotaledger/entangled.git","ssh_url":"git@github.com:iotaledger/entangled.git","clone_url":"https://github.com/iotaledger/entangled.git","svn_url":"https://github.com/iotaledger/entangled","homepage":"","size":584,"stargazers_count":7,"watchers_count":7,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":46,"license":null,"forks":16,"open_issues":46,"watchers":7,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/iotaledger/entangled/pulls/82"},"html":{"href":"https://github.com/iotaledger/entangled/pull/82"},"issue":{"href":"https://api.github.com/repos/iotaledger/entangled/issues/82"},"comments":{"href":"https://api.github.com/repos/iotaledger/entangled/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/iotaledger/entangled/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/iotaledger/entangled/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iotaledger/entangled/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/iotaledger/entangled/statuses/7e599fd80ad102e80133cc4c17e559687d3247b3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"thibault-martinez"}}