lidm/include/sessions.h
2024-07-14 20:21:17 +02:00

27 lines
340 B
C

#ifndef _SESSIONSH_
#define _SESSIONSH_
#include <sys/types.h>
enum session_type {
XORG,
WAYLAND,
SHELL,
};
struct session {
char *name;
char *exec;
char *tryexec;
enum session_type type;
};
struct sessions_list {
u_int16_t length;
struct session *sessions;
};
struct sessions_list *get_avaliable_sessions();
#endif