Show a patch.

GET /api/patches/73446/
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 73446,
    "url": "https://patches.dpdk.org/api/patches/73446/",
    "web_url": "https://patches.dpdk.org/patch/73446/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk"
    },
    "msgid": "<20200707122516.28630-1-levendsayar@gmail.com>",
    "date": "2020-07-07T12:25:16",
    "name": "build: C++ linkage support is added to rte_service_component.h file",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "9145080466ac573e29103dcea46a8618776f8f2b",
    "submitter": {
        "id": 1813,
        "url": "https://patches.dpdk.org/api/people/1813/",
        "name": "Levend Sayar",
        "email": "levendsayar@gmail.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/patch/73446/mbox/",
    "series": [
        {
            "id": 10856,
            "url": "https://patches.dpdk.org/api/series/10856/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10856",
            "date": "2020-07-07T12:25:16",
            "name": "build: C++ linkage support is added to rte_service_component.h file",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/10856/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73446/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73446/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "Date": "Tue,  7 Jul 2020 15:25:16 +0300",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Mailer": "git-send-email 2.27.0",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 6EBC6A00BE;\n\tTue,  7 Jul 2020 17:14:06 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id DB3C51DE71;\n\tTue,  7 Jul 2020 17:14:05 +0200 (CEST)",
            "from mail-ed1-f67.google.com (mail-ed1-f67.google.com\n [209.85.208.67]) by dpdk.org (Postfix) with ESMTP id 060D51D8E6\n for <dev@dpdk.org>; Tue,  7 Jul 2020 14:25:31 +0200 (CEST)",
            "by mail-ed1-f67.google.com with SMTP id e15so38184783edr.2\n for <dev@dpdk.org>; Tue, 07 Jul 2020 05:25:31 -0700 (PDT)",
            "from localhost.localdomain ([78.187.120.228])\n by smtp.gmail.com with ESMTPSA id m22sm325805ejb.47.2020.07.07.05.25.29\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Tue, 07 Jul 2020 05:25:29 -0700 (PDT)"
        ],
        "X-Google-Smtp-Source": "\n ABdhPJydeHvTzoQUOPiUgZDKG2hHktoMcgaRkrqloZv8cMrZZOjv3s1GeJmvCBcJPpZ0nA+KEWC0nw==",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=YEwXzOBEQPQkzyqFeM8thqjzgPh28EYeUgIqB1p4tQ4=;\n b=tzWkRCdo9wffRcLf8iNXYWxTjtqyNvC8hEGndV2F/JVwnajhc1ryNYBUEeehhVGk9i\n jtKPVqylflCqyW9DgBhsSPe/532TuaNLx+4+YUJTjSCc4hYJHpJ6i07bZXNoetvaVaKH\n Y+8oQ2E3EMJqIGWIpNCAZH+8OymwfVmG18iAcDx5cgL4TUQt6DcD81dlujIUqbWElXMB\n HWuxmBx7um0rdBTvGpJC7EwS5g6TmiqGzeVCg4n+d+NdynnIYbOm6XoDHkN8pb5J/Hw7\n AwPvnavlZk//LwsvTX1jaSzXHvI+PEBP0Adj2Li83aRue/4uLWtNnibK1xBhATYPV9Sv\n ehFg==",
        "MIME-Version": "1.0",
        "X-Mailman-Approved-At": "Tue, 07 Jul 2020 17:14:05 +0200",
        "X-Received": "by 2002:aa7:c31a:: with SMTP id l26mr58618338edq.61.1594124730769;\n Tue, 07 Jul 2020 05:25:30 -0700 (PDT)",
        "Message-Id": "<20200707122516.28630-1-levendsayar@gmail.com>",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding;\n bh=YEwXzOBEQPQkzyqFeM8thqjzgPh28EYeUgIqB1p4tQ4=;\n b=gSc19VKZGrqf0a5XLhUYYbsviJn5y/rdxWDA0f1ltA+36b+d5OAAINpPxEn/qTljoY\n C8PMAF6V8ElJ0kRVDobby2wGF+tgntP7GRydbqqGh2xFD6D0shOpHxkHUA0jShZjjEF4\n ekj/i9jKDKFyCyouJcoeAPbUBkEn3+7BGeSjqJRoYHis97jR3JNZ1I5EkdpnMA+QRKhB\n 9RQLXAgmclgtkOUXzyXkxCG7B9lBUWGdjFJhrMb/MZL5mXEE1TqRYLVx762V++21L8Es\n BrjchSB+3Vsy11H2JOWsiTJxpxCEovnjCPJdWMjla1GbPyp5UuwG+rk0QjHOduqL/8hb\n tfQg==",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Content-Transfer-Encoding": "8bit",
        "From": "levendsayar@gmail.com",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "To": "thomas@monjalon.net",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-BeenThere": "dev@dpdk.org",
        "X-Gm-Message-State": "AOAM533Hw8Tta2tIvnW3gyzqb1XuV4kNE96YIORtICRru6+tMfKsFdpB\n xnB7Ry+y+78po9GCW6Winyk=",
        "Cc": "dev@dpdk.org,\n\tLevend Sayar <levendsayar@gmail.com>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH] build: C++ linkage support is added to\n\trte_service_component.h file"
    },
    "content": "From: Levend Sayar <levendsayar@gmail.com>\n\nSigned-off-by: Levend Sayar <levendsayar@gmail.com>\n---\n lib/librte_eal/include/rte_service_component.h | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_eal/include/rte_service_component.h b/lib/librte_eal/include/rte_service_component.h\nindex b75aba11b..c1eefae41 100644\n--- a/lib/librte_eal/include/rte_service_component.h\n+++ b/lib/librte_eal/include/rte_service_component.h\n@@ -9,6 +9,11 @@\n  * Include this file if you are writing a component that requires CPU cycles to\n  * operate, and you wish to run the component using service cores\n  */\n+\n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n #include <rte_compat.h>\n #include <rte_service.h>\n \n@@ -130,4 +135,8 @@ int32_t rte_service_init(void);\n  */\n void rte_service_finalize(void);\n \n-#endif /* _SERVICE_PRIVATE_H_ */\n+#ifdef __cplusplus\n+}\n+#endif\n+\n+#endif /* _RTE_SERVICE_PRIVATE_H_ */\n",
    "prefixes": []
}