summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-private.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-03-15 17:10:17 +0100
committerTom Gundersen <teg@jklm.no>2015-03-18 14:49:20 +0100
commitbf0e00ec58c0d203d0654c083bbe5c6d9cb23328 (patch)
treeb4dada5643a9a705ab292a3ad8d4846b36c8642b /src/libudev/libudev-private.h
parent1b41981d9a62443d566df6bcabc1b5024e9f5e4a (diff)
libudev: private - introduce udev_device_new_from_synthetic_event()
This allows set_action(), read_uevent_file() and read_db() to be made internal to libudev.
Diffstat (limited to 'src/libudev/libudev-private.h')
-rw-r--r--src/libudev/libudev-private.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h
index 403ae599f6..32c5e19a12 100644
--- a/src/libudev/libudev-private.h
+++ b/src/libudev/libudev-private.h
@@ -38,6 +38,7 @@ int udev_get_rules_path(struct udev *udev, char **path[], usec_t *ts_usec[]);
/* libudev-device.c */
struct udev_device *udev_device_new_from_nulstr(struct udev *udev, char *nulstr, ssize_t buflen);
+struct udev_device *udev_device_new_from_synthetic_event(struct udev *udev, const char *syspath, const char *action);
struct udev_device *udev_device_shallow_clone(struct udev_device *old_device);
struct udev_device *udev_device_clone_with_db(struct udev_device *old_device);
int udev_device_copy_properties(struct udev_device *dst, struct udev_device *src);
@@ -50,9 +51,6 @@ void udev_device_cleanup_devlinks_list(struct udev_device *udev_device);
int udev_device_add_property(struct udev_device *udev_device, const char *key, const char *value);
char **udev_device_get_properties_envp(struct udev_device *udev_device);
ssize_t udev_device_get_properties_monitor_buf(struct udev_device *udev_device, const char **buf);
-int udev_device_read_db(struct udev_device *udev_device);
-int udev_device_read_uevent_file(struct udev_device *udev_device);
-int udev_device_set_action(struct udev_device *udev_device, const char *action);
const char *udev_device_get_devpath_old(struct udev_device *udev_device);
const char *udev_device_get_id_filename(struct udev_device *udev_device);
void udev_device_set_is_initialized(struct udev_device *udev_device);