BALTECH Docs |
C API for BALTECH SDK
|
BRP_LIB brp_errcode brp_add_layer | ( | brp_protocol | composite_protocol, |
brp_layer_id | layer_id | ||
) |
Adds a protocol layer without assigning a protocol to it.
If the specified protocol layer was already added BRP_ERR_EXISTING_LAYER be returned, otherwise the layer will be added at the top of the protocol stack.
To assign a specific protocol to the new layer use brp_set_layer().
composite_protocol | composite where layer shall be retrieved |
layer_id | identification of layer (see BRP_LAYERID_*, i.e. BRP_LAYERID_BRP) |