Sponsor:

Your company here, and a link to your site. Click to find out more.

gensio_acc_get_type - Man Page

Return general information about a gensio accepter

Synopsis

#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);

Description

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.

See Also

gensio_err(3), gensio(5), gensio_get_type(3), gensio_is_reliable(3), gensio_is_packet(3), gensio_is_message(3)

Referenced By

The man pages gensio_acc_is_message(3), gensio_acc_is_mux(3), gensio_acc_is_packet(3) and gensio_acc_is_reliable(3) are aliases of gensio_acc_get_type(3).

27 Feb 2019