Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

variable_t Struct Reference
[Variables]

#include <variables.h>

List of all members.

Public Attributes

vlc_value_t val
char * psz_name
uint32_t i_hash
int i_type
char * psz_text
int(* pf_cmp )(vlc_value_t, vlc_value_t)
void(* pf_dup )(vlc_value_t *)
void(* pf_free )(vlc_value_t *)
int i_usage
vlc_value_t min
vlc_value_t max
vlc_value_t step
int i_default
vlc_list_t choices
vlc_list_t choices_text
vlc_bool_t b_incallback
int i_entries
callback_entry_t * p_entries


Detailed Description

The structure describing a variable.
Note:
vlc_value_t is the common union for variable values

Definition at line 42 of file variables.h.


Member Data Documentation

vlc_bool_t variable_t::b_incallback
 

Set to TRUE if the variable is in a callback

Definition at line 76 of file variables.h.

vlc_list_t variable_t::choices
 

List of choices

Definition at line 71 of file variables.h.

vlc_list_t variable_t::choices_text
 

List of friendly names for the choices

Definition at line 73 of file variables.h.

int variable_t::i_default
 

Index of the default choice, if the variable is to be chosen in a list

Definition at line 69 of file variables.h.

int variable_t::i_entries
 

Number of registered callbacks

Definition at line 79 of file variables.h.

uint32_t variable_t::i_hash
 

(almost) unique hashed value

Definition at line 48 of file variables.h.

int variable_t::i_type
 

The type of the variable

Definition at line 49 of file variables.h.

int variable_t::i_usage
 

Creation count: we only destroy the variable if it reaches 0

Definition at line 62 of file variables.h.

vlc_value_t variable_t::max
 

If the variable has min/max/step values

Definition at line 65 of file variables.h.

vlc_value_t variable_t::min
 

If the variable has min/max/step values

Definition at line 65 of file variables.h.

callback_entry_t* variable_t::p_entries
 

Array of registered callbacks

Definition at line 81 of file variables.h.

int( * variable_t::pf_cmp)(vlc_value_t, vlc_value_t)
 

A pointer to a comparison function

void( * variable_t::pf_dup)(vlc_value_t *)
 

A pointer to a duplication function

void( * variable_t::pf_free)(vlc_value_t *)
 

A pointer to a deallocation function

char* variable_t::psz_name
 

The variable unique name

Definition at line 47 of file variables.h.

char* variable_t::psz_text
 

The variable display name, mainly for use by the interfaces

Definition at line 52 of file variables.h.

vlc_value_t variable_t::step
 

If the variable has min/max/step values

Definition at line 65 of file variables.h.

vlc_value_t variable_t::val
 

The variable's exported value

Definition at line 45 of file variables.h.


The documentation for this struct was generated from the following file:
Generated on Tue Dec 20 10:15:04 2005 for vlc-0.8.4a by  doxygen 1.4.2