file.c File Reference

Include dependency graph for file.c:


Functions

static char * ConfigKeyToString (int)
static char * strdupnull (const char *src)
static char * config_GetConfigFile (void)
 Get the user's configuration file.
static FILE * config_OpenConfigFile (vlc_object_t *p_obj, const char *mode)
static int strtoi (const char *str)
int __config_LoadConfigFile (vlc_object_t *p_this, const char *psz_module_name)
int config_CreateDir (vlc_object_t *p_this, const char *psz_dirname)
static int config_Write (FILE *file, const char *type, const char *desc, bool comment, const char *name, const char *fmt,...)
static int SaveConfigFile (vlc_object_t *p_this, const char *psz_module_name, bool b_autosave)
int config_AutoSaveConfigFile (vlc_object_t *p_this)
int __config_SaveConfigFile (vlc_object_t *p_this, const char *psz_module_name)
char * config_GetCustomConfigFile (libvlc_int_t *p_libvlc)
 Get the user's configuration file when given with the --config option.
int ConfigStringToKey (const char *psz_key)

Function Documentation

int __config_LoadConfigFile ( vlc_object_t p_this,
const char *  psz_module_name 
)

int __config_SaveConfigFile ( vlc_object_t p_this,
const char *  psz_module_name 
)

int config_AutoSaveConfigFile ( vlc_object_t p_this  ) 

int config_CreateDir ( vlc_object_t p_this,
const char *  psz_dirname 
)

static char* config_GetConfigFile ( void   )  [static]

Get the user's configuration file.

char* config_GetCustomConfigFile ( libvlc_int_t p_libvlc  ) 

Get the user's configuration file when given with the --config option.

static FILE* config_OpenConfigFile ( vlc_object_t p_obj,
const char *  mode 
) [static]

static int config_Write ( FILE *  file,
const char *  type,
const char *  desc,
bool  comment,
const char *  name,
const char *  fmt,
  ... 
) [static]

char * ConfigKeyToString ( int   )  [static]

int ConfigStringToKey ( const char *  psz_key  ) 

static int SaveConfigFile ( vlc_object_t p_this,
const char *  psz_module_name,
bool  b_autosave 
) [static]

static char* strdupnull ( const char *  src  )  [inline, static]

static int strtoi ( const char *  str  )  [static]


Generated on Wed Aug 13 08:05:26 2008 for VLC by  doxygen 1.5.1