summaryrefslogtreecommitdiff
path: root/libinstaller/syslxcom.h
blob: 8b3b4614d38e30db9257ff30d5a760aa4f2e7a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _H_SYSLXCOM_
#define _H_SYSLXCOM_

#include "syslinux.h"

extern const char *program;
ssize_t xpread(int fd, void *buf, size_t count, off_t offset);
ssize_t xpwrite(int fd, const void *buf, size_t count, off_t offset);
void clear_attributes(int fd);
void set_attributes(int fd);
int sectmap(int fd, sector_t *sectors, int nsectors);
int syslinux_already_installed(int dev_fd);

#endif