aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-serial.h
diff options
context:
space:
mode:
authorAlfonso Sánchez-Beato <alfonso.sanchez-beato@canonical.com>2018-09-03 09:03:56 +0200
committerDan Williams <dcbw@redhat.com>2018-09-12 17:15:46 +0000
commit4e69c10c2dd1409eb8e1b82051e758ff13164f35 (patch)
tree492b0732d25dad1813e87d1684ba6fa6f43f19b3 /src/mm-port-serial.h
parenta1c27bf89d8f238509479f7223de7bb8677c005e (diff)
port-serial: add flow control property
Add flow control property to the MMPortSerial class, and use it when setting the port flow control.
Diffstat (limited to 'src/mm-port-serial.h')
-rw-r--r--src/mm-port-serial.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-port-serial.h b/src/mm-port-serial.h
index 0514e360..bac79b44 100644
--- a/src/mm-port-serial.h
+++ b/src/mm-port-serial.h
@@ -35,6 +35,7 @@
#define MM_PORT_SERIAL_BITS "bits"
#define MM_PORT_SERIAL_PARITY "parity"
#define MM_PORT_SERIAL_STOPBITS "stopbits"
+#define MM_PORT_SERIAL_FLOW_CONTROL "flowcontrol"
#define MM_PORT_SERIAL_SEND_DELAY "send-delay"
#define MM_PORT_SERIAL_FD "fd" /* Construct-only */
#define MM_PORT_SERIAL_SPEW_CONTROL "spew-control" /* Construct-only */
@@ -154,4 +155,5 @@ gboolean mm_port_serial_set_flow_control (MMPortSerial *self,
MMFlowControl flow_control,
GError **error);
+MMFlowControl mm_port_serial_get_flow_control (MMPortSerial *self);
#endif /* MM_PORT_SERIAL_H */