/* Local copy of sys/vfs/hpfs/hpfs_ioctl.h so the PoC builds without
 * requiring the kernel source headers to be exposed to userland. */
#ifndef _HPFS_IOCTL_H_
#define _HPFS_IOCTL_H_
#include <sys/ioccom.h>

struct hpfs_rdea {
    u_long  ea_no;
    u_long  ea_sz;
    void *  ea_data;
};

#define HPFSIOCGEANUM   _IOR('H', 0, u_long)
#define HPFSIOCGEASZ    _IOWR('H', 1, u_long)
#define HPFSIOCRDEA     _IOWR('H', 2, struct hpfs_rdea)

#endif
