diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-03-25 18:18:46 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-04-18 18:08:57 +0200 |
commit | 580c113c5a4c9c8b74edce3808f0c6f0b43e2025 (patch) | |
tree | 11d5bad84c895fd49997944045dd4ac94c8111b1 /src/mm-port-serial.h | |
parent | 3223b56ba9f61c4339d74829748ae6937cffc196 (diff) |
port-serial: new method to explicitly set flow control settings
Diffstat (limited to 'src/mm-port-serial.h')
-rw-r--r-- | src/mm-port-serial.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mm-port-serial.h b/src/mm-port-serial.h index 708e3912..223b9ce1 100644 --- a/src/mm-port-serial.h +++ b/src/mm-port-serial.h @@ -21,6 +21,7 @@ #include <glib-object.h> #include <gio/gio.h> +#include "mm-modem-helpers.h" #include "mm-port.h" #define MM_TYPE_PORT_SERIAL (mm_port_serial_get_type ()) @@ -150,4 +151,8 @@ GByteArray *mm_port_serial_command_finish (MMPortSerial *self, GAsyncResult *res, GError **error); +gboolean mm_port_serial_set_flow_control (MMPortSerial *self, + MMFlowControl flow_control, + GError **error); + #endif /* MM_PORT_SERIAL_H */ |