mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
spain's gonna win btw 🇪🇸
This commit is contained in:
11
include/auth.h
Normal file
11
include/auth.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef _AUTHH_
|
||||
#define _AUTHH_
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <sessions.h>
|
||||
|
||||
bool check_passwd(char *user, char *passwd);
|
||||
bool launch(char *user, char *passwd, struct session session, void (*cb)(void));
|
||||
|
||||
#endif
|
@@ -11,7 +11,8 @@ enum session_type {
|
||||
|
||||
struct session {
|
||||
char *name;
|
||||
char *path;
|
||||
char *exec;
|
||||
char *tryexec;
|
||||
enum session_type type;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user