1#ifndef _H_SYSLXCOM_
2#define _H_SYSLXCOM_
3
4#include "syslinux.h"
5
6
7enum filesystem {
8 NONE,
9 EXT2,
10 BTRFS,
11 VFAT,
12};
13
14extern int fs_type;
15extern const char *program;
16ssize_t xpread(int fd, void *buf, size_t count, off_t offset);
17ssize_t xpwrite(int fd, const void *buf, size_t count, off_t offset);
18void clear_attributes(int fd);
19void set_attributes(int fd);
20int sectmap(int fd, sector_t *sectors, int nsectors);
21int syslinux_already_installed(int dev_fd);
22
23#endif
24