Data Structures | |
struct | _Entrance_Config |
This contains all of the configuration options that the system can set. More... | |
Defines | |
#define | ENTRANCE_USE_CRYPT 0 |
#define | ENTRANCE_USE_PAM 1 |
#define | ENTRANCE_USE_SHADOW 2 |
#define | ENTRANCE_AUTOLOGIN_NONE 0 |
#define | ENTRANCE_AUTOLOGIN_DEFAULT 1 |
#define | ENTRANCE_AUTOLOGIN_THEME 2 |
#define | ENTRANCE_PRESEL_NONE 0 |
#define | ENTRANCE_PRESEL_PREV 1 |
Typedefs | |
typedef struct _Entrance_Config | Entrance_Config |
Functions | |
Entrance_Config * | entrance_config_load (char *file) |
entrance_config_parse parse the config file named | |
void | entrance_config_print (Entrance_Config *e) |
void | entrance_config_free (Entrance_Config *e) |
entrance_config_free Free up an Entrance_Config struct | |
void | entrance_config_prepend_recent_user (Entrance_Config *e, char *str) |
void | entrance_config_user_list_save (Entrance_Config *e, const char *file) |
entrance_config_user_list_write : Write out the possibly reordered user list into the config db. | |
void | entrance_config_prevuser_save (char *user, const char *file) |
int | entrance_config_save (Entrance_Config *e, const char *file) |
#define ENTRANCE_AUTOLOGIN_DEFAULT 1 |
Referenced by entrance_session_run().
#define ENTRANCE_AUTOLOGIN_NONE 0 |
Referenced by entrance_session_run().
#define ENTRANCE_AUTOLOGIN_THEME 2 |
Referenced by entrance_session_run().
#define ENTRANCE_PRESEL_NONE 0 |
#define ENTRANCE_PRESEL_PREV 1 |
Referenced by entrance_session_run().
#define ENTRANCE_USE_CRYPT 0 |
Referenced by entrance_auth_cmp().
#define ENTRANCE_USE_PAM 1 |
Referenced by entrance_auth_cmp(), entrance_config_populate(), and entrance_session_start_user_session().
#define ENTRANCE_USE_SHADOW 2 |
Referenced by entrance_auth_cmp(), and entrance_config_populate().
typedef struct _Entrance_Config Entrance_Config |
void entrance_config_free | ( | Entrance_Config * | e | ) |
entrance_config_free Free up an Entrance_Config struct
e | A Entrance_Config struct pointer |
References _cb_users_free(), _cb_x_sessions_free(), _Entrance_Config::after, _Entrance_Config::autologin, _Entrance_Config::background, _Entrance_Config::before, _Entrance_Config::date, _Entrance_Config::hash, _Entrance_Config::keys, _Entrance_Config::pointer, _Entrance_Config::sessions, _Entrance_Config::string, _Entrance_Config::theme, _Entrance_Config::time, _Entrance_Config::username, and _Entrance_Config::users.
Referenced by entrance_session_free().
Entrance_Config* entrance_config_load | ( | char * | file | ) |
entrance_config_parse parse the config file named
file | the file on disk we should load config opts from |
References _entrance_config_defaults_set(), entrance_config_new(), and entrance_config_populate().
Referenced by entrance_session_new().
void entrance_config_prepend_recent_user | ( | Entrance_Config * | e, | |
char * | str | |||
) |
void entrance_config_prevuser_save | ( | char * | user, | |
const char * | file | |||
) |
Referenced by entrance_session_start_user_session().
void entrance_config_print | ( | Entrance_Config * | e | ) |
References _Entrance_Config::after, _Entrance_Config::auth, _Entrance_Config::before, _Entrance_Config::date, _Entrance_Config::engine, _Entrance_Config::halt, _Entrance_Config::hash, _Entrance_X_Session::icon, _Entrance_User::icon, _Entrance_Config::keys, _Entrance_X_Session::name, _Entrance_User::name, _Entrance_Config::pointer, _Entrance_Config::reboot, _Entrance_Config::remember, _Entrance_Config::remember_n, _Entrance_X_Session::session, _Entrance_User::session, _Entrance_Config::sessions, _Entrance_Config::string, _Entrance_Config::theme, _Entrance_Config::time, and _Entrance_Config::users.
int entrance_config_save | ( | Entrance_Config * | e, | |
const char * | file | |||
) |
References entrance_config_store().
void entrance_config_user_list_save | ( | Entrance_Config * | e, | |
const char * | file | |||
) |
entrance_config_user_list_write : Write out the possibly reordered user list into the config db.
- a pointer to the config struct we want to write the user list for
References _Entrance_Config::hash, _Entrance_User::icon, _Entrance_Config::keys, _Entrance_User::name, _Entrance_Config::remember, _Entrance_User::session, and _Entrance_Config::users.
Referenced by _entrance_session_user_list_fix().