| 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | // SPDX-FileCopyrightText: 2022-2024 Bartosz Golaszewski <[email protected]> |
| 3 | |
| 4 | #include <gpiod.h> |
| 5 | #include <gpiod-glib.h> |
| 6 | |
| 7 | gboolean gpiodglib_is_gpiochip_device(const gchar *path) |
| 8 | { |
| 9 | g_assert(path); |
| 10 | |
| 11 | return gpiod_is_gpiochip_device(path); |
| 12 | } |
| 13 | |
| 14 | const gchar *gpiodglib_api_version(void) |
| 15 | { |
| 16 | return gpiod_api_version(); |
| 17 | } |