diff options
Diffstat (limited to 'backend/drm/session.h')
-rw-r--r-- | backend/drm/session.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/backend/drm/session.h b/backend/drm/session.h deleted file mode 100644 index c21900e9..00000000 --- a/backend/drm/session.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef SESSION_H -#define SESSION_H - -#include <systemd/sd-bus.h> -#include <stdbool.h> - -struct otd_session { - 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); - -int take_device(struct otd *restrict otd, - const char *restrict path, - bool *restrict paused_out); - -void release_device(struct otd *otd, int fd); - -#endif |