void nm_system_config_interface_reload_connections (NMSystemConfigInterface *config) { g_return_if_fail (config != NULL); if (NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->reload_connections) NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->reload_connections (config); }
GSList * nm_system_config_interface_get_unmanaged_specs (NMSystemConfigInterface *config) { g_return_val_if_fail (config != NULL, NULL); if (NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->get_unmanaged_specs) return NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->get_unmanaged_specs (config); return NULL; }
void nm_system_config_interface_init (NMSystemConfigInterface *config, gpointer unused) { g_return_if_fail (config != NULL); if (NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->init) NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->init (config); }
gboolean nm_system_config_interface_load_connection (NMSystemConfigInterface *config, const char *filename) { g_return_val_if_fail (config != NULL, FALSE); if (NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->load_connection) return NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->load_connection (config, filename); return FALSE; }
NMSettingsConnection * nm_system_config_interface_add_connection (NMSystemConfigInterface *config, NMConnection *connection, GError **error) { g_return_val_if_fail (config != NULL, NULL); g_return_val_if_fail (NM_IS_CONNECTION (connection), NULL); if (NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->add_connection) return NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->add_connection (config, connection, error); return NULL; }
gboolean nm_system_config_interface_add_connection (NMSystemConfigInterface *config, NMConnection *connection, GError **error) { gboolean success = FALSE; g_return_val_if_fail (config != NULL, FALSE); g_return_val_if_fail (NM_IS_CONNECTION (connection), FALSE); if (NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->add_connection) success = NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->add_connection (config, connection, error); return success; }