Show a patch.

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

{
    "id": 178,
    "url": "https://patchwork.libcamera.org/api/patches/178/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/178/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20190108143020.9820-1-laurent.pinchart@ideasonboard.com>",
    "date": "2019-01-08T14:30:20",
    "name": "[libcamera-devel] libcamera: Update libcamera.h",
    "commit_ref": "afcec99b99c3313805deaededa3158e4ad089b6e",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "63cb7938a9d2cb8ee6ab65f85eaed13a6c9f422a",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/178/mbox/",
    "series": [
        {
            "id": 58,
            "url": "https://patchwork.libcamera.org/api/series/58/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=58",
            "date": "2019-01-08T14:30:20",
            "name": "[libcamera-devel] libcamera: Update libcamera.h",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/58/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/178/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/178/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<laurent.pinchart@ideasonboard.com>",
        "Received": [
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6A4A760B2E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  8 Jan 2019 15:29:34 +0100 (CET)",
            "from avalon.bb.dnainternet.fi\n\t(dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id DB492586\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  8 Jan 2019 15:29:33 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1546957774;\n\tbh=Dc4fM56SUjAMAW/wzGjuONqqZcZRHRofMdY3pkw+0MY=;\n\th=From:To:Subject:Date:From;\n\tb=jWNQfDOBEl/xqb4SWPN0nwKFXAcvFMx0CESIMbxJn1zjtnr5iCBSNOq9H3cpJXw6x\n\ttOrGyC4gqzeSbLpF4ihvA0Tqcfsx1/crEGouBAIWw5S+MUnUOxP5uveaqHv/I9sCMU\n\tt0DDroI73HV2vZcZqq1qqIY88hb2UurdiZUe0R2w=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue,  8 Jan 2019 16:30:20 +0200",
        "Message-Id": "<20190108143020.9820-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.19.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] libcamera: Update libcamera.h",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "X-List-Received-Date": "Tue, 08 Jan 2019 14:29:34 -0000"
    },
    "content": "libcamera.h hasn't been updated with the recently added public headers\nevent_notifier.h, signal.h and timer.h. Add them.\n\nThe event_dispatcher_poll.h header, which used to be public, is now\nprivate, but hasn't been removed from libcamera.h. Remove it.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n include/libcamera/libcamera.h | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/include/libcamera/libcamera.h b/include/libcamera/libcamera.h\nindex 2dcaeda49812..c0511cf6d662 100644\n--- a/include/libcamera/libcamera.h\n+++ b/include/libcamera/libcamera.h\n@@ -10,6 +10,8 @@\n #include <libcamera/camera.h>\n #include <libcamera/camera_manager.h>\n #include <libcamera/event_dispatcher.h>\n-#include <libcamera/event_dispatcher_poll.h>\n+#include <libcamera/event_notifier.h>\n+#include <libcamera/signal.h>\n+#include <libcamera/timer.h>\n \n #endif /* __LIBCAMERA_LIBCAMERA_H__ */\n",
    "prefixes": [
        "libcamera-devel"
    ]
}