get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2425,
    "url": "https://patches.dpdk.org/api/patches/2425/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421859626-27723-1-git-send-email-marc.sune@bisdn.de/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "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",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1421859626-27723-1-git-send-email-marc.sune@bisdn.de>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421859626-27723-1-git-send-email-marc.sune@bisdn.de",
    "date": "2015-01-21T17:00:26",
    "name": "[dpdk-dev] Added missing extern 'C' decls in rte_ip_frag.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "31c59cad8ef0bad001a365f22d8dee58f698393f",
    "submitter": {
        "id": 83,
        "url": "https://patches.dpdk.org/api/people/83/?format=api",
        "name": "Marc Sune",
        "email": "marc.sune@bisdn.de"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421859626-27723-1-git-send-email-marc.sune@bisdn.de/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2425/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2425/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 160F05A31;\n\tWed, 21 Jan 2015 18:00:48 +0100 (CET)",
            "from mx.bisdn.de (mx.bisdn.de [185.27.182.31])\n\tby dpdk.org (Postfix) with ESMTP id B1A2F5A1F\n\tfor <dev@dpdk.org>; Wed, 21 Jan 2015 18:00:46 +0100 (CET)",
            "from localhost.localdomain (unknown [172.16.250.156])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby mx.bisdn.de (Postfix) with ESMTPSA id 270E7A2FBF;\n\tWed, 21 Jan 2015 18:00:46 +0100 (CET)"
        ],
        "From": "Marc Sune <marc.sune@bisdn.de>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 21 Jan 2015 18:00:26 +0100",
        "Message-Id": "<1421859626-27723-1-git-send-email-marc.sune@bisdn.de>",
        "X-Mailer": "git-send-email 2.1.4",
        "Subject": "[dpdk-dev] [PATCH] Added missing extern 'C' decls in rte_ip_frag.h",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Marc Sune <marc.sune@bisdn.de>\n---\n lib/librte_ip_frag/rte_ip_frag.h | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/lib/librte_ip_frag/rte_ip_frag.h b/lib/librte_ip_frag/rte_ip_frag.h\nindex 3989a5a..1083d44 100644\n--- a/lib/librte_ip_frag/rte_ip_frag.h\n+++ b/lib/librte_ip_frag/rte_ip_frag.h\n@@ -41,6 +41,10 @@\n  * Implementation of IP packet fragmentation and reassembly.\n  */\n \n+#ifdef __cplusplus\n+extern \"C\" {\n+#endif\n+\n #include <stdint.h>\n #include <stdio.h>\n \n@@ -350,4 +354,8 @@ void rte_ip_frag_free_death_row(struct rte_ip_frag_death_row *dr,\n void\n rte_ip_frag_table_statistics_dump(FILE * f, const struct rte_ip_frag_tbl *tbl);\n \n+#ifdef __cplusplus\n+}\n+#endif\n+\n #endif /* _RTE_IP_FRAG_H_ */\n",
    "prefixes": [
        "dpdk-dev"
    ]
}