| 1 |
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "sd-device.h" |
| 5 |
|
| 6 |
#include "shared-forward.h" |
| 7 |
#include "udev-def.h" |
| 8 |
|
| 9 |
int find_device(const char *id, const char *prefix, sd_device **ret); |
| 10 |
int find_device_with_action(const char *id, sd_device_action_t action, sd_device **ret); |
| 11 |
int parse_device_action(const char *str, sd_device_action_t *ret); |
| 12 |
int parse_resolve_name_timing(const char *str, ResolveNameTiming *ret); |
| 13 |
int parse_key_value_argument(const char *str, bool require_value, char **key, char **value); |
| 14 |
int udev_ping(usec_t timeout, bool ignore_connection_failure); |
| 15 |
int search_rules_files(char * const *a, const char *root, ConfFile ***ret_files, size_t *ret_n_files); |