mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-04 23:08:42 +02:00
27 lines
340 B
C
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
|