NetBurner 3.5.7
PDF Version
fileup.h
1
/*NB_REVISION*/
2
3
/*NB_COPYRIGHT*/
4
5
#ifndef _FILEUP_H
6
#define _FILEUP_H
7
8
#include <effs_fat/fat.h>
9
#include <PlatformHeader.h>
10
#include <nbupdate.h>
11
12
#define FAT_UPDATE_OK (0)
13
#define FAT_UPDATE_SAMEVERSION (-1)
14
#define FAT_UPDATE_WRONG_PLATFORM (-2)
15
#define FAT_UPDATE_BAD_FORMAT (-3)
16
#define FAT_UPDATE_NO_MEM (-4)
17
#define FAT_UPDATE_PROG_FAIL (-5)
18
19
int
UpdateBinaryFromFat(F_FILE *f, BOOL bUpdateEvenIfCurrent);
20
21
#endif
/* _FILEUP_H */