syslinux/libinstaller/syslxcom.h
<<
>>
Prefs
   1#ifndef _H_SYSLXCOM_
   2#define _H_SYSLXCOM_
   3
   4#include "syslinux.h"
   5
   6/* Global fs_type for handling fat, ext2/3/4 and btrfs */
   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
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.