![]() |
libgpac
Documentation of the core library of GPAC
|
Include dependency graph for os_config_init.c:Data Structures | |
| struct | _token |
Macros | |
| #define | CFG_FILE_NAME "GPAC.cfg" |
| #define | TEST_MODULE "gm_" |
| #define | LOGFILE_HELP "set output log file" |
| #define | LINE_OFFSET_DESCR 30 |
Enumerations | |
| enum | { GF_PATH_APP , GF_PATH_CFG , GF_PATH_SHARE , GF_PATH_MODULES , GF_PATH_LIB } |
| enum | { TOK_CODE , TOK_BOLD , TOK_ITALIC , TOK_STRIKE , TOK_OPTLINK , TOK_LINKSTART } |
Functions | |
| static Bool | mod_enum (void *cbck, char *item_name, char *item_path, GF_FileEnumInfo *file_info) |
| static Bool | check_file_exists (char *name, char *path, char *outPath) |
| static Bool | get_default_install_path (char *file_path, u32 path_type) |
| const char * | gf_get_default_cache_directory_ex (Bool do_create) |
| GF_EXPORT void | gf_get_default_font_dir (char szPath[GF_MAX_PATH]) |
| static GF_Config * | create_default_config (char *file_path, const char *profile) |
| static void | check_modules_dir (GF_Config *cfg) |
| static void | check_default_cred_file (GF_Config *cfg, char szPath[GF_MAX_PATH]) |
| static GF_Config * | gf_cfg_init (const char *profile) |
| configuration file initialization | |
| GF_EXPORT Bool | gf_opts_default_shared_directory (char *path_buffer) |
| void | gf_modules_new (GF_Config *config) |
| module manager construtcor | |
| void | gf_modules_del () |
| module manager destructor | |
| void | gf_init_global_config (const char *profile) |
| void | gf_uninit_global_config (Bool discard_config) |
| GF_Err | gf_cfg_set_key_internal (GF_Config *iniFile, const char *secName, const char *keyName, const char *keyValue, Bool is_restrict) |
| GF_EXPORT const char * | gf_opts_get_key (const char *secName, const char *keyName) |
| GF_EXPORT GF_Err | gf_opts_set_key (const char *secName, const char *keyName, const char *keyValue) |
| GF_EXPORT void | gf_opts_del_section (const char *secName) |
| GF_EXPORT u32 | gf_opts_get_section_count () |
| GF_EXPORT const char * | gf_opts_get_section_name (u32 secIndex) |
| GF_EXPORT u32 | gf_opts_get_key_count (const char *secName) |
| GF_EXPORT const char * | gf_opts_get_key_name (const char *secName, u32 keyIndex) |
| GF_EXPORT const char * | gf_opts_get_key_restricted (const char *secName, const char *keyName) |
| GF_EXPORT const char * | gf_opts_get_filename () |
| GF_EXPORT GF_Err | gf_opts_discard_changes () |
| GF_EXPORT GF_Err | gf_opts_save () |
| const GF_Config * | gf_sys_get_lang_file () |
| GF_EXPORT const GF_GPACArg * | gf_sys_get_options () |
| static const char * | gpac_opt_default (const char *argname) |
| GF_EXPORT Bool | gf_opts_get_bool (const char *secName, const char *keyName) |
| GF_EXPORT u32 | gf_opts_get_int (const char *secName, const char *keyName) |
| GF_EXPORT Bool | gf_sys_set_cfg_option (const char *opt_string) |
| void | gf_module_reload_dirs () |
| Bool | gf_opts_load_option (const char *arg_name, const char *val, Bool *consumed_next, GF_Err *e) |
| GF_EXPORT u32 | gf_sys_is_gpac_arg (const char *arg_name) |
| GF_EXPORT void | gf_sys_print_arg (FILE *helpout, GF_SysPrintArgFlags flags, const GF_GPACArg *arg, const char *arg_subsystem) |
| GF_EXPORT void | gf_sys_print_core_help (FILE *helpout, GF_SysPrintArgFlags flags, GF_SysArgMode mode, u32 subsystem_flags) |
| void | gf_sys_cleanup_help () |
| GF_EXPORT void | gf_sys_format_help (FILE *helpout, GF_SysPrintArgFlags flags, const char *fmt,...) |
| GF_EXPORT Bool | gf_strnistr (const char *text, const char *subtext, u32 subtext_len) |
| search string without case | |
| GF_EXPORT Bool | gf_sys_word_match (const char *orig, const char *dst) |
Variables | |
| GF_Config * | gpac_global_config = NULL |
| GF_GPACArg | GPAC_Args [] |
| static char * | help_buf = NULL |
| static u32 | help_buf_size =0 |
| struct _token | Tokens [] |
| static u32 | nb_tokens = sizeof(Tokens) / sizeof(struct _token) |
| static u32 | line_pos = 0 |
| struct _token |
| Data Fields | ||
|---|---|---|
| char * | tok | |
| GF_ConsoleCodes | cmd_type | |
| #define CFG_FILE_NAME "GPAC.cfg" |
| #define TEST_MODULE "gm_" |
| #define LOGFILE_HELP "set output log file" |
| #define LINE_OFFSET_DESCR 30 |
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| const char * gf_get_default_cache_directory_ex | ( | Bool | do_create | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_EXPORT void gf_get_default_font_dir | ( | char | szPath[GF_MAX_PATH] | ) |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
configuration file initialization
Constructs a configuration file from fileName. If fileName is NULL, the default GPAC configuration file is loaded with the proper module directory, font directory and other default options. If fileName is non-NULL no configuration file is found, a "light" default configuration file is created.
| profile | name or path to existing config file |
Here is the call graph for this function:
Here is the caller graph for this function:| void gf_modules_new | ( | GF_Config * | config | ) |
module manager construtcor
Constructs a module manager object.
| config | GPAC configuration file handle. If this is NULL, the modules won't be able to share the configuration file with the rest of the GPAC framework. |
Here is the call graph for this function:
Here is the caller graph for this function:| void gf_modules_del | ( | ) |
module manager destructor
Destroys the module manager
Here is the call graph for this function:
Here is the caller graph for this function:| void gf_init_global_config | ( | const char * | profile | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void gf_uninit_global_config | ( | Bool | discard_config | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err gf_cfg_set_key_internal | ( | GF_Config * | iniFile, |
| const char * | secName, | ||
| const char * | keyName, | ||
| const char * | keyValue, | ||
| Bool | is_restrict | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| const GF_Config * gf_sys_get_lang_file | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:| void gf_module_reload_dirs | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| Bool gf_opts_load_option | ( | const char * | arg_name, |
| const char * | val, | ||
| Bool * | consumed_next, | ||
| GF_Err * | e | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void gf_sys_cleanup_help | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Config* gpac_global_config = NULL |
| GF_GPACArg GPAC_Args[] |
|
static |
|
static |
| struct _token Tokens[] |
|
static |