mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Moved headers to the correct place.
This commit is contained in:
parent
aca13320b3
commit
95a553dc51
6 changed files with 0 additions and 160 deletions
25
include/backend/drm/session.h
Normal file
25
include/backend/drm/session.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue