config_values_s(3)

NAME
config_values_s -

SYNOPSIS

#include <xine.h>

  Data Fields
char* (* lookup_str )(config_values_t *self, char *key, char *str_default)
int (* lookup_int )(config_values_t *self, char *key, int n_default)
void (* set_str )(config_values_t *self, char *key, char *value)
void (* set_int )(config_values_t *self, char *key, int value)
void (* save )(config_values_t *self)
void (* read )(config_values_t *self, char *filename)
cfg_data_t* data

DETAILED DESCRIPTION

Configuration file manipulation.

See also:
config_file_init()

FIELD DOCUMENTATION

  cfg_data_t * config_values_s::data

Contains private data of this configuration file.

  int(* config_values_s::lookup_int)(config_values_t *self, char *key, int n_default)

Lookup integer values in configuration file.

  char *(* config_values_s::lookup_str)(config_values_t *self, char *key, char *str_default)

Lookup string values in configuration file.

  void(* config_values_s::read)(config_values_t *self, char *filename)

Read configuration file from disk, overriding values in memory. If you also want to clear values that are not in the file, use config_file_init() instead!

  void(* config_values_s::save)(config_values_t *self)

Write configuration file to disk.

  void(* config_values_s::set_int)(config_values_t *self, char *key, int value)

Set integer values in configuration file.

  void(* config_values_s::set_str)(config_values_t *self, char *key, char *value)

Set string values in configuration file.

AUTHOR

Generated automatically by Doxygen for XINE, A Free Video Player Project - API reference from the source code.