dk_stream_api_t Struct Reference

Internal API for dk_stream_t. More...

#include <dktypes.h>


Data Fields

int cmd
 Command type.
struct {
   char *   buffer
 Buffer pointer.
   size_t   length
 Buffer length.
   int   cmd
 Sub-command.
params
 Command parameters.
struct {
   char *   buffer
 Buffer pointer.
   size_t   length
 Buffer length.
   size_t   used
 Number of bytes used in buffer.
results
 Command results.
int return_value
 Command result to return.
int error_code
 Last error occured.
void * strm
 Data for low-level function.


Detailed Description

Internal API for dk_stream_t.

This structure is used internally by the dkstream module to provide data to the low-level functions.


Field Documentation

Buffer pointer.

Command type.

Sub-command.

Last error occured.

Buffer length.

struct { ... } dk_stream_api_t::params

Command parameters.

Passed to low-level function.

struct { ... } dk_stream_api_t::results

Command results.

Filled by low-level function.

Command result to return.

Data for low-level function.

I.e. FILE *...

Number of bytes used in buffer.


The documentation for this struct was generated from the following file:

Generated on Mon Jan 4 15:50:57 2010 for dklibs by  doxygen 1.5.8