C API for BALTECH SDK

§ brp_get_layer()

BRP_LIB brp_protocol brp_get_layer ( brp_protocol  composite_protocol,
brp_layer_id  layer_id 
)

Retrieves a protocol layer from a composite protocol.

Returns
the protocol with is identified by layer_id or NULL if not found.
Parameters
composite_protocolcomposite where layer shall be retrieved
layer_ididentification of layer (see BRP_LAYERID_*, i.e. BRP_LAYERID_BRP)