diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-05-01 17:49:18 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-05-01 17:49:18 +1200 |
commit | 41a82fd2fcd4759fbb522ffe7e8f6667d6ab945a (patch) | |
tree | b11530bf9596da41231d0698c1633fbcb5cd2101 /include/backend/drm/session.h | |
parent | 9ac46ec5ed6ba67a8c684069f8255384f6acd18b (diff) |
Renaming.
Diffstat (limited to 'include/backend/drm/session.h')
-rw-r--r-- | include/backend/drm/session.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/include/backend/drm/session.h b/include/backend/drm/session.h index c21900e9..6936b19a 100644 --- a/include/backend/drm/session.h +++ b/include/backend/drm/session.h @@ -4,22 +4,21 @@ #include <systemd/sd-bus.h> #include <stdbool.h> -struct otd_session { +struct wlr_session { + sd_bus *bus; + char *id; char *path; char *seat; - - sd_bus *bus; }; -struct otd; -bool otd_new_session(struct otd *otd); -void otd_close_session(struct otd *otd); +bool wlr_session_start(struct wlr_session *session); +void wlr_session_end(struct wlr_session *session); -int take_device(struct otd *restrict otd, - const char *restrict path, - bool *restrict paused_out); +int wlr_session_take_device(struct wlr_session *restrict session, + const char *restrict path, + bool *restrict paused_out); -void release_device(struct otd *otd, int fd); +void wlr_session_release_device(struct wlr_session *session, int fd); #endif |