| 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | // SPDX-FileCopyrightText: 2017-2022 Bartosz Golaszewski <[email protected]> |
| 3 | |
| 4 | #include <gpiod.h> |
| 5 | |
| 6 | #include "internal.h" |
| 7 | |
| 8 | GPIOD_API bool gpiod_is_gpiochip_device(const char *path) |
| 9 | { |
| 10 | return gpiod_check_gpiochip_device(path, false); |
| 11 | } |
| 12 | |
| 13 | GPIOD_API const char *gpiod_api_version(void) |
| 14 | { |
| 15 | return GPIOD_VERSION_STR; |
| 16 | } |