Defines | Functions | Variables
fs.h File Reference
#include <stdint.h>

Go to the source code of this file.


#define DISK_IDE   1
#define DISK_MEM   2
#define DISK_USB   3
#define PARTITION_UNKNOWN   0xbad6a7
#define open_eltorito_image(x, y, z)   PARTITION_UNKNOWN


int devopen (const char *name, int *reopen)
int devread (unsigned long sector, unsigned long byte_offset, unsigned long byte_len, void *buf)
int file_open (const char *filename)
int file_read (void *buf, unsigned long len)
int file_seek (unsigned long offset)
unsigned long file_size (void)


int using_devsize

Define Documentation

#define DISK_IDE   1

Definition at line 18 of file fs.h.

#define DISK_MEM   2

Definition at line 19 of file fs.h.

#define DISK_USB   3

Definition at line 20 of file fs.h.

#define PARTITION_UNKNOWN   0xbad6a7

Definition at line 31 of file fs.h.

#define open_eltorito_image (   x,

Definition at line 36 of file fs.h.

Function Documentation

int devopen ( const char *  name,
int *  reopen 
int devread ( unsigned long  sector,
unsigned long  byte_offset,
unsigned long  byte_len,
void *  buf 
int file_open ( const char *  filename)
int file_read ( void *  buf,
unsigned long  len 
int file_seek ( unsigned long  offset)
unsigned long file_size ( void  )

Variable Documentation