Show a patch.

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

{
    "id": 73525,
    "url": "https://patches.dpdk.org/api/patches/73525/",
    "web_url": "https://patches.dpdk.org/patch/73525/",
    "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": "<20200707161558.39334-1-levendsayar@gmail.com>",
    "date": "2020-07-07T16:15:58",
    "name": "[v2] build: Add C++ linkage support to rte_service_component.h file",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "92dca49e16db6289db2517286117c8d80a64c17b",
    "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/73525/mbox/",
    "series": [
        {
            "id": 10890,
            "url": "https://patches.dpdk.org/api/series/10890/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10890",
            "date": "2020-07-07T16:15:58",
            "name": "[v2] build: Add C++ linkage support to rte_service_component.h file",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/10890/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73525/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/73525/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "To": "thomas@monjalon.net",
        "X-Google-Smtp-Source": "\n ABdhPJwXh1eW4QqQmh1M5Ab+Z8BGFo2lFBj5j7rHHAEFNj73owWlNvw1eD473tOEzo9mKOai9FiqAg==",
        "Message-Id": "<20200707161558.39334-1-levendsayar@gmail.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "X-Gm-Message-State": "AOAM531330NnjWrwr/N/M/J/wbXqnlXSrFNAc/23cU79IWfZh9ZAeGPJ\n JtK5F90Qm+AUQFdGNP3b1DQ=",
        "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=Gox4gx0eqGpG2wdIcOqtQENQSjBshybURr9pRs8rF+I=;\n b=r+Yt5ZZqH4fF+KqJOvw2UIuc/KE6wnJE3k9juHEyEWvn2FJPUq+68a1c7RVGv/ijFa\n sPEZoNd5TrIAzJ2OYCJW3vhH7/1DMeZnGiWYUnpOIUW9hbApDwKM5dueD4oK/E30u1Fu\n yKeyTshkGWLenWraCWQEl/m3cqCCQ11D78uMkxhRU1Uz3GlmgdNoFcy2GycfzZ9eVxEJ\n lSxzF/MorVTIjfpEQNGBI543NavBgfK9vQedA0auSwiVnS7ARkmKQuQ6xX44tH9gEA/W\n XCakG5TsMq2WjTwvoU7DZGQfyMJoMkRErNqrVw7aFCWlDYnEZfFxkE83RC0vgXgQWIGN\n AFwQ==",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B85F5A0526;\n\tWed,  8 Jul 2020 14:30:07 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 258571DDCC;\n\tWed,  8 Jul 2020 14:29:57 +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 BD7791DA70\n for <dev@dpdk.org>; Tue,  7 Jul 2020 18:16:02 +0200 (CEST)",
            "by mail-ed1-f67.google.com with SMTP id d18so33328169edv.6\n for <dev@dpdk.org>; Tue, 07 Jul 2020 09:16:02 -0700 (PDT)",
            "from localhost.localdomain ([78.187.120.228])\n by smtp.gmail.com with ESMTPSA id e16sm549131ejt.14.2020.07.07.09.16.01\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Tue, 07 Jul 2020 09:16:01 -0700 (PDT)"
        ],
        "Subject": "[dpdk-dev] [PATCH v2] build: Add C++ linkage support to\n\trte_service_component.h file",
        "Date": "Tue,  7 Jul 2020 19:15:58 +0300",
        "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>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Cc": "dev@dpdk.org, Levend Sayar <levendsayar@gmail.com>,\n Harry van Haaren <harry.van.haaren@intel.com>",
        "Precedence": "list",
        "From": "levendsayar@gmail.com",
        "X-Received": "by 2002:a50:cd53:: with SMTP id\n d19mr63405274edj.300.1594138562468;\n Tue, 07 Jul 2020 09:16:02 -0700 (PDT)",
        "X-Mailman-Approved-At": "Wed, 08 Jul 2020 14:29:52 +0200",
        "Content-Transfer-Encoding": "8bit",
        "MIME-Version": "1.0",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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=Gox4gx0eqGpG2wdIcOqtQENQSjBshybURr9pRs8rF+I=;\n b=goMYJJmFng2lMWDea+wCR0rr+qV0g5OEAqEpqdWfdk1IUqt3zgDrK5GUnzHckk2kmV\n +ogYXoMkM9fhe3KJWTtP5bXo4Idn83RbW7hhskR9io0QKpUB9YdMVjkEWFFPZWFcbYm1\n 8jwJDR+TAxM/dkNNJKG+XPUIwbQXRTBf8x82kls6WRaoPRTLei9vfbkx9j3TMAQU1U4K\n XuTwuv+OmdrMu03AW3gEN4rG/N1dGEgilb6AXfwPU7CJLrH4wPlXts7VERGHwPJUOiwD\n nqvlmWJKw5lFB5K/Kiajm0GCLHGHBbW70cxRU1XzJMttHqWvw7M0V6BuYXEalvVBsVZy\n gvuA=="
    },
    "content": "From: Levend Sayar <levendsayar@gmail.com>\n\n\"extern C\" define is added to rte_service_component.h file\nto be able to use in C++ context.\n\nSigned-off-by: Levend Sayar <levendsayar@gmail.com>\nAcked-by: Harry van Haaren <harry.van.haaren@intel.com>\n---\n lib/librte_eal/include/rte_service_component.h | 9 +++++++++\n 1 file changed, 9 insertions(+)",
    "diff": "diff --git a/lib/librte_eal/include/rte_service_component.h b/lib/librte_eal/include/rte_service_component.h\nindex b75aba11b..9e66ee7e2 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+#ifdef __cplusplus\n+}\n+#endif\n+\n #endif /* _SERVICE_PRIVATE_H_ */\n",
    "prefixes": [
        "v2"
    ]
}