{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/24267122","id":24267122,"diff_hunk":"@@ -0,0 +1,172 @@\n+/*\n+ * Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>\n+ * Copyright (C) 2015 Freie Universität Berlin\n+ *\n+ * This file is subject to the terms and conditions of the GNU Lesser\n+ * General Public License v2.1. See the file LICENSE in the top level\n+ * directory for more details.\n+ */\n+\n+/**\n+ * @defgroup    net_netdev Network device driver interface\n+ * @addtogroup  net\n+ * @{\n+ *\n+ * @file\n+ * @brief       Network device driver interface definition.\n+ *\n+ * @author      Martine Lenders <mlenders@inf.fu-berlin.de>\n+ * @author      Hauke Petersen <hauke.petersen@fu-berlin.de>\n+ */\n+\n+#ifndef __NETDEV_H_\n+#define __NETDEV_H_\n+\n+#include <errno.h>\n+#include <stdint.h>\n+#include <stdlib.h>\n+\n+#include \"net/ng_pktsnip.h\"\n+#include \"net/ng_netconf.h\"\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n+/**\n+ * @brief   Type for @ref msg_t if device fired an event\n+ */\n+#define NETDEV_MSG_EVENT_TYPE           (0x0100)\n+\n+/**\n+ * @brief   Possible event types that are send from the device driver to the\n+ *          MAC layer\n+ */\n+typedef enum {\n+    NETDEV_EVENT_RX_STARTED     = 0x0001,   /**< started to receive a packet */\n+    NETDEV_EVENT_RX_COMPLETE    = 0x0002,   /**< finished receiving a packet */\n+    NETDEV_EVENT_TX_STARTED     = 0x0004,   /**< started to transfer a packet */\n+    NETDEV_EVENT_TX_COMPLETE    = 0x0008,   /**< finished transferring packet */\n+    /* expand this list if needed */\n+} ng_netdev_event_t;\n+\n+/**\n+ * @brief   Event callback for signaling event to a MAC layer\n+ *\n+ * @param[in] type          type of the event\n+ * @param[in] arg           event argument, can e.g. contain a pktsnip_t pointer\n+ */\n+typedef void (*ng_netdev_event_cb_t)(ng_netdev_event_t type, void *arg);\n+\n+/**\n+ * @brief   Forward declaration of *ng_netdev_t*\n+ */\n+typedef struct ng_netdev_t ng_netdev_t;\n+\n+/**\n+ * @brief   Network device API definition.\n+ *\n+ * @details This is a set of functions that must be implemented by any driver\n+ *           for a network device.\n+ */\n+typedef struct {\n+    /**\n+     * @brief Send data via a given network device\n+     *\n+     * @param[in] dev       network device descriptor\n+     * @param[in] pkt       pointer to the data in the packet buffer\n+     *\n+     * @return              number of bytes that were actually send out\n+     * @return              -ENODEV if *dev* is invalid\n+     * @return              -ENOMSG if pkt is invalid\n+     */\n+    int (*send_data)(ng_netdev_t *dev, ng_pktsnip_t *pkt);\n+\n+    /**\n+     * @brief   Registers an event callback to a given network device\n+     *\n+     * @param[in] dev       network device descriptor\n+     * @param[in] cb        function that is called on events\n+     *\n+     * @return              0 on success\n+     * @return              -ENODEV if *dev* is invalid\n+     * @return              -ENOBUFS if maximum number of callbacks is exceeded\n+     */\n+    int (*add_event_callback)(ng_netdev_t *dev, ng_netdev_event_cb_t cb);\n+\n+    /**\n+     * @brief   Unregisters an event callback from a given network device\n+     *\n+     * @param[in] dev       network device descriptor\n+     * @param[in] cb        callback function\n+     *\n+     * @return              0 on success\n+     * @return              -ENODEV if *dev* is invalid\n+     * @return              -ENOPKG if callback was not registered\n+     */\n+    int (*rem_event_callback)(ng_netdev_t *dev, ng_netdev_event_cb_t cb);\n+\n+    /**\n+     * @brief   Get an option value from a given network device\n+     *\n+     * @param[in] dev           network device descriptor\n+     * @param[in] opt           option type\n+     * @param[out] value        pointer to store the option's value in\n+     * @param[in,out] value_len the length of *value*. Must be initialized to\n+     *                          the available space in *value* on call.\n+     *\n+     * @return              0 on success\n+     * @return              -ENODEV if *dev* is invalid\n+     * @return              -ENOTSUP if *opt* is not supported\n+     * @return              -EOVERFLOW if available space in *value* given in\n+     *                      *value_len* is too small to store the option value\n+     */\n+    int (*get)(ng_netdev_t *dev, ng_netconf_opt_t opt,\n+                      void *value, size_t *value_len);\n+\n+    /**\n+     * @brief   Set an option value for a given network device\n+     *\n+     * @param[in] dev       network device descriptor\n+     * @param[in] opt       option type\n+     * @param[in] value     value to set\n+     * @param[in] value_len the length of *value*\n+     *\n+     * @return              0 on success\n+     * @return              -ENODEV if *dev* is invalid\n+     * @return              -ENOTSUP if *opt* is not supported\n+     * @return              -EINVAL if *value* is invalid\n+     */\n+    int (*set)(ng_netdev_t *dev, ng_netconf_opt_t opt,\n+               void *value, size_t value_len);\n+\n+    /**\n+     * @brief   This function is called by a MAC layer when a message of type\n+     *          NETDEV_MSG_EVENT_TYPE was received\n+     *\n+     * @param[in] dev           network device descriptor\n+     * @param[in] event_type    event type, given by @ref msg_t::value in the\n+     *                          received message\n+     */\n+    void (*isr_event)(ng_netdev_t *dev, uint16_t event_type);\n+} ng_netdev_driver_t;\n+\n+/**\n+ * @brief   The netdev data-structure holds the minimum information needed for\n+ *          interaction with MAC layers and can be expanded with device\n+ *          specific fields\n+ *\n+ * The netdev structure is the parent for all network device driver descriptors.\n+ */\n+struct ng_netdev_t {","path":"sys/include/net/ng_netdev.h","position":161,"original_position":161,"commit_id":"da9dc9ad3cfa4acfda582ccba5e05ebd5f34c402","original_commit_id":"da9dc9ad3cfa4acfda582ccba5e05ebd5f34c402","user":{"login":"cgundogan","id":739129,"avatar_url":"https://avatars.githubusercontent.com/u/739129?v=3","gravatar_id":"","url":"https://api.github.com/users/cgundogan","html_url":"https://github.com/cgundogan","followers_url":"https://api.github.com/users/cgundogan/followers","following_url":"https://api.github.com/users/cgundogan/following{/other_user}","gists_url":"https://api.github.com/users/cgundogan/gists{/gist_id}","starred_url":"https://api.github.com/users/cgundogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgundogan/subscriptions","organizations_url":"https://api.github.com/users/cgundogan/orgs","repos_url":"https://api.github.com/users/cgundogan/repos","events_url":"https://api.github.com/users/cgundogan/events{/privacy}","received_events_url":"https://api.github.com/users/cgundogan/received_events","type":"User","site_admin":false},"body":"I vote for renaming this struct by cutting off the *_t* suffix and adapt line 64. This way the struct definition and the typedef definition don't have the same names.","created_at":"2015-02-06T19:54:54Z","updated_at":"2015-02-06T19:54:54Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/2398#discussion_r24267122","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2398","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/24267122"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/2398#discussion_r24267122"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2398"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2398","id":28826726,"html_url":"https://github.com/RIOT-OS/RIOT/pull/2398","diff_url":"https://github.com/RIOT-OS/RIOT/pull/2398.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/2398.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2398","number":2398,"state":"open","locked":false,"title":"net: added ng version of the netdev interface","user":{"login":"haukepetersen","id":620834,"avatar_url":"https://avatars.githubusercontent.com/u/620834?v=3","gravatar_id":"","url":"https://api.github.com/users/haukepetersen","html_url":"https://github.com/haukepetersen","followers_url":"https://api.github.com/users/haukepetersen/followers","following_url":"https://api.github.com/users/haukepetersen/following{/other_user}","gists_url":"https://api.github.com/users/haukepetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/haukepetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haukepetersen/subscriptions","organizations_url":"https://api.github.com/users/haukepetersen/orgs","repos_url":"https://api.github.com/users/haukepetersen/repos","events_url":"https://api.github.com/users/haukepetersen/events{/privacy}","received_events_url":"https://api.github.com/users/haukepetersen/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-06T17:35:42Z","updated_at":"2015-02-06T19:54:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ef328357d1a4201afc864e26adf31527445b3b2","assignee":{"login":"authmillenon","id":675644,"avatar_url":"https://avatars.githubusercontent.com/u/675644?v=3","gravatar_id":"","url":"https://api.github.com/users/authmillenon","html_url":"https://github.com/authmillenon","followers_url":"https://api.github.com/users/authmillenon/followers","following_url":"https://api.github.com/users/authmillenon/following{/other_user}","gists_url":"https://api.github.com/users/authmillenon/gists{/gist_id}","starred_url":"https://api.github.com/users/authmillenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/authmillenon/subscriptions","organizations_url":"https://api.github.com/users/authmillenon/orgs","repos_url":"https://api.github.com/users/authmillenon/repos","events_url":"https://api.github.com/users/authmillenon/events{/privacy}","received_events_url":"https://api.github.com/users/authmillenon/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/11","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones/11/labels","id":968921,"number":11,"title":"Network Stack Task Force","description":"The goal of this milestone is to implement the redesign of the network stack.","creator":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":0,"state":"open","created_at":"2015-02-06T16:04:53Z","updated_at":"2015-02-06T19:04:56Z","due_on":"2015-04-07T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2398/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2398/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/2398/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/da9dc9ad3cfa4acfda582ccba5e05ebd5f34c402","head":{"label":"haukepetersen:ng_ndetdev","ref":"ng_ndetdev","sha":"da9dc9ad3cfa4acfda582ccba5e05ebd5f34c402","user":{"login":"haukepetersen","id":620834,"avatar_url":"https://avatars.githubusercontent.com/u/620834?v=3","gravatar_id":"","url":"https://api.github.com/users/haukepetersen","html_url":"https://github.com/haukepetersen","followers_url":"https://api.github.com/users/haukepetersen/followers","following_url":"https://api.github.com/users/haukepetersen/following{/other_user}","gists_url":"https://api.github.com/users/haukepetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/haukepetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haukepetersen/subscriptions","organizations_url":"https://api.github.com/users/haukepetersen/orgs","repos_url":"https://api.github.com/users/haukepetersen/repos","events_url":"https://api.github.com/users/haukepetersen/events{/privacy}","received_events_url":"https://api.github.com/users/haukepetersen/received_events","type":"User","site_admin":false},"repo":{"id":13741766,"name":"RIOT","full_name":"haukepetersen/RIOT","owner":{"login":"haukepetersen","id":620834,"avatar_url":"https://avatars.githubusercontent.com/u/620834?v=3","gravatar_id":"","url":"https://api.github.com/users/haukepetersen","html_url":"https://github.com/haukepetersen","followers_url":"https://api.github.com/users/haukepetersen/followers","following_url":"https://api.github.com/users/haukepetersen/following{/other_user}","gists_url":"https://api.github.com/users/haukepetersen/gists{/gist_id}","starred_url":"https://api.github.com/users/haukepetersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haukepetersen/subscriptions","organizations_url":"https://api.github.com/users/haukepetersen/orgs","repos_url":"https://api.github.com/users/haukepetersen/repos","events_url":"https://api.github.com/users/haukepetersen/events{/privacy}","received_events_url":"https://api.github.com/users/haukepetersen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haukepetersen/RIOT","description":"RIOT OS -  The revolutionary IoT OS","fork":true,"url":"https://api.github.com/repos/haukepetersen/RIOT","forks_url":"https://api.github.com/repos/haukepetersen/RIOT/forks","keys_url":"https://api.github.com/repos/haukepetersen/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haukepetersen/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haukepetersen/RIOT/teams","hooks_url":"https://api.github.com/repos/haukepetersen/RIOT/hooks","issue_events_url":"https://api.github.com/repos/haukepetersen/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/haukepetersen/RIOT/events","assignees_url":"https://api.github.com/repos/haukepetersen/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/haukepetersen/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/haukepetersen/RIOT/tags","blobs_url":"https://api.github.com/repos/haukepetersen/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haukepetersen/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haukepetersen/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/haukepetersen/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haukepetersen/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/haukepetersen/RIOT/languages","stargazers_url":"https://api.github.com/repos/haukepetersen/RIOT/stargazers","contributors_url":"https://api.github.com/repos/haukepetersen/RIOT/contributors","subscribers_url":"https://api.github.com/repos/haukepetersen/RIOT/subscribers","subscription_url":"https://api.github.com/repos/haukepetersen/RIOT/subscription","commits_url":"https://api.github.com/repos/haukepetersen/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/haukepetersen/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/haukepetersen/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/haukepetersen/RIOT/issues/comments/{number}","contents_url":"https://api.github.com/repos/haukepetersen/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/haukepetersen/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haukepetersen/RIOT/merges","archive_url":"https://api.github.com/repos/haukepetersen/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haukepetersen/RIOT/downloads","issues_url":"https://api.github.com/repos/haukepetersen/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/haukepetersen/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/haukepetersen/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/haukepetersen/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haukepetersen/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/haukepetersen/RIOT/releases{/id}","created_at":"2013-10-21T12:31:38Z","updated_at":"2014-07-03T13:22:33Z","pushed_at":"2015-02-06T19:29:38Z","git_url":"git://github.com/haukepetersen/RIOT.git","ssh_url":"git@github.com:haukepetersen/RIOT.git","clone_url":"https://github.com/haukepetersen/RIOT.git","svn_url":"https://github.com/haukepetersen/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":16144,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"7fc721e2773a1a27e914a0006ca6cffbc40ef17d","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","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://avatars.githubusercontent.com/u/3079480?v=3","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}","created_at":"2012-12-29T20:38:40Z","updated_at":"2015-02-06T15:06:50Z","pushed_at":"2015-02-06T15:06:49Z","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":82371,"stargazers_count":249,"watchers_count":249,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":204,"mirror_url":null,"open_issues_count":284,"forks":204,"open_issues":284,"watchers":249,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2398"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/2398"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2398"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2398/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2398/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/2398/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/da9dc9ad3cfa4acfda582ccba5e05ebd5f34c402"}}}}