diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-08-26 14:02:04 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-08-26 14:02:04 +1200 |
commit | fb93628bda0cb7750628e227213a1ddc2ae34be9 (patch) | |
tree | fbf3e2aa08594ad6f30dfdc51089a5309ad1a597 /include/backend/udev.h | |
parent | 46823152ea5e2d0f888fa25ba6b4b1896e4e89b9 (diff) |
Merge wlr_udev into wlr_session
Diffstat (limited to 'include/backend/udev.h')
-rw-r--r-- | include/backend/udev.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/backend/udev.h b/include/backend/udev.h deleted file mode 100644 index 080422c0..00000000 --- a/include/backend/udev.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef _WLR_INTERNAL_UDEV_H -#define _WLR_INTERNAL_UDEV_H - -#include <sys/types.h> -#include <libudev.h> -#include <wlr/backend/session.h> -#include <wayland-server.h> -#include <wlr/backend/udev.h> - -struct wlr_udev_dev { - dev_t dev; - struct wl_signal invalidate; - - struct wl_list link; -}; - -struct wlr_udev { - struct udev *udev; - struct udev_monitor *mon; - struct wl_event_source *event; - - struct wl_list devices; -}; - -int wlr_udev_find_gpu(struct wlr_udev *udev, struct wlr_session *session); -bool wlr_udev_signal_add(struct wlr_udev *udev, dev_t dev, struct wl_listener *listener); -void wlr_udev_signal_remove(struct wlr_udev *udev, struct wl_listener *listener); - -#endif |