libnm-util: add non-failing versions of nm_connection_new_from_hash() and replace...
[NetworkManager.git] / libnm-util / nm-setting-private.h
index 6956463..beb8748 100644 (file)
@@ -23,6 +23,8 @@
 
 #include "nm-default.h"
 
+#include "nm-connection.h"
+
 #define NM_SETTING_SECRET_FLAGS_ALL \
        (NM_SETTING_SECRET_FLAG_NONE | \
         NM_SETTING_SECRET_FLAG_AGENT_OWNED | \
@@ -62,6 +64,10 @@ gint _nm_setting_compare_priority (gconstpointer a, gconstpointer b);
 
 gboolean _nm_setting_get_property (NMSetting *setting, const char *name, GValue *value);
 
+NMConnection *_nm_connection_new_from_hash (GHashTable *hash);
+void          _nm_connection_replace_settings (NMConnection *connection,
+                                               GHashTable *new_settings);
+
 typedef enum NMSettingUpdateSecretResult {
        NM_SETTING_UPDATE_SECRET_ERROR              = FALSE,
        NM_SETTING_UPDATE_SECRET_SUCCESS_MODIFIED   = TRUE,