diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-09-10 23:36:45 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2018-09-12 17:15:46 +0000 |
commit | 4c669d3bf46da3b4f924968e43fc2edfbfa0b5d7 (patch) | |
tree | 26d99b73db7841cd78877cf036ee769b03aef354 /src/mm-modem-helpers.h | |
parent | fc1beefe927adb8d9bed3f554ddfb73a09593630 (diff) |
modem-helpers: reuse nicknames for the flow control tags
And check that the string given in the tag is actually a valid one.
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r-- | src/mm-modem-helpers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h index fcac9f13..1897038c 100644 --- a/src/mm-modem-helpers.h +++ b/src/mm-modem-helpers.h @@ -112,7 +112,8 @@ typedef enum { /*< underscore_name=mm_flow_control >*/ MMFlowControl mm_parse_ifc_test_response (const gchar *response, GError **error); -MMFlowControl mm_parse_flow_control_tag (const gchar *flow_control); +MMFlowControl mm_flow_control_from_string (const gchar *str, + GError **error); /*****************************************************************************/ /* 3GPP specific helpers and utilities */ |