summaryrefslogtreecommitdiff
path: root/src/NetworkManagerUtils.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-02-13 16:06:36 +0100
committerThomas Haller <thaller@redhat.com>2016-02-21 18:31:39 +0100
commita51a1cde3621d682bc70e8771d48a8af797bd24e (patch)
treee74c76c65377ba7ca161ed9ec9be575704759097 /src/NetworkManagerUtils.h
parent6ee744f41d0c3484c2626a37fd3cd5a7b58af3ca (diff)
downloadNetworkManager-a51a1cde3621d682bc70e8771d48a8af797bd24e.tar.gz
utils: add nm_utils_parse_debug_string() to replace g_parse_debug_string()
g_parse_debug_string() interprets the string "help" special and accepts an "all" tag to invert the result. We don't want that.
Diffstat (limited to 'src/NetworkManagerUtils.h')
-rw-r--r--src/NetworkManagerUtils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/NetworkManagerUtils.h b/src/NetworkManagerUtils.h
index 958ca7a98e..87c898771c 100644
--- a/src/NetworkManagerUtils.h
+++ b/src/NetworkManagerUtils.h
@@ -429,5 +429,8 @@ void nm_utils_g_value_set_object_path_array (GValue *value,
GSList *objects,
NMUtilsObjectFunc filter_func,
gpointer user_data);
+guint nm_utils_parse_debug_string (const char *string,
+ const GDebugKey *keys,
+ guint nkeys);
#endif /* __NETWORKMANAGER_UTILS_H__ */