Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

ioprv.h File Reference

Go to the source code of this file.

Data Structures

struct  io_s

Defines

#define io_create(type, pio)   io_prv_create(sizeof(type), pio)

Typedefs

typedef ssize_t(* io_read_op )(io_t *, char *, size_t)
typedef ssize_t(* io_write_op )(io_t *, const char *, size_t)
typedef ssize_t(* io_seek_op )(io_t *, size_t)
typedef ssize_t(* io_tell_op )(io_t *)
typedef int(* io_term_op )(io_t *)

Functions

int io_prv_create (size_t dev_sz, io_t **pio)


Define Documentation

#define io_create type,
pio   )     io_prv_create(sizeof(type), pio)
 

alloc sizeof(type) and initialize the io_t object

Definition at line 28 of file ioprv.h.

Referenced by io_fd_create(), io_mem_create(), and io_ssl_create().


Typedef Documentation

typedef ssize_t(* io_read_op)(io_t *, char *, size_t)
 

Definition at line 31 of file ioprv.h.

typedef ssize_t(* io_seek_op)(io_t *, size_t)
 

Definition at line 33 of file ioprv.h.

typedef ssize_t(* io_tell_op)(io_t *)
 

Definition at line 34 of file ioprv.h.

typedef int(* io_term_op)(io_t *)
 

Definition at line 35 of file ioprv.h.

typedef ssize_t(* io_write_op)(io_t *, const char *, size_t)
 

Definition at line 32 of file ioprv.h.


←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved