{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/wakaama/pulls/comments/26322180","id":26322180,"diff_hunk":"@@ -520,7 +526,7 @@ int lwm2m_configure(lwm2m_context_t * contextP, char * endpointName, char * msis\n int lwm2m_start(lwm2m_context_t * contextP);\n \n // check if the server registrations are outdated and needs to be renewed\n-int lwm2m_update_registrations(lwm2m_context_t * contextP, uint32_t currentTime, struct timeval * timeoutP);\n+int lwm2m_update_registrations(lwm2m_context_t * contextP, time_t currentTime, time_t * timeoutP);","path":"core/liblwm2m.h","position":41,"original_position":41,"commit_id":"d5227778d0a7d3e8d60f21991efbdf055168c350","original_commit_id":"d5227778d0a7d3e8d60f21991efbdf055168c350","user":{"login":"dnav","id":1805502,"avatar_url":"https://avatars.githubusercontent.com/u/1805502?v=3","gravatar_id":"","url":"https://api.github.com/users/dnav","html_url":"https://github.com/dnav","followers_url":"https://api.github.com/users/dnav/followers","following_url":"https://api.github.com/users/dnav/following{/other_user}","gists_url":"https://api.github.com/users/dnav/gists{/gist_id}","starred_url":"https://api.github.com/users/dnav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnav/subscriptions","organizations_url":"https://api.github.com/users/dnav/orgs","repos_url":"https://api.github.com/users/dnav/repos","events_url":"https://api.github.com/users/dnav/events{/privacy}","received_events_url":"https://api.github.com/users/dnav/received_events","type":"User","site_admin":false},"body":"Actually, this function should update the timeout if a registration is needed. I will change this","created_at":"2015-03-12T17:06:47Z","updated_at":"2015-03-12T17:06:47Z","html_url":"https://github.com/eclipse/wakaama/pull/25#discussion_r26322180","pull_request_url":"https://api.github.com/repos/eclipse/wakaama/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/eclipse/wakaama/pulls/comments/26322180"},"html":{"href":"https://github.com/eclipse/wakaama/pull/25#discussion_r26322180"},"pull_request":{"href":"https://api.github.com/repos/eclipse/wakaama/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/wakaama/pulls/25","id":31025196,"html_url":"https://github.com/eclipse/wakaama/pull/25","diff_url":"https://github.com/eclipse/wakaama/pull/25.diff","patch_url":"https://github.com/eclipse/wakaama/pull/25.patch","issue_url":"https://api.github.com/repos/eclipse/wakaama/issues/25","number":25,"state":"open","locked":false,"title":"Wrap around gettimeofday()","user":{"login":"dnav","id":1805502,"avatar_url":"https://avatars.githubusercontent.com/u/1805502?v=3","gravatar_id":"","url":"https://api.github.com/users/dnav","html_url":"https://github.com/dnav","followers_url":"https://api.github.com/users/dnav/followers","following_url":"https://api.github.com/users/dnav/following{/other_user}","gists_url":"https://api.github.com/users/dnav/gists{/gist_id}","starred_url":"https://api.github.com/users/dnav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnav/subscriptions","organizations_url":"https://api.github.com/users/dnav/orgs","repos_url":"https://api.github.com/users/dnav/repos","events_url":"https://api.github.com/users/dnav/events{/privacy}","received_events_url":"https://api.github.com/users/dnav/received_events","type":"User","site_admin":false},"body":"For easier embedded OSes ports, a lwm2m_gettime() function is provided. On POSIX compliant systems, this a just a wrapper to gettimeofday with a simpler interface.\r\nAlso modifies the lwm2m_step() API.","created_at":"2015-03-12T10:56:08Z","updated_at":"2015-03-12T17:06:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c05d06797a66b7adb02c2d663a7be3d9a0e0c547","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/wakaama/pulls/25/commits","review_comments_url":"https://api.github.com/repos/eclipse/wakaama/pulls/25/comments","review_comment_url":"https://api.github.com/repos/eclipse/wakaama/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/wakaama/issues/25/comments","statuses_url":"https://api.github.com/repos/eclipse/wakaama/statuses/d5227778d0a7d3e8d60f21991efbdf055168c350","head":{"label":"eclipse:get_time","ref":"get_time","sha":"d5227778d0a7d3e8d60f21991efbdf055168c350","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":18909093,"name":"wakaama","full_name":"eclipse/wakaama","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/wakaama","description":"Wakaama (formerly liblwm2m) is an implementation of the Open Mobile Alliance's LightWeight M2M protocol (LWM2M).","fork":false,"url":"https://api.github.com/repos/eclipse/wakaama","forks_url":"https://api.github.com/repos/eclipse/wakaama/forks","keys_url":"https://api.github.com/repos/eclipse/wakaama/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/wakaama/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/wakaama/teams","hooks_url":"https://api.github.com/repos/eclipse/wakaama/hooks","issue_events_url":"https://api.github.com/repos/eclipse/wakaama/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/wakaama/events","assignees_url":"https://api.github.com/repos/eclipse/wakaama/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/wakaama/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/wakaama/tags","blobs_url":"https://api.github.com/repos/eclipse/wakaama/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/wakaama/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/wakaama/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/wakaama/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/wakaama/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/wakaama/languages","stargazers_url":"https://api.github.com/repos/eclipse/wakaama/stargazers","contributors_url":"https://api.github.com/repos/eclipse/wakaama/contributors","subscribers_url":"https://api.github.com/repos/eclipse/wakaama/subscribers","subscription_url":"https://api.github.com/repos/eclipse/wakaama/subscription","commits_url":"https://api.github.com/repos/eclipse/wakaama/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/wakaama/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/wakaama/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/wakaama/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/wakaama/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/wakaama/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/wakaama/merges","archive_url":"https://api.github.com/repos/eclipse/wakaama/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/wakaama/downloads","issues_url":"https://api.github.com/repos/eclipse/wakaama/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/wakaama/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/wakaama/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/wakaama/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/wakaama/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/wakaama/releases{/id}","created_at":"2014-04-18T09:37:19Z","updated_at":"2015-03-10T14:38:07Z","pushed_at":"2015-03-12T10:52:51Z","git_url":"git://github.com/eclipse/wakaama.git","ssh_url":"git@github.com:eclipse/wakaama.git","clone_url":"https://github.com/eclipse/wakaama.git","svn_url":"https://github.com/eclipse/wakaama","homepage":null,"size":1516,"stargazers_count":21,"watchers_count":21,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":5,"forks":18,"open_issues":5,"watchers":21,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"5c1cd2ef0aae1122141966589746bf4572e8f0ac","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":18909093,"name":"wakaama","full_name":"eclipse/wakaama","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/wakaama","description":"Wakaama (formerly liblwm2m) is an implementation of the Open Mobile Alliance's LightWeight M2M protocol (LWM2M).","fork":false,"url":"https://api.github.com/repos/eclipse/wakaama","forks_url":"https://api.github.com/repos/eclipse/wakaama/forks","keys_url":"https://api.github.com/repos/eclipse/wakaama/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/wakaama/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/wakaama/teams","hooks_url":"https://api.github.com/repos/eclipse/wakaama/hooks","issue_events_url":"https://api.github.com/repos/eclipse/wakaama/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/wakaama/events","assignees_url":"https://api.github.com/repos/eclipse/wakaama/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/wakaama/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/wakaama/tags","blobs_url":"https://api.github.com/repos/eclipse/wakaama/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/wakaama/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/wakaama/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/wakaama/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/wakaama/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/wakaama/languages","stargazers_url":"https://api.github.com/repos/eclipse/wakaama/stargazers","contributors_url":"https://api.github.com/repos/eclipse/wakaama/contributors","subscribers_url":"https://api.github.com/repos/eclipse/wakaama/subscribers","subscription_url":"https://api.github.com/repos/eclipse/wakaama/subscription","commits_url":"https://api.github.com/repos/eclipse/wakaama/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/wakaama/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/wakaama/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/wakaama/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/wakaama/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/wakaama/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/wakaama/merges","archive_url":"https://api.github.com/repos/eclipse/wakaama/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/wakaama/downloads","issues_url":"https://api.github.com/repos/eclipse/wakaama/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/wakaama/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/wakaama/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/wakaama/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/wakaama/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/wakaama/releases{/id}","created_at":"2014-04-18T09:37:19Z","updated_at":"2015-03-10T14:38:07Z","pushed_at":"2015-03-12T10:52:51Z","git_url":"git://github.com/eclipse/wakaama.git","ssh_url":"git@github.com:eclipse/wakaama.git","clone_url":"https://github.com/eclipse/wakaama.git","svn_url":"https://github.com/eclipse/wakaama","homepage":null,"size":1516,"stargazers_count":21,"watchers_count":21,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":5,"forks":18,"open_issues":5,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/wakaama/pulls/25"},"html":{"href":"https://github.com/eclipse/wakaama/pull/25"},"issue":{"href":"https://api.github.com/repos/eclipse/wakaama/issues/25"},"comments":{"href":"https://api.github.com/repos/eclipse/wakaama/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/wakaama/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/wakaama/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/wakaama/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/wakaama/statuses/d5227778d0a7d3e8d60f21991efbdf055168c350"}}}}