entrance_config.c File Reference

System-wide configuration options for various settings in Entrance. More...


Functions

static void _cb_xsessions_foreach (void *list_data, void *data)
static void _cb_desktop_xsessions_foreach (void *list_data, void *data)
Entrance_Configentrance_config_new (void)
static void _entrance_config_defaults_set ()
 _entrance_config_defaults_set - set default values for the Entrance_Config struct
static void entrance_config_populate (Entrance_Config *e)
 entrance_config_populate - populate the Entrance_Config struct with the data from ecore_config
Entrance_Configentrance_config_load (char *file)
 entrance_config_parse parse the config file named
void entrance_config_print (Entrance_Config *e)
void entrance_config_store (Entrance_Config *e)
int entrance_config_save (Entrance_Config *e, const char *file)
void entrance_config_free (Entrance_Config *e)
 entrance_config_free Free up an Entrance_Config struct
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)

Detailed Description

System-wide configuration options for various settings in Entrance.


Function Documentation

static void _cb_desktop_xsessions_foreach ( void *  list_data,
void *  data 
) [static]

static void _cb_xsessions_foreach ( void *  list_data,
void *  data 
) [static]

static void _entrance_config_defaults_set (  )  [static]

_entrance_config_defaults_set - set default values for the Entrance_Config struct

void entrance_config_free ( Entrance_Config e  ) 

entrance_config_free Free up an Entrance_Config struct

Parameters:
e A Entrance_Config struct pointer

Entrance_Config* entrance_config_load ( char *  file  ) 

entrance_config_parse parse the config file named

Parameters:
file the file on disk we should load config opts from
Returns:
a valid Entrance_Config file, or NULL on error

Entrance_Config* entrance_config_new ( void   ) 

static void entrance_config_populate ( Entrance_Config e  )  [static]

entrance_config_populate - populate the Entrance_Config struct with the data from ecore_config

Parameters:
e Valid Entrance_Config struct

void entrance_config_prevuser_save ( char *  user,
const char *  file 
)

void entrance_config_print ( Entrance_Config e  ) 

int entrance_config_save ( Entrance_Config e,
const char *  file 
)

void entrance_config_store ( Entrance_Config e  ) 

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