aboutsummaryrefslogtreecommitdiff
path: root/src/mm-serial-port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-serial-port.h')
-rw-r--r--src/mm-serial-port.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mm-serial-port.h b/src/mm-serial-port.h
index 31cd5a78..27ebc254 100644
--- a/src/mm-serial-port.h
+++ b/src/mm-serial-port.h
@@ -87,11 +87,15 @@ struct _MMSerialPortClass {
GCallback callback,
gpointer callback_data);
- /* Called to configure the serial port after it's opened. On error, should
+ /* Called to configure the serial port fd after it's opened. On error, should
* return FALSE and set 'error' as appropriate.
*/
gboolean (*config_fd) (MMSerialPort *self, int fd, GError **error);
+ /* Called to configure the serial port after it's opened. Errors, if any,
+ * should get ignored. */
+ void (*config) (MMSerialPort *self);
+
void (*debug_log) (MMSerialPort *self,
const char *prefix,
const char *buf,