diff options
Diffstat (limited to 'src/mm-at-serial-port.h')
-rw-r--r-- | src/mm-at-serial-port.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mm-at-serial-port.h b/src/mm-at-serial-port.h index 02435123..8ed8db9d 100644 --- a/src/mm-at-serial-port.h +++ b/src/mm-at-serial-port.h @@ -104,6 +104,12 @@ void mm_at_serial_port_queue_command_cached (MMAtSerialPort *self, MMAtSerialResponseFn callback, gpointer user_data); +/* + * Convert a string into a quoted and escaped string. Returns a new + * allocated string. Follows ITU V.250 5.4.2.2 "String constants". + */ +gchar *mm_at_serial_port_quote_string (const char *string); + /* Just for unit tests */ void mm_at_serial_port_remove_echo (GByteArray *response); |