X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fconfiguration.h;h=3cbcd41f6f252c1411b114544b2d0af6bfed2fbe;hp=9b77a2561561aed7455fd0dc171964d04c0c19a1;hb=bb9d9c60264a905926e0d15f84842858d0de80b7;hpb=98723c4ecdbe06f90c66f3abec27b792c3b38e34
diff --git a/src/helper/configuration.h b/src/helper/configuration.h
index 9b77a25615..3cbcd41f6f 100644
--- a/src/helper/configuration.h
+++ b/src/helper/configuration.h
@@ -16,14 +16,13 @@
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * along with this program. If not, see . *
***************************************************************************/
-#ifndef CONFIGURATION_H
-#define CONFIGURATION_H
-#include "command.h"
+#ifndef OPENOCD_HELPER_CONFIGURATION_H
+#define OPENOCD_HELPER_CONFIGURATION_H
+
+#include
int parse_cmdline_args(struct command_context *cmd_ctx,
int argc, char *argv[]);
@@ -36,8 +35,9 @@ 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);
+char *get_home_dir(const char *append_path);
-#endif /* CONFIGURATION_H */
+#endif /* OPENOCD_HELPER_CONFIGURATION_H */