|
|
udi_gio_bind_req(3udi)
Request a binding to a GIO provider
#include <udi.h>void udi_gio_bind_req ( udi_gio_bind_cb_t *cb );ARGUMENTS cb is a pointer to a GIO bind control block.
TARGET CHANNEL The target channel for this operation is the bind channel connecting a GIO client to a GIO provider.
DESCRIPTION A Generic I/O client uses this operation to bind to a Generic I/O provider.
The client must prepare for the udi_gio_bind_req operation by allocating a GIO bind control block (calling udi_cb_alloc with a cb_idx that was previously associated with UDI_GIO_BIND_CB_NUM).
Next, the client sends the GIO bind control block to the provider with a udi_gio_bind_req operation.
The udi_gio_bind_req operation must be the first channel operation sent on the bind channel. The GIO client must not send any further operations on the bind channel until it receives the corresponding udi_gio_bind_ack from the GIO provider.