hio.h 312 B

123456789101112131415
  1. #ifndef HW_HIO_H_
  2. #define HW_HIO_H_
  3. #include "hloop.h"
  4. //int hio_read (hio_t* io, void* buf, size_t len);
  5. //@see io->readbuf
  6. int hio_read (hio_t* io);
  7. int hio_write(hio_t* io, const void* buf, size_t len);
  8. int hio_close(hio_t* io);
  9. int hio_accept (hio_t* io);
  10. int hio_connect(hio_t* io);
  11. #endif // HW_HIO_H_