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

param.h

00001 #ifndef PARAM_H
00002 #define PARAM_H
00003 #include "preset_types.h"
00004 #include "splaytree_types.h"
00005 /* Debug level, zero for none */
00006 #define PARAM_DEBUG 0
00007 
00008 /* Used to store a number of decidable type */
00009 
00010 /* Function prototypes */
00011 param_t * create_param (char * name, short int type, short int flags, void * eqn_val, void * matrix,
00012                                                         value_t default_init_val, value_t upper_bound, value_t lower_bound);
00013 param_t * create_user_param(char * name);
00014 int init_builtin_param_db();
00015 int init_user_param_db();
00016 int destroy_user_param_db();
00017 int destroy_builtin_param_db();
00018 void set_param(param_t * param, double val);
00019 int remove_param(param_t * param);
00020 param_t * find_param(char * name, struct PRESET_T * preset, int flags);
00021 void free_param(param_t * param);
00022 int load_all_builtin_param();
00023 int insert_param(param_t * param, splaytree_t * database);
00024 param_t * find_builtin_param(char * name);
00025 param_t * new_param_double(char * name, short int flags, void * engine_val, void * matrix,
00026                         double upper_bound, double lower_bound, double init_val);
00027 
00028 param_t * new_param_int(char * name, short int flags, void * engine_val,
00029                         int upper_bound, int lower_bound, int init_val);
00030 
00031 param_t * new_param_bool(char * name, short int flags, void * engine_val,
00032                          int upper_bound, int lower_bound, int init_val);
00033 
00034 param_t * find_param_db(char * name, splaytree_t * database, int create_flag);
00035 
00036 #endif

Generated on Tue Dec 20 10:14:58 2005 for vlc-0.8.4a by  doxygen 1.4.2