You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
473 B

#ifndef SESSION_H
#define SESSION_H
#include <systemd/sd-bus.h>
#include <stdbool.h>
8 years ago
struct wlr_session {
sd_bus *bus;
char *id;
char *path;
char *seat;
};
8 years ago
bool wlr_session_start(struct wlr_session *session);
void wlr_session_end(struct wlr_session *session);
8 years ago
int wlr_session_take_device(struct wlr_session *restrict session,
const char *restrict path,
bool *restrict paused_out);
8 years ago
void wlr_session_release_device(struct wlr_session *session, int fd);
#endif