summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-watch.h
blob: 24a136d26114d325a922c1bdc1d3c97da3c7d8af (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0+ */
#pragma once

#include "sd-device.h"

int udev_watch_init(void);
int udev_watch_restore(void);
int udev_watch_begin(sd_device *dev);
int udev_watch_end(sd_device *dev);
int udev_watch_lookup(int wd, sd_device **ret);