DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

udi_chan_context_t(3udi)


Initial context for bind channels

SYNOPSIS

#include <udi.h>

typedef struct {

	void *rdata;

} udi_chan_context_t;
 

MEMBERS rdata is a pointer to the driver instance's initial region data.

DESCRIPTION The udi_chan_context_t structure is stored at the front of the channel context structure pre-allocated for new bind channels whose chan_context_size is non-zero (see udi_ops_init_t), except for child-bind channels, which use udi_child_chan_context_t.

A pointer to this structure is made available to the driver as the initial channel context for the corresponding bind channel. Drivers may subsequently change the channel context, but must not free this structure; the environment will free it when the channel is unbound.

REFERENCES udi_init_info, udi_child_chan_context_t, udi_init_context_t, udi_ops_init_t


UDI Core Specification Contents