serial-parsers: port to use object logging

This commit is contained in:
Aleksander Morgado
2020-03-31 17:09:53 +02:00
parent 72efb1b28d
commit 2e0d23ce72
4 changed files with 13 additions and 10 deletions

View File

@@ -53,9 +53,10 @@ typedef enum { /*< underscore_name=mm_port_serial_at_flag >*/
MM_PORT_SERIAL_AT_FLAG_GPS_CONTROL = 1 << 3,
} MMPortSerialAtFlag;
typedef gboolean (*MMPortSerialAtResponseParserFn) (gpointer user_data,
GString *response,
GError **error);
typedef gboolean (*MMPortSerialAtResponseParserFn) (gpointer user_data,
GString *response,
gpointer log_object,
GError **error);
typedef void (*MMPortSerialAtUnsolicitedMsgFn) (MMPortSerialAt *port,
GMatchInfo *match_info,