DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

udi_gio_bind_cb_t(3udi)


Control block for GIO binding operations

SYNOPSIS

#include <udi.h>

typedef struct {

	udi_cb_t gcb;

	udi_xfer_constraints_t xfer_constraints;

} udi_gio_bind_cb_t;
 
/* Control Block Group Number */
 
#define  UDI_GIO_BIND_CB_NUM				1
 

MEMBERS gcb is a generic control block header, which includes a pointer to the scratch space associated with this control block. The driver may use the scratch space while it owns the control block, but the values are not guaranteed to persist across channel operations.

xfer_constraints is a structure describing the transfer constraints required by the provider driver. (See udi_xfer_constraints_t.) These constraints apply only to the standard read/write operations, UDI_GIO_OP_READ and UDI_GIO_OP_WRITE. This field is ignored on the udi_gio_bind_req and is filled in by the provider for returning information in the udi_gio_bind_ack operation.

DESCRIPTION The Generic I/O bind control block is used between the GIO client and the GIO provider to complete initial binding over the bind channel.

In order to use this type of control block it must be associated with a control block index by including UDI_GIO_BIND_CB_NUM in a udi_cb_init_t in the driver's udi_init_info.

REFERENCES udi_init_info, udi_cb_init_t, udi_cb_alloc


UDI Core Specification Contents