mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 06:25:37 +03:00
sd-device: move device_read_uevent_file() to device-private.h
Then, it can be used by our tools or daemons.
This commit is contained in:
parent
f30943c12f
commit
7f2e3eea28
@ -101,7 +101,6 @@ int device_add_property_aux(sd_device *device, const char *key, const char *valu
|
||||
static inline int device_add_property_internal(sd_device *device, const char *key, const char *value) {
|
||||
return device_add_property_aux(device, key, value, false);
|
||||
}
|
||||
int device_read_uevent_file(sd_device *device);
|
||||
|
||||
int device_set_syspath(sd_device *device, const char *_syspath, bool verify);
|
||||
int device_set_ifindex(sd_device *device, const char *ifindex);
|
||||
|
@ -64,6 +64,8 @@ static inline int device_read_db(sd_device *device) {
|
||||
return device_read_db_internal(device, false);
|
||||
}
|
||||
|
||||
int device_read_uevent_file(sd_device *device);
|
||||
|
||||
sd_device_action_t device_action_from_string(const char *s) _pure_;
|
||||
const char *device_action_to_string(sd_device_action_t a) _const_;
|
||||
void dump_device_action_table(void);
|
||||
|
Loading…
Reference in New Issue
Block a user