summaryrefslogtreecommitdiff
path: root/libnm-core/nm-utils.h
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-12-16 18:13:14 +0100
committerJiří Klimeš <jklimes@redhat.com>2015-01-13 09:35:49 +0100
commitd787f0391bced0382bef398f07c3dea164b5a291 (patch)
treeb6c0bcc35ab9bf9fa3f5a2d4a1a2685c7f03f64c /libnm-core/nm-utils.h
parentd9f143df8bc6a050653519e242565131cf7c5905 (diff)
downloadNetworkManager-d787f0391bced0382bef398f07c3dea164b5a291.tar.gz
utils: add functions for converting string <-> numeric bonding modes
Diffstat (limited to 'libnm-core/nm-utils.h')
-rw-r--r--libnm-core/nm-utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libnm-core/nm-utils.h b/libnm-core/nm-utils.h
index 8c22cfd168..7393040696 100644
--- a/libnm-core/nm-utils.h
+++ b/libnm-core/nm-utils.h
@@ -15,7 +15,7 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
- * Copyright 2005 - 2013 Red Hat, Inc.
+ * Copyright 2005 - 2014 Red Hat, Inc.
*/
#ifndef __NM_UTILS_H__
@@ -185,6 +185,9 @@ gboolean nm_utils_ipaddr_valid (int family, const char *ip);
gboolean nm_utils_check_virtual_device_compatibility (GType virtual_type, GType other_type);
+int nm_utils_bond_mode_string_to_int (const char *mode);
+const char *nm_utils_bond_mode_int_to_string (int mode);
+
G_END_DECLS
#endif /* __NM_UTILS_H__ */