summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnm/nm-client.c10
-rw-r--r--libnm/nm-client.h7
-rw-r--r--libnm/nm-manager.h5
3 files changed, 22 insertions, 0 deletions
diff --git a/libnm/nm-client.c b/libnm/nm-client.c
index 7f4bfd67a9..7835d18ff0 100644
--- a/libnm/nm-client.c
+++ b/libnm/nm-client.c
@@ -484,6 +484,8 @@ nm_client_wimax_hardware_get_enabled (NMClient *client)
* configuration file.
*
* Returns: %TRUE if connectivity checking is available.
+ *
+ * Since: 1.10
*/
gboolean
nm_client_connectivity_check_get_available (NMClient *client)
@@ -503,6 +505,8 @@ nm_client_connectivity_check_get_available (NMClient *client)
* Determine whether connectivity checking is enabled.
*
* Returns: %TRUE if connectivity checking is enabled.
+ *
+ * Since: 1.10
*/
gboolean
nm_client_connectivity_check_get_enabled (NMClient *client)
@@ -523,6 +527,8 @@ nm_client_connectivity_check_get_enabled (NMClient *client)
* Enable or disable connectivity checking. Note that if a
* connectivity checking URI has not been configured, this will not
* have any effect.
+ *
+ * Since: 1.10
*/
void
nm_client_connectivity_check_set_enabled (NMClient *client, gboolean enabled)
@@ -2970,6 +2976,8 @@ nm_client_class_init (NMClientClass *client_class)
* NMClient::connectivity-check-available
*
* Whether a connectivity checking service has been configured.
+ *
+ * Since: 1.10
*/
g_object_class_install_property
(object_class, PROP_CONNECTIVITY_CHECK_AVAILABLE,
@@ -2982,6 +2990,8 @@ nm_client_class_init (NMClientClass *client_class)
* NMClient::connectivity-check-enabled
*
* Whether a connectivity checking service has been enabled.
+ *
+ * Since: 1.10
*/
g_object_class_install_property
(object_class, PROP_CONNECTIVITY_CHECK_ENABLED,
diff --git a/libnm/nm-client.h b/libnm/nm-client.h
index 75b49ceb5f..3b37b55a10 100644
--- a/libnm/nm-client.h
+++ b/libnm/nm-client.h
@@ -105,6 +105,8 @@ G_BEGIN_DECLS
* @NM_CLIENT_PERMISSION_CHECKPOINT_ROLLBACK: permission to create checkpoints.
* @NM_CLIENT_PERMISSION_ENABLE_DISABLE_STATISTICS: controls whether device
* statistics can be globally enabled or disabled
+ * @NM_CLIENT_PERMISSION_ENABLE_DISABLE_CONNECTIVITY_CHECK: controls whether
+ * connectivity check can be enabled or disabled
* @NM_CLIENT_PERMISSION_LAST: a reserved boundary value
*
* #NMClientPermission values indicate various permissions that NetworkManager
@@ -252,8 +254,13 @@ gboolean nm_client_wimax_get_enabled (NMClient *client);
void nm_client_wimax_set_enabled (NMClient *client, gboolean enabled);
gboolean nm_client_wimax_hardware_get_enabled (NMClient *client);
+NM_AVAILABLE_IN_1_10
gboolean nm_client_connectivity_check_get_available (NMClient *client);
+
+NM_AVAILABLE_IN_1_10
gboolean nm_client_connectivity_check_get_enabled (NMClient *client);
+
+NM_AVAILABLE_IN_1_10
void nm_client_connectivity_check_set_enabled (NMClient *client,
gboolean enabled);
diff --git a/libnm/nm-manager.h b/libnm/nm-manager.h
index 9a24390937..209a99a00c 100644
--- a/libnm/nm-manager.h
+++ b/libnm/nm-manager.h
@@ -99,8 +99,13 @@ gboolean nm_manager_wimax_get_enabled (NMManager *manager);
void nm_manager_wimax_set_enabled (NMManager *manager, gboolean enabled);
gboolean nm_manager_wimax_hardware_get_enabled (NMManager *manager);
+NM_AVAILABLE_IN_1_10
gboolean nm_manager_connectivity_check_get_available (NMManager *manager);
+
+NM_AVAILABLE_IN_1_10
gboolean nm_manager_connectivity_check_get_enabled (NMManager *manager);
+
+NM_AVAILABLE_IN_1_10
void nm_manager_connectivity_check_set_enabled (NMManager *manager,
gboolean enabled);