XINE, A Free Video Player Project - API reference

Main Page Modules Data Structures File List Data Fields Globals

# config_values_s Struct Reference

`#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.

The documentation for this struct was generated from the following file:

- xine.h