aboutsummaryrefslogtreecommitdiff
path: root/ext2load/arcboot.h
blob: e65dc8c5ba7b55cc90633f19b37a8d265d25f820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 */