modem-helpers: new helper to convert from netmask string to CIDR

This commit is contained in:
Aleksander Morgado
2012-08-31 13:54:48 +02:00
parent ab7f558a2c
commit 529eecdb97
2 changed files with 14 additions and 0 deletions

View File

@@ -58,6 +58,8 @@ gchar *mm_create_device_identifier (guint vid,
const gchar *model,
const gchar *manf);
guint mm_netmask_to_cidr (const gchar *netmask);
/*****************************************************************************/
/* 3GPP specific helpers and utilities */
/*****************************************************************************/