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