diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-26 19:25:34 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:37 +0100 |
commit | 5e0df902721c251d6876e5ff3e509284a92676e6 (patch) | |
tree | dbaf6ccf9d7ff22c271c226632b11b4a0081cbaf /libmm-glib/mm-modem.c | |
parent | b224f1889428780dc0656ed9fc60750c144a138e (diff) |
libmm-common, libmm-glib: new bands string builder
Diffstat (limited to 'libmm-glib/mm-modem.c')
-rw-r--r-- | libmm-glib/mm-modem.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem.c b/libmm-glib/mm-modem.c index e89173e7..fd348a18 100644 --- a/libmm-glib/mm-modem.c +++ b/libmm-glib/mm-modem.c @@ -1698,3 +1698,19 @@ mm_modem_get_access_technologies_string (MMModemAccessTechnology access_tech) { return mm_common_get_access_technologies_string (access_tech); } + +/** + * mm_modem_get_bands_string: + * @bands: List of #MMModemBand values. + * @n_bands: Number of values in @bands. + * + * Build a string with a list of bands. + * + * Returns: (transfer full): A string specifying the band names given in @bands. The returned value should be freed with g_free(). + */ +gchar * +mm_modem_get_bands_string (const MMModemBand *bands, + guint n_bands) +{ + return mm_common_get_bands_string (bands, n_bands); +} |