udi_child_chan_context_t(3udi)
Initial channel context for child-bind channels
#include <udi.h>typedef struct { void *rdata; udi_ubit32_t child_ID; } udi_child_chan_context_t;MEMBERS rdata is a pointer to the driver instance's initial region data.
child_ID is the child ID value initially supplied by this driver in the udi_enumerate_ack operation which enumerated this child. This value allows the parent to uniquely determine which child this new bind channel is connected to.
DESCRIPTION The udi_child_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).
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_chan_context_t, udi_init_context_t, udi_ops_init_t, udi_enumerate_ack