# modules/dosfs/not_used/hostemu.h File Reference

`#include <sys/types.h>`

## Defines
#define | DFS_ReadSector(unit, buffer, sector, count) DFS_HostReadSector(buffer,sector,count)
#define | DFS_WriteSector(unit, buffer, sector, count) DFS_HostWriteSector(buffer,sector,count)
## Functions
int | DFS_HostAttach (char *imagefile)
int | DFS_HostReadSector (uint8_t *buffer, uint32_t sector, uint32_t count)
int | DFS_HostWriteSector (uint8_t *buffer, uint32_t sector, uint32_t count)

## Define Documentation

#define DFS_ReadSector | ( | unit,
|  | buffer,
|  | sector,
|  | count |  | ) | DFS_HostReadSector(buffer,sector,count)

#define DFS_WriteSector | ( | unit,
|  | buffer,
|  | sector,
|  | count |  | ) | DFS_HostWriteSector(buffer,sector,count)

## Function Documentation

int DFS_HostAttach | ( | char * | imagefile | ) |

int DFS_HostReadSector | ( | uint8_t * | buffer,
|  | uint32_t | sector,
|  | uint32_t | count |
| ) |  |  |

int DFS_HostWriteSector | ( | uint8_t * | buffer,
|  | uint32_t | sector,
|  | uint32_t | count |
| ) |  |  |