cu/dsource.h: Generic Data Source
[Data Sequences]

Data Structures

struct  cu_dsource

Defines

#define CU_DSOURCE_FN_CLOSE   1
#define CU_DSOURCE_ST_SUCCESS   0
#define CU_DSOURCE_ST_UNIMPL   ((cu_word_t)-1)

Functions

void cu_dsource_init (cu_dsource_t source, cu_word_t(*control)(cu_dsource_t, int, va_list), size_t(*read)(cu_dsource_t, void *, size_t))
size_t cu_dsource_read (cu_dsource_t source, void *buf, size_t max_size)
cu_word_t cu_dsource_control_va (cu_dsource_t source, int op, va_list va)
cu_word_t cu_dsource_control (cu_dsource_t source, int op,...)
Generated 2009-11-23 for culibs-0.25 using Doxygen. Maintained by Petter Urkedal.