unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
BRP_LIB brp_errcode brp_ioiter_next(brp_ioiter iter, brp_protocol *protocol)
Retrieves the next device from the iterator.
void(* destroy_fn)(struct brp_ioiter_t *iter)
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
BRP_LIB void brp_ioiter_destroy(brp_ioiter *iter)
Destroys an iterator and frees all associated resources.
This file primarly defines the common part of all protocol's data structures (:brp_protocol_t) and AP...
brp_errcode(* next_fn)(struct brp_ioiter_t *iter, brp_protocol *protocol)
struct brp_ioiter_t * brp_ioiter
Handle to an I/O device iterator.
BRP_LIB brp_ioiter brp_ioiter_create(void)
Creates an iterator for enumerating all available I/O devices.
Contains the basic defines that are required throughout the BRP library.
Base structure for I/O device iterators.