OpenOCD
|
Go to the source code of this file.
Functions | |
static void | add_default_dirs (void) |
static void | add_user_dirs (void) |
int | configuration_output_handler (struct command_context *context, const char *line) |
static char * | find_exe_path (void) |
static char * | find_relative_path (const char *from, const char *to) |
int | parse_cmdline_args (struct command_context *cmd_ctx, int argc, char *argv[]) |
Variables | |
static int | help_flag |
static const struct option | long_options [] |
static int | version_flag |
|
static |
Definition at line 227 of file options.c.
References add_script_search_dir(), add_user_dirs(), alloc_printf(), find_exe_path(), find_relative_path(), and LOG_DEBUG.
Referenced by parse_cmdline_args().
|
static |
Definition at line 170 of file options.c.
References add_script_search_dir(), and alloc_printf().
Referenced by add_default_dirs().
int configuration_output_handler | ( | struct command_context * | context, |
const char * | line | ||
) |
Definition at line 50 of file options.c.
References ERROR_OK, and LOG_USER_N.
Referenced by openocd_main().
|
static |
Definition at line 60 of file options.c.
References ARRAY_SIZE, LOG_DEBUG, LOG_WARNING, NULL, and size.
Referenced by add_default_dirs().
|
static |
Definition at line 132 of file options.c.
Referenced by add_default_dirs().
int parse_cmdline_args | ( | struct command_context * | cmd_ctx, |
int | argc, | ||
char * | argv[] | ||
) |
Definition at line 265 of file options.c.
References add_config_command(), add_default_dirs(), add_script_search_dir(), alloc_printf(), command_run_linef(), ERROR_FAIL, ERROR_OK, help_flag, LOG_DEBUG, LOG_OUTPUT, long_options, and version_flag.
Referenced by openocd_thread().
|
static |
Definition at line 37 of file options.c.
Referenced by parse_cmdline_args().
|
static |
Definition at line 37 of file options.c.
Referenced by parse_cmdline_args().
|
static |
Definition at line 37 of file options.c.
Referenced by parse_cmdline_args().