{"action":"opened","number":312,"pull_request":{"url":"https://api.github.com/repos/monero-project/bitmonero/pulls/312","id":37108886,"html_url":"https://github.com/monero-project/bitmonero/pull/312","diff_url":"https://github.com/monero-project/bitmonero/pull/312.diff","patch_url":"https://github.com/monero-project/bitmonero/pull/312.patch","issue_url":"https://api.github.com/repos/monero-project/bitmonero/issues/312","number":312,"state":"open","locked":false,"title":"dns_utils: simpify smart pointer use, and use for url strings too","user":{"login":"moneromooo-monero","id":8851073,"avatar_url":"https://avatars.githubusercontent.com/u/8851073?v=3","gravatar_id":"","url":"https://api.github.com/users/moneromooo-monero","html_url":"https://github.com/moneromooo-monero","followers_url":"https://api.github.com/users/moneromooo-monero/followers","following_url":"https://api.github.com/users/moneromooo-monero/following{/other_user}","gists_url":"https://api.github.com/users/moneromooo-monero/gists{/gist_id}","starred_url":"https://api.github.com/users/moneromooo-monero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneromooo-monero/subscriptions","organizations_url":"https://api.github.com/users/moneromooo-monero/orgs","repos_url":"https://api.github.com/users/moneromooo-monero/repos","events_url":"https://api.github.com/users/moneromooo-monero/events{/privacy}","received_events_url":"https://api.github.com/users/moneromooo-monero/received_events","type":"User","site_admin":false},"body":"OK, I admit I wanted to template this struct for fun too.","created_at":"2015-06-07T16:02:20Z","updated_at":"2015-06-07T16:02:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/monero-project/bitmonero/pulls/312/commits","review_comments_url":"https://api.github.com/repos/monero-project/bitmonero/pulls/312/comments","review_comment_url":"https://api.github.com/repos/monero-project/bitmonero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monero-project/bitmonero/issues/312/comments","statuses_url":"https://api.github.com/repos/monero-project/bitmonero/statuses/a9b1f7eb0597dad17d8146ce7abba1ce8c08c91f","head":{"label":"moneromooo-monero:dnsutils","ref":"dnsutils","sha":"a9b1f7eb0597dad17d8146ce7abba1ce8c08c91f","user":{"login":"moneromooo-monero","id":8851073,"avatar_url":"https://avatars.githubusercontent.com/u/8851073?v=3","gravatar_id":"","url":"https://api.github.com/users/moneromooo-monero","html_url":"https://github.com/moneromooo-monero","followers_url":"https://api.github.com/users/moneromooo-monero/followers","following_url":"https://api.github.com/users/moneromooo-monero/following{/other_user}","gists_url":"https://api.github.com/users/moneromooo-monero/gists{/gist_id}","starred_url":"https://api.github.com/users/moneromooo-monero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneromooo-monero/subscriptions","organizations_url":"https://api.github.com/users/moneromooo-monero/orgs","repos_url":"https://api.github.com/users/moneromooo-monero/repos","events_url":"https://api.github.com/users/moneromooo-monero/events{/privacy}","received_events_url":"https://api.github.com/users/moneromooo-monero/received_events","type":"User","site_admin":false},"repo":{"id":24294045,"name":"bitmonero","full_name":"moneromooo-monero/bitmonero","owner":{"login":"moneromooo-monero","id":8851073,"avatar_url":"https://avatars.githubusercontent.com/u/8851073?v=3","gravatar_id":"","url":"https://api.github.com/users/moneromooo-monero","html_url":"https://github.com/moneromooo-monero","followers_url":"https://api.github.com/users/moneromooo-monero/followers","following_url":"https://api.github.com/users/moneromooo-monero/following{/other_user}","gists_url":"https://api.github.com/users/moneromooo-monero/gists{/gist_id}","starred_url":"https://api.github.com/users/moneromooo-monero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneromooo-monero/subscriptions","organizations_url":"https://api.github.com/users/moneromooo-monero/orgs","repos_url":"https://api.github.com/users/moneromooo-monero/repos","events_url":"https://api.github.com/users/moneromooo-monero/events{/privacy}","received_events_url":"https://api.github.com/users/moneromooo-monero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moneromooo-monero/bitmonero","description":"Monero: the secure, private, untraceable cryptocurrency","fork":true,"url":"https://api.github.com/repos/moneromooo-monero/bitmonero","forks_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/forks","keys_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/teams","hooks_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/hooks","issue_events_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/issues/events{/number}","events_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/events","assignees_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/assignees{/user}","branches_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/branches{/branch}","tags_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/tags","blobs_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/refs{/sha}","trees_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/statuses/{sha}","languages_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/languages","stargazers_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/stargazers","contributors_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/contributors","subscribers_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/subscribers","subscription_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/subscription","commits_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/commits{/sha}","git_commits_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/git/commits{/sha}","comments_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/comments{/number}","issue_comment_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/issues/comments{/number}","contents_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/contents/{+path}","compare_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/merges","archive_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/downloads","issues_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/issues{/number}","pulls_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/pulls{/number}","milestones_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/milestones{/number}","notifications_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/labels{/name}","releases_url":"https://api.github.com/repos/moneromooo-monero/bitmonero/releases{/id}","created_at":"2014-09-21T15:04:04Z","updated_at":"2014-09-15T15:01:24Z","pushed_at":"2015-06-07T16:01:56Z","git_url":"git://github.com/moneromooo-monero/bitmonero.git","ssh_url":"git@github.com:moneromooo-monero/bitmonero.git","clone_url":"https://github.com/moneromooo-monero/bitmonero.git","svn_url":"https://github.com/moneromooo-monero/bitmonero","homepage":"monero.cc","size":14691,"stargazers_count":0,"watchers_count":0,"language":null,"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":"monero-project:master","ref":"master","sha":"5df550d27624b435dfd12205c97d73ff12cc7e21","user":{"login":"monero-project","id":7450663,"avatar_url":"https://avatars.githubusercontent.com/u/7450663?v=3","gravatar_id":"","url":"https://api.github.com/users/monero-project","html_url":"https://github.com/monero-project","followers_url":"https://api.github.com/users/monero-project/followers","following_url":"https://api.github.com/users/monero-project/following{/other_user}","gists_url":"https://api.github.com/users/monero-project/gists{/gist_id}","starred_url":"https://api.github.com/users/monero-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monero-project/subscriptions","organizations_url":"https://api.github.com/users/monero-project/orgs","repos_url":"https://api.github.com/users/monero-project/repos","events_url":"https://api.github.com/users/monero-project/events{/privacy}","received_events_url":"https://api.github.com/users/monero-project/received_events","type":"User","site_admin":false},"repo":{"id":19316619,"name":"bitmonero","full_name":"monero-project/bitmonero","owner":{"login":"monero-project","id":7450663,"avatar_url":"https://avatars.githubusercontent.com/u/7450663?v=3","gravatar_id":"","url":"https://api.github.com/users/monero-project","html_url":"https://github.com/monero-project","followers_url":"https://api.github.com/users/monero-project/followers","following_url":"https://api.github.com/users/monero-project/following{/other_user}","gists_url":"https://api.github.com/users/monero-project/gists{/gist_id}","starred_url":"https://api.github.com/users/monero-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monero-project/subscriptions","organizations_url":"https://api.github.com/users/monero-project/orgs","repos_url":"https://api.github.com/users/monero-project/repos","events_url":"https://api.github.com/users/monero-project/events{/privacy}","received_events_url":"https://api.github.com/users/monero-project/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monero-project/bitmonero","description":"Monero: the secure, private, untraceable cryptocurrency","fork":false,"url":"https://api.github.com/repos/monero-project/bitmonero","forks_url":"https://api.github.com/repos/monero-project/bitmonero/forks","keys_url":"https://api.github.com/repos/monero-project/bitmonero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monero-project/bitmonero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monero-project/bitmonero/teams","hooks_url":"https://api.github.com/repos/monero-project/bitmonero/hooks","issue_events_url":"https://api.github.com/repos/monero-project/bitmonero/issues/events{/number}","events_url":"https://api.github.com/repos/monero-project/bitmonero/events","assignees_url":"https://api.github.com/repos/monero-project/bitmonero/assignees{/user}","branches_url":"https://api.github.com/repos/monero-project/bitmonero/branches{/branch}","tags_url":"https://api.github.com/repos/monero-project/bitmonero/tags","blobs_url":"https://api.github.com/repos/monero-project/bitmonero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monero-project/bitmonero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monero-project/bitmonero/git/refs{/sha}","trees_url":"https://api.github.com/repos/monero-project/bitmonero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monero-project/bitmonero/statuses/{sha}","languages_url":"https://api.github.com/repos/monero-project/bitmonero/languages","stargazers_url":"https://api.github.com/repos/monero-project/bitmonero/stargazers","contributors_url":"https://api.github.com/repos/monero-project/bitmonero/contributors","subscribers_url":"https://api.github.com/repos/monero-project/bitmonero/subscribers","subscription_url":"https://api.github.com/repos/monero-project/bitmonero/subscription","commits_url":"https://api.github.com/repos/monero-project/bitmonero/commits{/sha}","git_commits_url":"https://api.github.com/repos/monero-project/bitmonero/git/commits{/sha}","comments_url":"https://api.github.com/repos/monero-project/bitmonero/comments{/number}","issue_comment_url":"https://api.github.com/repos/monero-project/bitmonero/issues/comments{/number}","contents_url":"https://api.github.com/repos/monero-project/bitmonero/contents/{+path}","compare_url":"https://api.github.com/repos/monero-project/bitmonero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monero-project/bitmonero/merges","archive_url":"https://api.github.com/repos/monero-project/bitmonero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monero-project/bitmonero/downloads","issues_url":"https://api.github.com/repos/monero-project/bitmonero/issues{/number}","pulls_url":"https://api.github.com/repos/monero-project/bitmonero/pulls{/number}","milestones_url":"https://api.github.com/repos/monero-project/bitmonero/milestones{/number}","notifications_url":"https://api.github.com/repos/monero-project/bitmonero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monero-project/bitmonero/labels{/name}","releases_url":"https://api.github.com/repos/monero-project/bitmonero/releases{/id}","created_at":"2014-04-30T14:38:28Z","updated_at":"2015-06-03T22:51:11Z","pushed_at":"2015-06-06T17:26:17Z","git_url":"git://github.com/monero-project/bitmonero.git","ssh_url":"git@github.com:monero-project/bitmonero.git","clone_url":"https://github.com/monero-project/bitmonero.git","svn_url":"https://github.com/monero-project/bitmonero","homepage":"https://getmonero.org","size":16256,"stargazers_count":73,"watchers_count":73,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":48,"forks":83,"open_issues":48,"watchers":73,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monero-project/bitmonero/pulls/312"},"html":{"href":"https://github.com/monero-project/bitmonero/pull/312"},"issue":{"href":"https://api.github.com/repos/monero-project/bitmonero/issues/312"},"comments":{"href":"https://api.github.com/repos/monero-project/bitmonero/issues/312/comments"},"review_comments":{"href":"https://api.github.com/repos/monero-project/bitmonero/pulls/312/comments"},"review_comment":{"href":"https://api.github.com/repos/monero-project/bitmonero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monero-project/bitmonero/pulls/312/commits"},"statuses":{"href":"https://api.github.com/repos/monero-project/bitmonero/statuses/a9b1f7eb0597dad17d8146ce7abba1ce8c08c91f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":39,"changed_files":2}}