1gensio_acc_get_type(3) Library Functions Manual gensio_acc_get_type(3)
2
3
4
6 gensio_acc_get_type, gensio_acc_is_reliable, gensio_acc_is_packet, gen‐
7 sio_acc_is_message, gensio_acc_is_mux - Return general information
8 about a gensio accepter
9
11 #include <gensio/gensio.h>
12
13 const char *gensio_acc_get_type(struct gensio *io,
14 unsigned int depth);
15
16 bool gensio_acc_is_reliable(struct gensio *io);
17
18 bool gensio_acc_is_packet(struct gensio *io);
19
20 bool gensio_acc_is_mux(struct gensio *io);
21
23 gensio_acc_get_type return the type string for the gensio accepter (if
24 depth is 0) or one of its children (depth > 0). Returns NULL if the
25 depth is greater than the number of children.
26
27 gensio_acc_is_reliable return true if the genios produce by this ac‐
28 cepter are reliable. See gensio_is_reliable(3) for details.
29
30 gensio_acc_is_packet returns if the genios produce by this accepter are
31 packet-oriented. See gensio_is_packet(3) for details.
32
33 gensio_acc_is_message returns if the genios produce by this accepter
34 are message-oriented. See gensio_is_message(3) for details.
35
36 gensio_acc_is_mux returns if the genios produced by this accepter are
37 capable of multiplexing. See gensio_is_mux(3) for details.
38
39
41 gensio_err(3), gensio(5), gensio_get_type(3), gensio_is_reliable(3),
42 gensio_is_packet(3), gensio_is_message(3)
43
44
45
46 27 Feb 2019 gensio_acc_get_type(3)