command: capture command now handles both types commands
[fw/openocd] / src / helper / configuration.h
index 9b77a2561561aed7455fd0dc171964d04c0c19a1..caa80eec59edcf07d8c70d616a4c4ba6295bfb66 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef CONFIGURATION_H
 #define CONFIGURATION_H
 
-#include "command.h"
+#include <helper/command.h>
 
 int parse_cmdline_args(struct command_context *cmd_ctx,
                int argc, char *argv[]);
@@ -36,7 +36,7 @@ void add_script_search_dir(const char *dir);
 int configuration_output_handler(struct command_context *cmd_ctx,
                const char *line);
 
-FILE *open_file_from_path(char *file, char *mode);
+FILE *open_file_from_path(const char *file, const char *mode);
 
 char *find_file(const char *name);