mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 06:15:03 +02:00
25 lines
323 B
C
25 lines
323 B
C
#ifndef SESSIONSH_
|
|
#define SESSIONSH_
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include "macros.h"
|
|
#include "util.h"
|
|
|
|
enum session_type {
|
|
XORG,
|
|
WAYLAND,
|
|
SHELL,
|
|
};
|
|
|
|
struct session {
|
|
char* NNULLABLE name;
|
|
char* NNULLABLE exec;
|
|
char* NULLABLE tryexec;
|
|
enum session_type type;
|
|
};
|
|
|
|
struct Vector get_avaliable_sessions();
|
|
|
|
#endif
|