summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-util.h
blob: 7fb4556413475b2b7ed44a203a35f72d522bebcf (plain)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once

#include "sd-device.h"

int find_device(const char *id, const char *prefix, sd_device **ret);
int find_device_with_action(const char *id, sd_device_action_t action, sd_device **ret);
int parse_device_action(const char *str, sd_device_action_t *action);