Show a patch.

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

{
    "id": 3843,
    "url": "https://patchwork.libcamera.org/api/patches/3843/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3843/",
    "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": "<20200522145459.16836-5-laurent.pinchart@ideasonboard.com>",
    "date": "2020-05-22T14:54:51",
    "name": "[libcamera-devel,PATCH/RFC,03/11] libcamera: Rename header guards for internal headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "59356997682c0dc013ada921829ae6bc61d8059e",
    "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/3843/mbox/",
    "series": [
        {
            "id": 923,
            "url": "https://patchwork.libcamera.org/api/series/923/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=923",
            "date": "2020-05-22T14:54:47",
            "name": "Introduce formats:: namespace for libcamera pixel formats",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/923/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3843/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3843/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 765A861075\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 May 2020 16:55:20 +0200 (CEST)",
            "from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi\n\t[81.175.216.236])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 124AC24D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 May 2020 16:55:20 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"t4Z24fGg\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1590159320;\n\tbh=Imc2QEyOv/kZuE9LrLhXWLg0KcnDy0+Rf3Y0mBDeIYM=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=t4Z24fGgLfA9LFxgj1o7SwjG80Jf5LheEJ2qQzG+q0TejVQ5hfR98LbbYCJ5slwPz\n\tFiLpstjrzzwhQj/mu2C4zP03nwOeMY7Ei3R14kaFRptbaUVpHErI/5FyZXF0rpf93X\n\tNNjhAWKHeCdbYk1MCAX7kezgfmrBlb6mW8gOVcuQ=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 22 May 2020 17:54:51 +0300",
        "Message-Id": "<20200522145459.16836-5-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20200522145459.16836-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20200522145459.16836-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH/RFC 03/11] libcamera: Rename header guards\n\tfor internal headers",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "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": "Fri, 22 May 2020 14:55:20 -0000"
    },
    "content": "With the internal headers now in include/libcamera/internal/, we may\nhave identically named headers in include/libcamera/. Their header\nguards would clash. Rename the header guards of internal headers to\nprevent any issue.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n include/libcamera/internal/byte_stream_buffer.h      | 6 +++---\n include/libcamera/internal/camera_controls.h         | 6 +++---\n include/libcamera/internal/camera_sensor.h           | 6 +++---\n include/libcamera/internal/control_serializer.h      | 6 +++---\n include/libcamera/internal/control_validator.h       | 6 +++---\n include/libcamera/internal/device_enumerator.h       | 6 +++---\n include/libcamera/internal/device_enumerator_sysfs.h | 6 +++---\n include/libcamera/internal/device_enumerator_udev.h  | 6 +++---\n include/libcamera/internal/event_dispatcher_poll.h   | 6 +++---\n include/libcamera/internal/file.h                    | 6 +++---\n include/libcamera/internal/formats.h                 | 6 +++---\n include/libcamera/internal/ipa_context_wrapper.h     | 6 +++---\n include/libcamera/internal/ipa_manager.h             | 6 +++---\n include/libcamera/internal/ipa_module.h              | 6 +++---\n include/libcamera/internal/ipa_proxy.h               | 6 +++---\n include/libcamera/internal/ipc_unixsocket.h          | 6 +++---\n include/libcamera/internal/log.h                     | 6 +++---\n include/libcamera/internal/media_device.h            | 6 +++---\n include/libcamera/internal/media_object.h            | 6 +++---\n include/libcamera/internal/message.h                 | 6 +++---\n include/libcamera/internal/pipeline_handler.h        | 6 +++---\n include/libcamera/internal/process.h                 | 6 +++---\n include/libcamera/internal/pub_key.h                 | 6 +++---\n include/libcamera/internal/semaphore.h               | 6 +++---\n include/libcamera/internal/thread.h                  | 6 +++---\n include/libcamera/internal/utils.h                   | 6 +++---\n include/libcamera/internal/v4l2_controls.h           | 6 +++---\n include/libcamera/internal/v4l2_device.h             | 6 +++---\n include/libcamera/internal/v4l2_pixelformat.h        | 6 +++---\n include/libcamera/internal/v4l2_subdevice.h          | 6 +++---\n include/libcamera/internal/v4l2_videodevice.h        | 6 +++---\n 31 files changed, 93 insertions(+), 93 deletions(-)",
    "diff": "diff --git a/include/libcamera/internal/byte_stream_buffer.h b/include/libcamera/internal/byte_stream_buffer.h\nindex b3aaa8b9fb28..db59577dc332 100644\n--- a/include/libcamera/internal/byte_stream_buffer.h\n+++ b/include/libcamera/internal/byte_stream_buffer.h\n@@ -4,8 +4,8 @@\n  *\n  * byte_stream_buffer.h - Byte stream buffer\n  */\n-#ifndef __LIBCAMERA_BYTE_STREAM_BUFFER_H__\n-#define __LIBCAMERA_BYTE_STREAM_BUFFER_H__\n+#ifndef __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__\n+#define __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__\n \n #include <stddef.h>\n #include <stdint.h>\n@@ -86,4 +86,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_BYTE_STREAM_BUFFER_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_BYTE_STREAM_BUFFER_H__ */\ndiff --git a/include/libcamera/internal/camera_controls.h b/include/libcamera/internal/camera_controls.h\nindex dc8b3ba84bc4..6e40f4436cad 100644\n--- a/include/libcamera/internal/camera_controls.h\n+++ b/include/libcamera/internal/camera_controls.h\n@@ -4,8 +4,8 @@\n  *\n  * camera_controls.h - Camera controls\n  */\n-#ifndef __LIBCAMERA_CAMERA_CONTROLS_H__\n-#define __LIBCAMERA_CAMERA_CONTROLS_H__\n+#ifndef __LIBCAMERA_INTERNAL_CAMERA_CONTROLS_H__\n+#define __LIBCAMERA_INTERNAL_CAMERA_CONTROLS_H__\n \n #include \"libcamera/internal/control_validator.h\"\n \n@@ -27,4 +27,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_CAMERA_CONTROLS_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_CAMERA_CONTROLS_H__ */\ndiff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h\nindex d79bd9ce9d58..1f9de03c7563 100644\n--- a/include/libcamera/internal/camera_sensor.h\n+++ b/include/libcamera/internal/camera_sensor.h\n@@ -4,8 +4,8 @@\n  *\n  * camera_sensor.h - A camera sensor\n  */\n-#ifndef __LIBCAMERA_CAMERA_SENSOR_H__\n-#define __LIBCAMERA_CAMERA_SENSOR_H__\n+#ifndef __LIBCAMERA_INTERNAL_CAMERA_SENSOR_H__\n+#define __LIBCAMERA_INTERNAL_CAMERA_SENSOR_H__\n \n #include <memory>\n #include <string>\n@@ -85,4 +85,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_CAMERA_SENSOR_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_CAMERA_SENSOR_H__ */\ndiff --git a/include/libcamera/internal/control_serializer.h b/include/libcamera/internal/control_serializer.h\nindex 99bacd920fce..0ab29d9ad8bc 100644\n--- a/include/libcamera/internal/control_serializer.h\n+++ b/include/libcamera/internal/control_serializer.h\n@@ -4,8 +4,8 @@\n  *\n  * control_serializer.h - Control (de)serializer\n  */\n-#ifndef __LIBCAMERA_CONTROL_SERIALIZER_H__\n-#define __LIBCAMERA_CONTROL_SERIALIZER_H__\n+#ifndef __LIBCAMERA_INTERNAL_CONTROL_SERIALIZER_H__\n+#define __LIBCAMERA_INTERNAL_CONTROL_SERIALIZER_H__\n \n #include <map>\n #include <memory>\n@@ -52,4 +52,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_CONTROL_SERIALIZER_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_CONTROL_SERIALIZER_H__ */\ndiff --git a/include/libcamera/internal/control_validator.h b/include/libcamera/internal/control_validator.h\nindex f1c9110b158f..4a00b9b7f686 100644\n--- a/include/libcamera/internal/control_validator.h\n+++ b/include/libcamera/internal/control_validator.h\n@@ -4,8 +4,8 @@\n  *\n  * control_validator.h - Control validator\n  */\n-#ifndef __LIBCAMERA_CONTROL_VALIDATOR_H__\n-#define __LIBCAMERA_CONTROL_VALIDATOR_H__\n+#ifndef __LIBCAMERA_INTERNAL_CONTROL_VALIDATOR_H__\n+#define __LIBCAMERA_INTERNAL_CONTROL_VALIDATOR_H__\n \n #include <string>\n \n@@ -24,4 +24,4 @@ public:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_CONTROL_VALIDATOR_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_CONTROL_VALIDATOR_H__ */\ndiff --git a/include/libcamera/internal/device_enumerator.h b/include/libcamera/internal/device_enumerator.h\nindex 433e357aebae..25a363086e49 100644\n--- a/include/libcamera/internal/device_enumerator.h\n+++ b/include/libcamera/internal/device_enumerator.h\n@@ -4,8 +4,8 @@\n  *\n  * device_enumerator.h - API to enumerate and find media devices\n  */\n-#ifndef __LIBCAMERA_DEVICE_ENUMERATOR_H__\n-#define __LIBCAMERA_DEVICE_ENUMERATOR_H__\n+#ifndef __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_H__\n+#define __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_H__\n \n #include <memory>\n #include <string>\n@@ -54,4 +54,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif\t/* __LIBCAMERA_DEVICE_ENUMERATOR_H__ */\n+#endif\t/* __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_H__ */\ndiff --git a/include/libcamera/internal/device_enumerator_sysfs.h b/include/libcamera/internal/device_enumerator_sysfs.h\nindex a63e737a78d5..2112bc543054 100644\n--- a/include/libcamera/internal/device_enumerator_sysfs.h\n+++ b/include/libcamera/internal/device_enumerator_sysfs.h\n@@ -4,8 +4,8 @@\n  *\n  * device_enumerator_sysfs.h - sysfs-based device enumerator\n  */\n-#ifndef __LIBCAMERA_DEVICE_ENUMERATOR_SYSFS_H__\n-#define __LIBCAMERA_DEVICE_ENUMERATOR_SYSFS_H__\n+#ifndef __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_SYSFS_H__\n+#define __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_SYSFS_H__\n \n #include <memory>\n #include <string>\n@@ -29,4 +29,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_DEVICE_ENUMERATOR_SYSFS_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_SYSFS_H__ */\ndiff --git a/include/libcamera/internal/device_enumerator_udev.h b/include/libcamera/internal/device_enumerator_udev.h\nindex fdaa20968ef0..818d8bc71d67 100644\n--- a/include/libcamera/internal/device_enumerator_udev.h\n+++ b/include/libcamera/internal/device_enumerator_udev.h\n@@ -4,8 +4,8 @@\n  *\n  * device_enumerator_udev.h - udev-based device enumerator\n  */\n-#ifndef __LIBCAMERA_DEVICE_ENUMERATOR_UDEV_H__\n-#define __LIBCAMERA_DEVICE_ENUMERATOR_UDEV_H__\n+#ifndef __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__\n+#define __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__\n \n #include <list>\n #include <map>\n@@ -72,4 +72,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif\t/* __LIBCAMERA_DEVICE_ENUMERATOR_UDEV_H__ */\n+#endif\t/* __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__ */\ndiff --git a/include/libcamera/internal/event_dispatcher_poll.h b/include/libcamera/internal/event_dispatcher_poll.h\nindex 1f0738617425..fb774efd3d97 100644\n--- a/include/libcamera/internal/event_dispatcher_poll.h\n+++ b/include/libcamera/internal/event_dispatcher_poll.h\n@@ -4,8 +4,8 @@\n  *\n  * event_dispatcher_poll.h - Poll-based event dispatcher\n  */\n-#ifndef __LIBCAMERA_EVENT_DISPATCHER_POLL_H__\n-#define __LIBCAMERA_EVENT_DISPATCHER_POLL_H__\n+#ifndef __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__\n+#define __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__\n \n #include <list>\n #include <map>\n@@ -55,4 +55,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_EVENT_DISPATCHER_POLL_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__ */\ndiff --git a/include/libcamera/internal/file.h b/include/libcamera/internal/file.h\nindex f020f2ccba1d..e3e72132e336 100644\n--- a/include/libcamera/internal/file.h\n+++ b/include/libcamera/internal/file.h\n@@ -4,8 +4,8 @@\n  *\n  * file.h - File I/O operations\n  */\n-#ifndef __LIBCAMERA_FILE_H__\n-#define __LIBCAMERA_FILE_H__\n+#ifndef __LIBCAMERA_INTERNAL_FILE_H__\n+#define __LIBCAMERA_INTERNAL_FILE_H__\n \n #include <map>\n #include <string>\n@@ -68,4 +68,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_FILE_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_FILE_H__ */\ndiff --git a/include/libcamera/internal/formats.h b/include/libcamera/internal/formats.h\nindex 4455b0f9b050..4b172efc6588 100644\n--- a/include/libcamera/internal/formats.h\n+++ b/include/libcamera/internal/formats.h\n@@ -5,8 +5,8 @@\n  * formats.h - libcamera image formats\n  */\n \n-#ifndef __LIBCAMERA_FORMATS_H__\n-#define __LIBCAMERA_FORMATS_H__\n+#ifndef __LIBCAMERA_INTERNAL_FORMATS_H__\n+#define __LIBCAMERA_INTERNAL_FORMATS_H__\n \n #include <map>\n #include <vector>\n@@ -55,4 +55,4 @@ public:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_FORMATS_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_FORMATS_H__ */\ndiff --git a/include/libcamera/internal/ipa_context_wrapper.h b/include/libcamera/internal/ipa_context_wrapper.h\nindex bd770e132c0c..4e6f791d18e6 100644\n--- a/include/libcamera/internal/ipa_context_wrapper.h\n+++ b/include/libcamera/internal/ipa_context_wrapper.h\n@@ -4,8 +4,8 @@\n  *\n  * ipa_context_wrapper.h - Image Processing Algorithm context wrapper\n  */\n-#ifndef __LIBCAMERA_IPA_CONTEXT_WRAPPER_H__\n-#define __LIBCAMERA_IPA_CONTEXT_WRAPPER_H__\n+#ifndef __LIBCAMERA_INTERNAL_IPA_CONTEXT_WRAPPER_H__\n+#define __LIBCAMERA_INTERNAL_IPA_CONTEXT_WRAPPER_H__\n \n #include <libcamera/ipa/ipa_interface.h>\n \n@@ -47,4 +47,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_IPA_CONTEXT_WRAPPER_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_IPA_CONTEXT_WRAPPER_H__ */\ndiff --git a/include/libcamera/internal/ipa_manager.h b/include/libcamera/internal/ipa_manager.h\nindex 2412d75746ac..63430ade8a7a 100644\n--- a/include/libcamera/internal/ipa_manager.h\n+++ b/include/libcamera/internal/ipa_manager.h\n@@ -4,8 +4,8 @@\n  *\n  * ipa_manager.h - Image Processing Algorithm module manager\n  */\n-#ifndef __LIBCAMERA_IPA_MANAGER_H__\n-#define __LIBCAMERA_IPA_MANAGER_H__\n+#ifndef __LIBCAMERA_INTERNAL_IPA_MANAGER_H__\n+#define __LIBCAMERA_INTERNAL_IPA_MANAGER_H__\n \n #include <stdint.h>\n #include <vector>\n@@ -48,4 +48,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_IPA_MANAGER_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_IPA_MANAGER_H__ */\ndiff --git a/include/libcamera/internal/ipa_module.h b/include/libcamera/internal/ipa_module.h\nindex 5b54cb31a48a..c80aaf46f81b 100644\n--- a/include/libcamera/internal/ipa_module.h\n+++ b/include/libcamera/internal/ipa_module.h\n@@ -4,8 +4,8 @@\n  *\n  * ipa_module.h - Image Processing Algorithm module\n  */\n-#ifndef __LIBCAMERA_IPA_MODULE_H__\n-#define __LIBCAMERA_IPA_MODULE_H__\n+#ifndef __LIBCAMERA_INTERNAL_IPA_MODULE_H__\n+#define __LIBCAMERA_INTERNAL_IPA_MODULE_H__\n \n #include <stdint.h>\n #include <string>\n@@ -58,4 +58,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_IPA_MODULE_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_IPA_MODULE_H__ */\ndiff --git a/include/libcamera/internal/ipa_proxy.h b/include/libcamera/internal/ipa_proxy.h\nindex e9a36608bd31..aec8f04ffc15 100644\n--- a/include/libcamera/internal/ipa_proxy.h\n+++ b/include/libcamera/internal/ipa_proxy.h\n@@ -4,8 +4,8 @@\n  *\n  * ipa_proxy.h - Image Processing Algorithm proxy\n  */\n-#ifndef __LIBCAMERA_IPA_PROXY_H__\n-#define __LIBCAMERA_IPA_PROXY_H__\n+#ifndef __LIBCAMERA_INTERNAL_IPA_PROXY_H__\n+#define __LIBCAMERA_INTERNAL_IPA_PROXY_H__\n \n #include <memory>\n #include <string>\n@@ -67,4 +67,4 @@ static proxy##Factory global_##proxy##Factory;\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_IPA_PROXY_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_IPA_PROXY_H__ */\ndiff --git a/include/libcamera/internal/ipc_unixsocket.h b/include/libcamera/internal/ipc_unixsocket.h\nindex 820d05611049..9dcaaa26956d 100644\n--- a/include/libcamera/internal/ipc_unixsocket.h\n+++ b/include/libcamera/internal/ipc_unixsocket.h\n@@ -5,8 +5,8 @@\n  * ipc_unixsocket.h - IPC mechanism based on Unix sockets\n  */\n \n-#ifndef __LIBCAMERA_IPC_UNIXSOCKET_H__\n-#define __LIBCAMERA_IPC_UNIXSOCKET_H__\n+#ifndef __LIBCAMERA_INTERNAL_IPC_UNIXSOCKET_H__\n+#define __LIBCAMERA_INTERNAL_IPC_UNIXSOCKET_H__\n \n #include <stdint.h>\n #include <sys/types.h>\n@@ -56,4 +56,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_IPC_UNIXSOCKET_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_IPC_UNIXSOCKET_H__ */\ndiff --git a/include/libcamera/internal/log.h b/include/libcamera/internal/log.h\nindex cab2034aae6b..4b10087a4718 100644\n--- a/include/libcamera/internal/log.h\n+++ b/include/libcamera/internal/log.h\n@@ -4,8 +4,8 @@\n  *\n  * log.h - Logging infrastructure\n  */\n-#ifndef __LIBCAMERA_LOG_H__\n-#define __LIBCAMERA_LOG_H__\n+#ifndef __LIBCAMERA_INTERNAL_LOG_H__\n+#define __LIBCAMERA_INTERNAL_LOG_H__\n \n #include <chrono>\n #include <sstream>\n@@ -127,4 +127,4 @@ LogMessage _log(const char *file, unsigned int line,\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_LOG_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_LOG_H__ */\ndiff --git a/include/libcamera/internal/media_device.h b/include/libcamera/internal/media_device.h\nindex 9fe76c514b17..24093674fe15 100644\n--- a/include/libcamera/internal/media_device.h\n+++ b/include/libcamera/internal/media_device.h\n@@ -4,8 +4,8 @@\n  *\n  * media_device.h - Media device handler\n  */\n-#ifndef __LIBCAMERA_MEDIA_DEVICE_H__\n-#define __LIBCAMERA_MEDIA_DEVICE_H__\n+#ifndef __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__\n+#define __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__\n \n #include <map>\n #include <sstream>\n@@ -91,4 +91,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_MEDIA_DEVICE_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__ */\ndiff --git a/include/libcamera/internal/media_object.h b/include/libcamera/internal/media_object.h\nindex 748eafdc880b..d9b1c19bbf96 100644\n--- a/include/libcamera/internal/media_object.h\n+++ b/include/libcamera/internal/media_object.h\n@@ -4,8 +4,8 @@\n  *\n  * media_object.h - Media Device objects: entities, pads and links.\n  */\n-#ifndef __LIBCAMERA_MEDIA_OBJECT_H__\n-#define __LIBCAMERA_MEDIA_OBJECT_H__\n+#ifndef __LIBCAMERA_INTERNAL_MEDIA_OBJECT_H__\n+#define __LIBCAMERA_INTERNAL_MEDIA_OBJECT_H__\n \n #include <string>\n #include <vector>\n@@ -121,4 +121,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_MEDIA_OBJECT_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_MEDIA_OBJECT_H__ */\ndiff --git a/include/libcamera/internal/message.h b/include/libcamera/internal/message.h\nindex 8e8b013dcd18..92ea64a5d714 100644\n--- a/include/libcamera/internal/message.h\n+++ b/include/libcamera/internal/message.h\n@@ -4,8 +4,8 @@\n  *\n  * message.h - Message queue support\n  */\n-#ifndef __LIBCAMERA_MESSAGE_H__\n-#define __LIBCAMERA_MESSAGE_H__\n+#ifndef __LIBCAMERA_INTERNAL_MESSAGE_H__\n+#define __LIBCAMERA_INTERNAL_MESSAGE_H__\n \n #include <atomic>\n \n@@ -67,4 +67,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_MESSAGE_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_MESSAGE_H__ */\ndiff --git a/include/libcamera/internal/pipeline_handler.h b/include/libcamera/internal/pipeline_handler.h\nindex 428f5887c76b..56968d14a6e8 100644\n--- a/include/libcamera/internal/pipeline_handler.h\n+++ b/include/libcamera/internal/pipeline_handler.h\n@@ -4,8 +4,8 @@\n  *\n  * pipeline_handler.h - Pipeline handler infrastructure\n  */\n-#ifndef __LIBCAMERA_PIPELINE_HANDLER_H__\n-#define __LIBCAMERA_PIPELINE_HANDLER_H__\n+#ifndef __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__\n+#define __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__\n \n #include <list>\n #include <map>\n@@ -148,4 +148,4 @@ static handler##Factory global_##handler##Factory;\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_PIPELINE_HANDLER_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__ */\ndiff --git a/include/libcamera/internal/process.h b/include/libcamera/internal/process.h\nindex d322fce13ae4..36595106f3b9 100644\n--- a/include/libcamera/internal/process.h\n+++ b/include/libcamera/internal/process.h\n@@ -4,8 +4,8 @@\n  *\n  * process.h - Process object\n  */\n-#ifndef __LIBCAMERA_PROCESS_H__\n-#define __LIBCAMERA_PROCESS_H__\n+#ifndef __LIBCAMERA_INTERNAL_PROCESS_H__\n+#define __LIBCAMERA_INTERNAL_PROCESS_H__\n \n #include <string>\n #include <vector>\n@@ -52,4 +52,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_PROCESS_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_PROCESS_H__ */\ndiff --git a/include/libcamera/internal/pub_key.h b/include/libcamera/internal/pub_key.h\nindex f35bf3738c6f..f5f988b58f74 100644\n--- a/include/libcamera/internal/pub_key.h\n+++ b/include/libcamera/internal/pub_key.h\n@@ -4,8 +4,8 @@\n  *\n  * pub_key.h - Public key signature verification\n  */\n-#ifndef __LIBCAMERA_PUB_KEY_H__\n-#define __LIBCAMERA_PUB_KEY_H__\n+#ifndef __LIBCAMERA_INTERNAL_PUB_KEY_H__\n+#define __LIBCAMERA_INTERNAL_PUB_KEY_H__\n \n #include <stdint.h>\n \n@@ -35,4 +35,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_PUB_KEY_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_PUB_KEY_H__ */\ndiff --git a/include/libcamera/internal/semaphore.h b/include/libcamera/internal/semaphore.h\nindex 4d93077c776f..9dc65d299cfd 100644\n--- a/include/libcamera/internal/semaphore.h\n+++ b/include/libcamera/internal/semaphore.h\n@@ -4,8 +4,8 @@\n  *\n  * semaphore.h - General-purpose counting semaphore\n  */\n-#ifndef __LIBCAMERA_SEMAPHORE_H__\n-#define __LIBCAMERA_SEMAPHORE_H__\n+#ifndef __LIBCAMERA_INTERNAL_SEMAPHORE_H__\n+#define __LIBCAMERA_INTERNAL_SEMAPHORE_H__\n \n #include <condition_variable>\n \n@@ -31,4 +31,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_SEMAPHORE_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_SEMAPHORE_H__ */\ndiff --git a/include/libcamera/internal/thread.h b/include/libcamera/internal/thread.h\nindex 6594c9b06b8d..7b59e583c19f 100644\n--- a/include/libcamera/internal/thread.h\n+++ b/include/libcamera/internal/thread.h\n@@ -4,8 +4,8 @@\n  *\n  * thread.h - Thread support\n  */\n-#ifndef __LIBCAMERA_THREAD_H__\n-#define __LIBCAMERA_THREAD_H__\n+#ifndef __LIBCAMERA_INTERNAL_THREAD_H__\n+#define __LIBCAMERA_INTERNAL_THREAD_H__\n \n #include <memory>\n #include <mutex>\n@@ -74,4 +74,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_THREAD_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_THREAD_H__ */\ndiff --git a/include/libcamera/internal/utils.h b/include/libcamera/internal/utils.h\nindex 3334ff16613d..0953423ee8d0 100644\n--- a/include/libcamera/internal/utils.h\n+++ b/include/libcamera/internal/utils.h\n@@ -4,8 +4,8 @@\n  *\n  * utils.h - Miscellaneous utility functions\n  */\n-#ifndef __LIBCAMERA_UTILS_H__\n-#define __LIBCAMERA_UTILS_H__\n+#ifndef __LIBCAMERA_INTERNAL_UTILS_H__\n+#define __LIBCAMERA_INTERNAL_UTILS_H__\n \n #include <algorithm>\n #include <chrono>\n@@ -194,4 +194,4 @@ std::string libcameraSourcePath();\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_UTILS_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_UTILS_H__ */\ndiff --git a/include/libcamera/internal/v4l2_controls.h b/include/libcamera/internal/v4l2_controls.h\nindex cffe9efd9919..0851b8ddb128 100644\n--- a/include/libcamera/internal/v4l2_controls.h\n+++ b/include/libcamera/internal/v4l2_controls.h\n@@ -5,8 +5,8 @@\n  * v4l2_controls.h - V4L2 Controls Support\n  */\n \n-#ifndef __LIBCAMERA_V4L2_CONTROLS_H__\n-#define __LIBCAMERA_V4L2_CONTROLS_H__\n+#ifndef __LIBCAMERA_INTERNAL_V4L2_CONTROLS_H__\n+#define __LIBCAMERA_INTERNAL_V4L2_CONTROLS_H__\n \n #include <linux/videodev2.h>\n \n@@ -28,4 +28,4 @@ public:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_V4L2_CONTROLS_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_V4L2_CONTROLS_H__ */\ndiff --git a/include/libcamera/internal/v4l2_device.h b/include/libcamera/internal/v4l2_device.h\nindex d491eafd262e..bf643f2ec966 100644\n--- a/include/libcamera/internal/v4l2_device.h\n+++ b/include/libcamera/internal/v4l2_device.h\n@@ -4,8 +4,8 @@\n  *\n  * v4l2_device.h - Common base for V4L2 video devices and subdevices\n  */\n-#ifndef __LIBCAMERA_V4L2_DEVICE_H__\n-#define __LIBCAMERA_V4L2_DEVICE_H__\n+#ifndef __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__\n+#define __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__\n \n #include <map>\n #include <memory>\n@@ -57,4 +57,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_V4L2_DEVICE_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_V4L2_DEVICE_H__ */\ndiff --git a/include/libcamera/internal/v4l2_pixelformat.h b/include/libcamera/internal/v4l2_pixelformat.h\nindex 4d0e034b8b51..9bfd81ad6651 100644\n--- a/include/libcamera/internal/v4l2_pixelformat.h\n+++ b/include/libcamera/internal/v4l2_pixelformat.h\n@@ -5,8 +5,8 @@\n  *\n  * v4l2_pixelformat.h - V4L2 Pixel Format\n  */\n-#ifndef __LIBCAMERA_V4L2_PIXELFORMAT_H__\n-#define __LIBCAMERA_V4L2_PIXELFORMAT_H__\n+#ifndef __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__\n+#define __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__\n \n #include <stdint.h>\n #include <string>\n@@ -46,4 +46,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_V4L2_PIXELFORMAT_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_V4L2_PIXELFORMAT_H__ */\ndiff --git a/include/libcamera/internal/v4l2_subdevice.h b/include/libcamera/internal/v4l2_subdevice.h\nindex 1be454f0ddda..8016fa5da68c 100644\n--- a/include/libcamera/internal/v4l2_subdevice.h\n+++ b/include/libcamera/internal/v4l2_subdevice.h\n@@ -4,8 +4,8 @@\n  *\n  * v4l2_subdevice.h - V4L2 Subdevice\n  */\n-#ifndef __LIBCAMERA_V4L2_SUBDEVICE_H__\n-#define __LIBCAMERA_V4L2_SUBDEVICE_H__\n+#ifndef __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__\n+#define __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__\n \n #include <string>\n #include <vector>\n@@ -74,4 +74,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_V4L2_SUBDEVICE_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_V4L2_SUBDEVICE_H__ */\ndiff --git a/include/libcamera/internal/v4l2_videodevice.h b/include/libcamera/internal/v4l2_videodevice.h\nindex c93cf816373b..29d819a8dacd 100644\n--- a/include/libcamera/internal/v4l2_videodevice.h\n+++ b/include/libcamera/internal/v4l2_videodevice.h\n@@ -4,8 +4,8 @@\n  *\n  * v4l2_videodevice.h - V4L2 Video Device\n  */\n-#ifndef __LIBCAMERA_V4L2_VIDEODEVICE_H__\n-#define __LIBCAMERA_V4L2_VIDEODEVICE_H__\n+#ifndef __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__\n+#define __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__\n \n #include <atomic>\n #include <memory>\n@@ -274,4 +274,4 @@ private:\n \n } /* namespace libcamera */\n \n-#endif /* __LIBCAMERA_V4L2_VIDEODEVICE_H__ */\n+#endif /* __LIBCAMERA_INTERNAL_V4L2_VIDEODEVICE_H__ */\n",
    "prefixes": [
        "libcamera-devel",
        "PATCH/RFC",
        "03/11"
    ]
}