diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-05-16 18:12:01 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2019-06-03 03:50:22 +0000 |
commit | 8092e301fc55c84a5523a8cb3f75461b53ac2e9a (patch) | |
tree | f1f6d0f7070791d1bc65bd299925bc48ef07128c /src/mm-port-serial.h | |
parent | c78ba5ea0ad37dcff4c2a5ca3b7bca21526eba08 (diff) |
port-serial: allow deciding whether the command is queued last or run next
By default all the commands we were sending through the serial port
were added at the tail of the pending queue, but we may want to queue
them at the head in very specific cases (e.g. while sending an SMS).
Diffstat (limited to 'src/mm-port-serial.h')
-rw-r--r-- | src/mm-port-serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-port-serial.h b/src/mm-port-serial.h index bac79b44..b30bad77 100644 --- a/src/mm-port-serial.h +++ b/src/mm-port-serial.h @@ -144,6 +144,7 @@ void mm_port_serial_command (MMPortSerial *self, GByteArray *command, guint32 timeout_seconds, gboolean allow_cached, + gboolean run_next, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); |