diff options
Diffstat (limited to 'src/mm-serial-port.h')
-rw-r--r-- | src/mm-serial-port.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mm-serial-port.h b/src/mm-serial-port.h index c1d8b127..c07d70c8 100644 --- a/src/mm-serial-port.h +++ b/src/mm-serial-port.h @@ -75,6 +75,11 @@ struct _MMSerialPortClass { GError *error, GCallback callback, gpointer callback_data); + + /* Called to configure the serial port after it's opened. On error, should + * return FALSE and set 'error' as appropriate. + */ + gboolean (*config_fd) (MMSerialPort *self, int fd, GError **error); }; GType mm_serial_port_get_type (void); |