gensio_acc_get_type, gensio_acc_is_reliable, gensio_acc_is_packet, gensio_acc_is_message, gensio_acc_is_mux − Return general information about a gensio accepter
#include
<gensio/gensio.h>
const char *gensio_acc_get_type(struct gensio *io,
unsigned int depth);
bool
gensio_acc_is_reliable(struct gensio *io);
bool gensio_acc_is_packet(struct gensio *io);
bool gensio_acc_is_mux(struct gensio *io);
gensio_acc_get_type return the type string for the gensio accepter (if depth is 0) or one of its children (depth > 0). Returns NULL if the depth is greater than the number of children.
gensio_acc_is_reliable return true if the genios produce by this accepter are reliable. See gensio_is_reliable(3) for details.
gensio_acc_is_packet returns if the genios produce by this accepter are packet-oriented. See gensio_is_packet(3) for details.
gensio_acc_is_message returns if the genios produce by this accepter are message-oriented. See gensio_is_message(3) for details.
gensio_acc_is_mux returns if the genios produced by this accepter are capable of multiplexing. See gensio_is_mux(3) for details.
gensio_err(3), gensio(5), gensio_get_type(3), gensio_is_reliable(3), gensio_is_packet(3), gensio_is_message(3)