{"action":"created","comment":{"url":"https://api.github.com/repos/itheof/42sh-posix/pulls/comments/91303799","pull_request_review_id":11811537,"id":91303799,"diff_hunk":"@@ -0,0 +1,24 @@\n+#include \"var.h\"\n+#include \"errors.h\"\n+#include \"array_42.h\"\n+\n+extern t_var_priv\tg_variables;\n+\n+static int\tmatch_var_by_name(const void *var, const void *name)\n+{\n+\treturn (!ft_strcmp(((t_var*)var)->name, name));\n+}\n+\n+int\t\t\tvar_get(const char *name, const char **value)","path":"src/var/var_get.c","position":12,"original_position":12,"commit_id":"47f2dd5eee9f8efe6ffc9cb3c2471d03db525908","original_commit_id":"47f2dd5eee9f8efe6ffc9cb3c2471d03db525908","user":{"login":"Kerollmops","id":3610253,"avatar_url":"https://avatars.githubusercontent.com/u/3610253?v=3","gravatar_id":"","url":"https://api.github.com/users/Kerollmops","html_url":"https://github.com/Kerollmops","followers_url":"https://api.github.com/users/Kerollmops/followers","following_url":"https://api.github.com/users/Kerollmops/following{/other_user}","gists_url":"https://api.github.com/users/Kerollmops/gists{/gist_id}","starred_url":"https://api.github.com/users/Kerollmops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kerollmops/subscriptions","organizations_url":"https://api.github.com/users/Kerollmops/orgs","repos_url":"https://api.github.com/users/Kerollmops/repos","events_url":"https://api.github.com/users/Kerollmops/events{/privacy}","received_events_url":"https://api.github.com/users/Kerollmops/received_events","type":"User","site_admin":false},"body":"le prototype `const char\t*var_get(const char *name)` ne serait pas mieux ?","created_at":"2016-12-07T14:32:15Z","updated_at":"2016-12-07T14:32:15Z","html_url":"https://github.com/itheof/42sh-posix/pull/69#discussion_r91303799","pull_request_url":"https://api.github.com/repos/itheof/42sh-posix/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/itheof/42sh-posix/pulls/comments/91303799"},"html":{"href":"https://github.com/itheof/42sh-posix/pull/69#discussion_r91303799"},"pull_request":{"href":"https://api.github.com/repos/itheof/42sh-posix/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/itheof/42sh-posix/pulls/69","id":96762936,"html_url":"https://github.com/itheof/42sh-posix/pull/69","diff_url":"https://github.com/itheof/42sh-posix/pull/69.diff","patch_url":"https://github.com/itheof/42sh-posix/pull/69.patch","issue_url":"https://api.github.com/repos/itheof/42sh-posix/issues/69","number":69,"state":"open","locked":false,"title":"Module variable","user":{"login":"itheof","id":8781784,"avatar_url":"https://avatars.githubusercontent.com/u/8781784?v=3","gravatar_id":"","url":"https://api.github.com/users/itheof","html_url":"https://github.com/itheof","followers_url":"https://api.github.com/users/itheof/followers","following_url":"https://api.github.com/users/itheof/following{/other_user}","gists_url":"https://api.github.com/users/itheof/gists{/gist_id}","starred_url":"https://api.github.com/users/itheof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itheof/subscriptions","organizations_url":"https://api.github.com/users/itheof/orgs","repos_url":"https://api.github.com/users/itheof/repos","events_url":"https://api.github.com/users/itheof/events{/privacy}","received_events_url":"https://api.github.com/users/itheof/received_events","type":"User","site_admin":false},"body":"Implemente #54 ","created_at":"2016-12-06T16:55:20Z","updated_at":"2016-12-07T14:32:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/itheof/42sh-posix/pulls/69/commits","review_comments_url":"https://api.github.com/repos/itheof/42sh-posix/pulls/69/comments","review_comment_url":"https://api.github.com/repos/itheof/42sh-posix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/itheof/42sh-posix/issues/69/comments","statuses_url":"https://api.github.com/repos/itheof/42sh-posix/statuses/47f2dd5eee9f8efe6ffc9cb3c2471d03db525908","head":{"label":"itheof:module_variable","ref":"module_variable","sha":"47f2dd5eee9f8efe6ffc9cb3c2471d03db525908","user":{"login":"itheof","id":8781784,"avatar_url":"https://avatars.githubusercontent.com/u/8781784?v=3","gravatar_id":"","url":"https://api.github.com/users/itheof","html_url":"https://github.com/itheof","followers_url":"https://api.github.com/users/itheof/followers","following_url":"https://api.github.com/users/itheof/following{/other_user}","gists_url":"https://api.github.com/users/itheof/gists{/gist_id}","starred_url":"https://api.github.com/users/itheof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itheof/subscriptions","organizations_url":"https://api.github.com/users/itheof/orgs","repos_url":"https://api.github.com/users/itheof/repos","events_url":"https://api.github.com/users/itheof/events{/privacy}","received_events_url":"https://api.github.com/users/itheof/received_events","type":"User","site_admin":false},"repo":{"id":69264329,"name":"42sh-posix","full_name":"itheof/42sh-posix","owner":{"login":"itheof","id":8781784,"avatar_url":"https://avatars.githubusercontent.com/u/8781784?v=3","gravatar_id":"","url":"https://api.github.com/users/itheof","html_url":"https://github.com/itheof","followers_url":"https://api.github.com/users/itheof/followers","following_url":"https://api.github.com/users/itheof/following{/other_user}","gists_url":"https://api.github.com/users/itheof/gists{/gist_id}","starred_url":"https://api.github.com/users/itheof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itheof/subscriptions","organizations_url":"https://api.github.com/users/itheof/orgs","repos_url":"https://api.github.com/users/itheof/repos","events_url":"https://api.github.com/users/itheof/events{/privacy}","received_events_url":"https://api.github.com/users/itheof/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itheof/42sh-posix","description":"An attempt to write a simple but fully-fledged POSIX compliant shell in C","fork":false,"url":"https://api.github.com/repos/itheof/42sh-posix","forks_url":"https://api.github.com/repos/itheof/42sh-posix/forks","keys_url":"https://api.github.com/repos/itheof/42sh-posix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itheof/42sh-posix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itheof/42sh-posix/teams","hooks_url":"https://api.github.com/repos/itheof/42sh-posix/hooks","issue_events_url":"https://api.github.com/repos/itheof/42sh-posix/issues/events{/number}","events_url":"https://api.github.com/repos/itheof/42sh-posix/events","assignees_url":"https://api.github.com/repos/itheof/42sh-posix/assignees{/user}","branches_url":"https://api.github.com/repos/itheof/42sh-posix/branches{/branch}","tags_url":"https://api.github.com/repos/itheof/42sh-posix/tags","blobs_url":"https://api.github.com/repos/itheof/42sh-posix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itheof/42sh-posix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itheof/42sh-posix/git/refs{/sha}","trees_url":"https://api.github.com/repos/itheof/42sh-posix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itheof/42sh-posix/statuses/{sha}","languages_url":"https://api.github.com/repos/itheof/42sh-posix/languages","stargazers_url":"https://api.github.com/repos/itheof/42sh-posix/stargazers","contributors_url":"https://api.github.com/repos/itheof/42sh-posix/contributors","subscribers_url":"https://api.github.com/repos/itheof/42sh-posix/subscribers","subscription_url":"https://api.github.com/repos/itheof/42sh-posix/subscription","commits_url":"https://api.github.com/repos/itheof/42sh-posix/commits{/sha}","git_commits_url":"https://api.github.com/repos/itheof/42sh-posix/git/commits{/sha}","comments_url":"https://api.github.com/repos/itheof/42sh-posix/comments{/number}","issue_comment_url":"https://api.github.com/repos/itheof/42sh-posix/issues/comments{/number}","contents_url":"https://api.github.com/repos/itheof/42sh-posix/contents/{+path}","compare_url":"https://api.github.com/repos/itheof/42sh-posix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itheof/42sh-posix/merges","archive_url":"https://api.github.com/repos/itheof/42sh-posix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itheof/42sh-posix/downloads","issues_url":"https://api.github.com/repos/itheof/42sh-posix/issues{/number}","pulls_url":"https://api.github.com/repos/itheof/42sh-posix/pulls{/number}","milestones_url":"https://api.github.com/repos/itheof/42sh-posix/milestones{/number}","notifications_url":"https://api.github.com/repos/itheof/42sh-posix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itheof/42sh-posix/labels{/name}","releases_url":"https://api.github.com/repos/itheof/42sh-posix/releases{/id}","deployments_url":"https://api.github.com/repos/itheof/42sh-posix/deployments","created_at":"2016-09-26T15:30:13Z","updated_at":"2016-11-08T15:30:10Z","pushed_at":"2016-12-06T17:11:32Z","git_url":"git://github.com/itheof/42sh-posix.git","ssh_url":"git@github.com:itheof/42sh-posix.git","clone_url":"https://github.com/itheof/42sh-posix.git","svn_url":"https://github.com/itheof/42sh-posix","homepage":"","size":554,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":4,"default_branch":"master"}},"base":{"label":"itheof:master","ref":"master","sha":"16dc652b06c282e44e21541ca2005742c5c63837","user":{"login":"itheof","id":8781784,"avatar_url":"https://avatars.githubusercontent.com/u/8781784?v=3","gravatar_id":"","url":"https://api.github.com/users/itheof","html_url":"https://github.com/itheof","followers_url":"https://api.github.com/users/itheof/followers","following_url":"https://api.github.com/users/itheof/following{/other_user}","gists_url":"https://api.github.com/users/itheof/gists{/gist_id}","starred_url":"https://api.github.com/users/itheof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itheof/subscriptions","organizations_url":"https://api.github.com/users/itheof/orgs","repos_url":"https://api.github.com/users/itheof/repos","events_url":"https://api.github.com/users/itheof/events{/privacy}","received_events_url":"https://api.github.com/users/itheof/received_events","type":"User","site_admin":false},"repo":{"id":69264329,"name":"42sh-posix","full_name":"itheof/42sh-posix","owner":{"login":"itheof","id":8781784,"avatar_url":"https://avatars.githubusercontent.com/u/8781784?v=3","gravatar_id":"","url":"https://api.github.com/users/itheof","html_url":"https://github.com/itheof","followers_url":"https://api.github.com/users/itheof/followers","following_url":"https://api.github.com/users/itheof/following{/other_user}","gists_url":"https://api.github.com/users/itheof/gists{/gist_id}","starred_url":"https://api.github.com/users/itheof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itheof/subscriptions","organizations_url":"https://api.github.com/users/itheof/orgs","repos_url":"https://api.github.com/users/itheof/repos","events_url":"https://api.github.com/users/itheof/events{/privacy}","received_events_url":"https://api.github.com/users/itheof/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itheof/42sh-posix","description":"An attempt to write a simple but fully-fledged POSIX compliant shell in C","fork":false,"url":"https://api.github.com/repos/itheof/42sh-posix","forks_url":"https://api.github.com/repos/itheof/42sh-posix/forks","keys_url":"https://api.github.com/repos/itheof/42sh-posix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itheof/42sh-posix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itheof/42sh-posix/teams","hooks_url":"https://api.github.com/repos/itheof/42sh-posix/hooks","issue_events_url":"https://api.github.com/repos/itheof/42sh-posix/issues/events{/number}","events_url":"https://api.github.com/repos/itheof/42sh-posix/events","assignees_url":"https://api.github.com/repos/itheof/42sh-posix/assignees{/user}","branches_url":"https://api.github.com/repos/itheof/42sh-posix/branches{/branch}","tags_url":"https://api.github.com/repos/itheof/42sh-posix/tags","blobs_url":"https://api.github.com/repos/itheof/42sh-posix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itheof/42sh-posix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itheof/42sh-posix/git/refs{/sha}","trees_url":"https://api.github.com/repos/itheof/42sh-posix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itheof/42sh-posix/statuses/{sha}","languages_url":"https://api.github.com/repos/itheof/42sh-posix/languages","stargazers_url":"https://api.github.com/repos/itheof/42sh-posix/stargazers","contributors_url":"https://api.github.com/repos/itheof/42sh-posix/contributors","subscribers_url":"https://api.github.com/repos/itheof/42sh-posix/subscribers","subscription_url":"https://api.github.com/repos/itheof/42sh-posix/subscription","commits_url":"https://api.github.com/repos/itheof/42sh-posix/commits{/sha}","git_commits_url":"https://api.github.com/repos/itheof/42sh-posix/git/commits{/sha}","comments_url":"https://api.github.com/repos/itheof/42sh-posix/comments{/number}","issue_comment_url":"https://api.github.com/repos/itheof/42sh-posix/issues/comments{/number}","contents_url":"https://api.github.com/repos/itheof/42sh-posix/contents/{+path}","compare_url":"https://api.github.com/repos/itheof/42sh-posix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itheof/42sh-posix/merges","archive_url":"https://api.github.com/repos/itheof/42sh-posix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itheof/42sh-posix/downloads","issues_url":"https://api.github.com/repos/itheof/42sh-posix/issues{/number}","pulls_url":"https://api.github.com/repos/itheof/42sh-posix/pulls{/number}","milestones_url":"https://api.github.com/repos/itheof/42sh-posix/milestones{/number}","notifications_url":"https://api.github.com/repos/itheof/42sh-posix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itheof/42sh-posix/labels{/name}","releases_url":"https://api.github.com/repos/itheof/42sh-posix/releases{/id}","deployments_url":"https://api.github.com/repos/itheof/42sh-posix/deployments","created_at":"2016-09-26T15:30:13Z","updated_at":"2016-11-08T15:30:10Z","pushed_at":"2016-12-06T17:11:32Z","git_url":"git://github.com/itheof/42sh-posix.git","ssh_url":"git@github.com:itheof/42sh-posix.git","clone_url":"https://github.com/itheof/42sh-posix.git","svn_url":"https://github.com/itheof/42sh-posix","homepage":"","size":554,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/itheof/42sh-posix/pulls/69"},"html":{"href":"https://github.com/itheof/42sh-posix/pull/69"},"issue":{"href":"https://api.github.com/repos/itheof/42sh-posix/issues/69"},"comments":{"href":"https://api.github.com/repos/itheof/42sh-posix/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/itheof/42sh-posix/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/itheof/42sh-posix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/itheof/42sh-posix/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/itheof/42sh-posix/statuses/47f2dd5eee9f8efe6ffc9cb3c2471d03db525908"}}}}
{"actor":{"display_login":"Kerollmops"}}