X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fhelper%2Fconfiguration.h;h=d1f537d77f4aaa43d22c400a13623d31aadc2640;hb=2858a9f740a49998bf2db1e6379c5c47133aea98;hp=ff802758fcca0546aa1fbd03d8f85c387877156e;hpb=3a3fc300141d9e0e6b71729d7fd604aa28447116;p=openocd.git diff --git a/src/helper/configuration.h b/src/helper/configuration.h index ff802758fc..d1f537d77f 100644 --- a/src/helper/configuration.h +++ b/src/helper/configuration.h @@ -25,9 +25,11 @@ extern int parse_cmdline_args(struct command_context_s *cmd_ctx, int argc, char *argv[]); extern int parse_config_file(struct command_context_s *cmd_ctx); -extern void add_config_file_name (const char *cfg); +extern void add_config_command (const char *cfg); extern void add_script_search_dir (const char *dir); -extern int configuration_output_handler(struct command_context_s *context, char* line); +extern int configuration_output_handler(struct command_context_s *context, const char* line); extern FILE *open_file_from_path (char *file, char *mode); +extern char *find_file(char *name); +int add_default_dirs(void); #endif /* CONFIGURATION_H */