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.
This commit is contained in:
Thomas Haller
2016-02-13 16:06:36 +01:00
parent 6ee744f41d
commit a51a1cde36
2 changed files with 65 additions and 0 deletions

View File

@@ -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__ */