mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
feat: add behavior.{source,user_source} for custom env
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <config.h>
|
||||
#include <sessions.h>
|
||||
|
||||
bool launch(char *user, char *passwd, struct session session, void (*cb)(void));
|
||||
bool launch(char *user, char *passwd, struct session session, void (*cb)(void), struct behavior* behavior);
|
||||
|
||||
#endif
|
||||
|
@@ -1,6 +1,7 @@
|
||||
#ifndef _CONFIGH_
|
||||
#define _CONFIGH_
|
||||
|
||||
#include "util.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -63,6 +64,8 @@ struct strings {
|
||||
|
||||
struct behavior {
|
||||
bool include_defshell;
|
||||
struct Vector source;
|
||||
struct Vector user_source;
|
||||
};
|
||||
|
||||
struct config {
|
||||
|
Reference in New Issue
Block a user