aboutsummaryrefslogtreecommitdiff
path: root/ext2load/arcboot.h
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2006-11-18 23:48:07 +0100
committerGuido Guenther <agx@bogon.sigxcpu.org>2006-11-18 23:48:07 +0100
commitd1e063beb43e595680c65e3804d1f8ddff53373b (patch)
treef7256dfe1b807920270ec5113df6f6e4abf1ed0f /ext2load/arcboot.h
Imported Debian version 0.3.8.80.3.8.8
Diffstat (limited to 'ext2load/arcboot.h')
-rw-r--r--ext2load/arcboot.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/ext2load/arcboot.h b/ext2load/arcboot.h
new file mode 100644
index 0000000..e65dc8c
--- /dev/null
+++ b/ext2load/arcboot.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2001-03 Guido Guenther <agx@sigxcpu.org>
+ */
+
+#ifndef _ARCBOOT_H
+#define _ARCBOOT_H
+
+#include <version.h>
+
+/* loader.c */
+extern CHAR *OSLoadPartition;
+extern CHAR *OSLoadFilename;
+extern CHAR *OSLoadOptions;
+
+typedef enum { False = 0, True } Boolean;
+
+Boolean OpenFile(const char *partition, const char *filename, ext2_file_t* file);
+void Fatal(const CHAR * message, ...);
+
+/* conffile.c */
+CHAR** ReadConfFile(char **partition, const char *filename, char* config);
+
+/* ext2io.c */
+extern int arc_do_progress;
+void print_ext2fs_error(long status);
+#endif /* _ARCBOOT_H */