mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-20 08:56:27 -05:00
Renaming.
This commit is contained in:
parent
9ac46ec5ed
commit
41a82fd2fc
13 changed files with 395 additions and 350 deletions
|
|
@ -1,9 +1,22 @@
|
|||
#ifndef UDEV_H
|
||||
#define UDEV_H
|
||||
|
||||
bool otd_udev_start(struct otd *otd);
|
||||
void otd_udev_finish(struct otd *otd);
|
||||
void otd_udev_find_gpu(struct otd *otd);
|
||||
void otd_udev_event(struct otd *otd);
|
||||
#include <libudev.h>
|
||||
|
||||
#include "backend/drm/session.h"
|
||||
|
||||
struct wlr_udev {
|
||||
struct udev *udev;
|
||||
struct udev_monitor *mon;
|
||||
int mon_fd;
|
||||
char *drm_path;
|
||||
};
|
||||
|
||||
bool wlr_udev_init(struct wlr_udev *udev);
|
||||
void wlr_udev_free(struct wlr_udev *udev);
|
||||
int wlr_udev_find_gpu(struct wlr_udev *udev, struct wlr_session *session);
|
||||
|
||||
struct wlr_drm_backend;
|
||||
void wlr_udev_event(struct wlr_drm_backend *backend);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue