Adding upstream version 4.00~pre61+dfsg.
[syslinux-debian/hramrach.git] / libinstaller / syslxcom.h
blob39ca09d31b62e11343a1672dff7370e7a2ba1e8b
1 #ifndef _H_SYSLXCOM_
2 #define _H_SYSLXCOM_
4 #include "syslinux.h"
6 /* Global fs_type for handling fat, ext2/3/4 and btrfs */
7 enum filesystem {
8 NONE,
9 EXT2,
10 BTRFS,
11 VFAT,
14 extern int fs_type;
15 extern const char *program;
16 ssize_t xpread(int fd, void *buf, size_t count, off_t offset);
17 ssize_t xpwrite(int fd, const void *buf, size_t count, off_t offset);
18 void clear_attributes(int fd);
19 void set_attributes(int fd);
20 int sectmap(int fd, sector_t *sectors, int nsectors);
22 #endif