File: arcboot.h

package info (click to toggle)
arcboot 0.3.8.6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,268 kB
  • ctags: 2,395
  • sloc: ansic: 14,890; makefile: 776; awk: 311; sh: 167; sed: 12
file content (26 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (5)
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 */