diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-20 18:49:23 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:35 +0100 |
commit | 52c5f6051bb12800194023afdb2a01109c035a8e (patch) | |
tree | 112d2c3ed8ce212fd893785656625805b2052c33 /libmm-glib/mm-modem.c | |
parent | 4495ba180e9d39ff8ae113387cc69eb3004b5612 (diff) |
libmm-glib: new helper method to build a string with access technologies
Diffstat (limited to 'libmm-glib/mm-modem.c')
-rw-r--r-- | libmm-glib/mm-modem.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem.c b/libmm-glib/mm-modem.c index b2a5945d..59533cc6 100644 --- a/libmm-glib/mm-modem.c +++ b/libmm-glib/mm-modem.c @@ -1658,3 +1658,17 @@ mm_modem_get_capabilities_string (MMModemCapability caps) { return mm_common_get_capabilities_string (caps); } + +/** + * mm_modem_get_access_technologies_string: + * @access_tech: Bitmask of #MMModemAccessTechnology flags. + * + * Build a string with a list of access technologies. + * + * Returns: (transfer full): A string specifying the access technologies given in @access_tech. The returned value should be freed with g_free(). + */ +gchar * +mm_modem_get_access_technologies_string (MMModemAccessTechnology access_tech) +{ + return mm_common_get_access_technologies_string (access_tech); +} |