Widen page count field in blockinfo to allow lots of pages per block
[yaffs/.git] / direct / yboot.h
1 /*
2  * YAFFS: Yet another FFS. A NAND-flash specific file system. 
3  * yboot.h: Interface to yaffs boot file reading code
4  *
5  * Copyright (C) 2002 Aleph One Ltd.
6  *
7  * Created by Charles Manning <charles@aleph1.co.uk>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU Lesser General Public License version 2.1 as
11  * published by the Free Software Foundation.
12  *
13  *
14  * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
15  *
16  * $Id: yboot.h,v 1.1 2003-01-21 03:32:17 charles Exp $
17  */
18  
19  #ifndef __YBOOT_H__
20 #define __YBOOT_H__
21
22 int yaffsboot_InitFile(yaffs_Device *dev, const char *fileName, int *loadedFileSize);
23
24 int yaffsboot_Reinitialise(void);
25
26 int yaffsboot_ReadByte(unsigned char *bPtr);
27 #endif
28