blob: 17c5cb24ca4ead0752aac35955b257be1b2cf6d0 (
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
27
28
29
30
|
/*! @file compound-file-fat.h */
#ifndef COMPOUND_FILE_FAT_H
#define COMPOUND_FILE_FAT_H
#include "emb-file.h"
#include "api-start.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _bcf_file_fat
{
int fatEntryCount;
unsigned int fatEntries[255]; /* maybe make this dynamic */
unsigned int numberOfEntriesInFatSector;
} bcf_file_fat;
extern EMB_PRIVATE bcf_file_fat* EMB_CALL bcfFileFat_create(const unsigned int sectorSize);
extern EMB_PRIVATE void EMB_CALL loadFatFromSector(bcf_file_fat* fat, EmbFile* file);
extern EMB_PRIVATE void EMB_CALL bcf_file_fat_free(bcf_file_fat* fat);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#include "api-stop.h"
#endif /* COMPOUND_FILE_FAT_H */
/* kate: bom off; indent-mode cstyle; indent-width 4; replace-trailing-space-save on; */
|