diff options
Diffstat (limited to 'src/mm-serial-port.h')
-rw-r--r-- | src/mm-serial-port.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-serial-port.h b/src/mm-serial-port.h index a757c932..67f2a37a 100644 --- a/src/mm-serial-port.h +++ b/src/mm-serial-port.h @@ -74,9 +74,10 @@ struct _MMSerialPortClass { GError **error); /* Called after parsing to allow the command response to be delivered to - * it's callback to be handled. + * it's callback to be handled. Returns the # of bytes of the response + * consumed. */ - void (*handle_response) (MMSerialPort *self, + gsize (*handle_response) (MMSerialPort *self, GByteArray *response, GError *error, GCallback callback, |