From b4ae6eaec9cec10d68bdcce7151b07451e4de6a3 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 9 May 2014 15:04:04 -0400 Subject: [PATCH] libnm: remove Since tags and NM_AVAILABLE_IN_* attributes Everything currently in libnm has always been there. --- libnm-core/NetworkManager.h | 2 - libnm-core/nm-connection.c | 20 ------ libnm-core/nm-connection.h | 9 --- libnm-core/nm-setting-8021x.c | 6 -- libnm-core/nm-setting-8021x.h | 3 - libnm-core/nm-setting-bond.c | 2 - libnm-core/nm-setting-bond.h | 1 - libnm-core/nm-setting-bridge-port.c | 18 ------ libnm-core/nm-setting-bridge-port.h | 2 - libnm-core/nm-setting-bridge.c | 38 ----------- libnm-core/nm-setting-bridge.h | 3 - libnm-core/nm-setting-connection.c | 22 ------- libnm-core/nm-setting-connection.h | 4 -- libnm-core/nm-setting-dcb.c | 78 ----------------------- libnm-core/nm-setting-dcb.h | 8 --- libnm-core/nm-setting-generic.c | 6 -- libnm-core/nm-setting-generic.h | 4 -- libnm-core/nm-setting-ip4-config.c | 8 --- libnm-core/nm-setting-ip4-config.h | 4 -- libnm-core/nm-setting-ip6-config.c | 12 ---- libnm-core/nm-setting-ip6-config.h | 4 -- libnm-core/nm-setting-team-port.c | 8 --- libnm-core/nm-setting-team-port.h | 2 - libnm-core/nm-setting-team.c | 10 --- libnm-core/nm-setting-team.h | 2 - libnm-core/nm-setting-vlan.c | 4 -- libnm-core/nm-setting-vlan.h | 2 - libnm-core/nm-setting-wired.c | 14 ---- libnm-core/nm-setting-wired.h | 7 -- libnm-core/nm-setting-wireless-security.c | 6 -- libnm-core/nm-setting-wireless-security.h | 3 - libnm-core/nm-setting-wireless.c | 12 ---- libnm-core/nm-setting-wireless.h | 8 --- libnm-core/nm-utils-private.h | 2 - libnm-core/nm-utils.c | 30 --------- libnm-core/nm-utils.h | 9 --- libnm/nm-active-connection.c | 28 -------- libnm/nm-active-connection.h | 7 -- libnm/nm-client.c | 27 -------- libnm/nm-client.h | 2 - libnm/nm-device-bond.c | 4 -- libnm/nm-device-bridge.c | 16 ----- libnm/nm-device-bridge.h | 2 - libnm/nm-device-generic.c | 6 -- libnm/nm-device-generic.h | 2 - libnm/nm-device-team.c | 10 --- libnm/nm-device-team.h | 3 - libnm/nm-device-wifi.c | 4 -- libnm/nm-device-wimax.c | 2 - libnm/nm-device.c | 28 -------- libnm/nm-device.h | 10 --- libnm/nm-ip4-config.c | 8 --- libnm/nm-ip4-config.h | 2 - libnm/nm-ip6-config.c | 12 ---- libnm/nm-ip6-config.h | 4 -- libnm/nm-remote-connection.c | 8 --- libnm/nm-remote-connection.h | 3 - libnm/nm-remote-settings.c | 8 --- libnm/nm-remote-settings.h | 4 -- libnm/nm-secret-agent.h | 2 - libnm/nm-vpn-plugin.c | 2 - libnm/nm-vpn-plugin.h | 1 - 62 files changed, 578 deletions(-) diff --git a/libnm-core/NetworkManager.h b/libnm-core/NetworkManager.h index 741816dc26..cf47010bfd 100644 --- a/libnm-core/NetworkManager.h +++ b/libnm-core/NetworkManager.h @@ -116,8 +116,6 @@ typedef enum { * appears to be able to reach the full Internet. * * (Corresponds to the NM_CONNECTIVITY type in nm-manager.xml.) - * - * Since: 0.9.8.6 */ typedef enum { NM_CONNECTIVITY_UNKNOWN, diff --git a/libnm-core/nm-connection.c b/libnm-core/nm-connection.c index 7e26309c57..542650fdc1 100644 --- a/libnm-core/nm-connection.c +++ b/libnm-core/nm-connection.c @@ -406,8 +406,6 @@ nm_connection_replace_settings (NMConnection *connection, * * Returns: %TRUE if the settings were valid and added to the connection, %FALSE * if they were not - * - * Since: 0.9.10 **/ gboolean nm_connection_replace_settings_from_connection (NMConnection *connection, @@ -898,8 +896,6 @@ EXIT: * cannot be normalized, the connection will not be modified. * * Returns: %TRUE if the connection is valid, %FALSE if it is not - * - * Since: 1.0 **/ gboolean nm_connection_normalize (NMConnection *connection, @@ -1388,8 +1384,6 @@ nm_connection_get_path (NMConnection *connection) * NetworkManager, this is the name of the created interface. * * Returns: Name of the kernel interface or %NULL - * - * Since: 1.0 */ const char * nm_connection_get_interface_name (NMConnection *connection) @@ -1548,8 +1542,6 @@ nm_connection_get_id (NMConnection *connection) * A shortcut to return the type from the connection's #NMSettingConnection. * * Returns: the type from the connection's 'connection' setting - * - * Since: 0.9.10 **/ const char * nm_connection_get_connection_type (NMConnection *connection) @@ -1574,8 +1566,6 @@ nm_connection_get_connection_type (NMConnection *connection) * * Returns: (transfer full): the name of @connection's device, * or %NULL if @connection is not a virtual connection type - * - * Since: 0.9.10 */ char * nm_connection_get_virtual_device_description (NMConnection *connection) @@ -1664,8 +1654,6 @@ nm_connection_get_setting_bond (NMConnection *connection) * A shortcut to return any #NMSettingTeam the connection might contain. * * Returns: (transfer none): an #NMSettingTeam if the connection contains one, otherwise %NULL - * - * Since: 0.9.10 **/ NMSettingTeam * nm_connection_get_setting_team (NMConnection *connection) @@ -1682,8 +1670,6 @@ nm_connection_get_setting_team (NMConnection *connection) * A shortcut to return any #NMSettingTeamPort the connection might contain. * * Returns: (transfer none): an #NMSettingTeamPort if the connection contains one, otherwise %NULL - * - * Since: 0.9.10 **/ NMSettingTeamPort * nm_connection_get_setting_team_port (NMConnection *connection) @@ -1748,8 +1734,6 @@ nm_connection_get_setting_connection (NMConnection *connection) * A shortcut to return any #NMSettingDcb the connection might contain. * * Returns: (transfer none): an #NMSettingDcb if the connection contains one, otherwise NULL - * - * Since: 0.9.10 **/ NMSettingDcb * nm_connection_get_setting_dcb (NMConnection *connection) @@ -1766,8 +1750,6 @@ nm_connection_get_setting_dcb (NMConnection *connection) * A shortcut to return any #NMSettingGeneric the connection might contain. * * Returns: (transfer none): an #NMSettingGeneric if the connection contains one, otherwise NULL - * - * Since: 0.9.10 **/ NMSettingGeneric * nm_connection_get_setting_generic (NMConnection *connection) @@ -2176,8 +2158,6 @@ nm_connection_class_init (NMConnectionClass *klass) * The ::changed signal is emitted when any property of any property * (including secrets) of any setting of the connection is modified, * or when settings are added or removed. - * - * Since: 0.9.10 */ signals[CHANGED] = g_signal_new (NM_CONNECTION_CHANGED, diff --git a/libnm-core/nm-connection.h b/libnm-core/nm-connection.h index 2cee2be560..bb757f6415 100644 --- a/libnm-core/nm-connection.h +++ b/libnm-core/nm-connection.h @@ -151,7 +151,6 @@ gboolean nm_connection_replace_settings (NMConnection *connection, GHashTable *new_settings, GError **error); -NM_AVAILABLE_IN_0_9_10 gboolean nm_connection_replace_settings_from_connection (NMConnection *connection, NMConnection *new_connection, GError **error); @@ -166,7 +165,6 @@ gboolean nm_connection_diff (NMConnection *a, GHashTable **out_settings); gboolean nm_connection_verify (NMConnection *connection, GError **error); -NM_AVAILABLE_IN_1_0 gboolean nm_connection_normalize (NMConnection *connection, GHashTable *parameters, gboolean *modified, @@ -193,7 +191,6 @@ const char * nm_connection_get_path (NMConnection *connection); const char * nm_connection_get_virtual_iface_name (NMConnection *connection); -NM_AVAILABLE_IN_1_0 const char * nm_connection_get_interface_name (NMConnection *connection); gboolean nm_connection_is_type (NMConnection *connection, const char *type); @@ -214,26 +211,20 @@ GType nm_connection_lookup_setting_type_by_quark (GQuark error_quark); /* Helpers */ const char * nm_connection_get_uuid (NMConnection *connection); const char * nm_connection_get_id (NMConnection *connection); -NM_AVAILABLE_IN_0_9_10 const char * nm_connection_get_connection_type (NMConnection *connection); -NM_AVAILABLE_IN_0_9_10 char * nm_connection_get_virtual_device_description (NMConnection *connection); NMSetting8021x * nm_connection_get_setting_802_1x (NMConnection *connection); NMSettingBluetooth * nm_connection_get_setting_bluetooth (NMConnection *connection); NMSettingBond * nm_connection_get_setting_bond (NMConnection *connection); -NM_AVAILABLE_IN_0_9_10 NMSettingTeam * nm_connection_get_setting_team (NMConnection *connection); -NM_AVAILABLE_IN_0_9_10 NMSettingTeamPort * nm_connection_get_setting_team_port (NMConnection *connection); NMSettingBridge * nm_connection_get_setting_bridge (NMConnection *connection); NMSettingBridgePort * nm_connection_get_setting_bridge_port (NMConnection *connection); NMSettingCdma * nm_connection_get_setting_cdma (NMConnection *connection); NMSettingConnection * nm_connection_get_setting_connection (NMConnection *connection); -NM_AVAILABLE_IN_0_9_10 NMSettingDcb * nm_connection_get_setting_dcb (NMConnection *connection); -NM_AVAILABLE_IN_0_9_10 NMSettingGeneric * nm_connection_get_setting_generic (NMConnection *connection); NMSettingGsm * nm_connection_get_setting_gsm (NMConnection *connection); NMSettingInfiniband * nm_connection_get_setting_infiniband (NMConnection *connection); diff --git a/libnm-core/nm-setting-8021x.c b/libnm-core/nm-setting-8021x.c index daa5d6b0c7..dc964a1364 100644 --- a/libnm-core/nm-setting-8021x.c +++ b/libnm-core/nm-setting-8021x.c @@ -286,8 +286,6 @@ nm_setting_802_1x_remove_eap_method (NMSetting8021x *setting, guint32 i) * Removes the allowed EAP method @method. * * Returns: %TRUE if the EAP method was founs and removed, %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_802_1x_remove_eap_method_by_value (NMSetting8021x *setting, @@ -726,8 +724,6 @@ nm_setting_802_1x_remove_altsubject_match (NMSetting8021x *setting, guint32 i) * * Returns: %TRUE if the alternative subject name match was found and removed, * %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_802_1x_remove_altsubject_match_by_value (NMSetting8021x *setting, @@ -1309,8 +1305,6 @@ nm_setting_802_1x_remove_phase2_altsubject_match (NMSetting8021x *setting, guint * * Returns: %TRUE if the alternative subject name match for "phase 2" was found and removed, * %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_802_1x_remove_phase2_altsubject_match_by_value (NMSetting8021x *setting, diff --git a/libnm-core/nm-setting-8021x.h b/libnm-core/nm-setting-8021x.h index 2121f63b62..ab034580dd 100644 --- a/libnm-core/nm-setting-8021x.h +++ b/libnm-core/nm-setting-8021x.h @@ -167,7 +167,6 @@ guint32 nm_setting_802_1x_get_num_eap_methods (NMSetting8 const char * nm_setting_802_1x_get_eap_method (NMSetting8021x *setting, guint32 i); gboolean nm_setting_802_1x_add_eap_method (NMSetting8021x *setting, const char *eap); void nm_setting_802_1x_remove_eap_method (NMSetting8021x *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_802_1x_remove_eap_method_by_value (NMSetting8021x *setting, const char *eap); void nm_setting_802_1x_clear_eap_methods (NMSetting8021x *setting); @@ -199,7 +198,6 @@ gboolean nm_setting_802_1x_add_altsubject_match (NMSetting8 const char *altsubject_match); void nm_setting_802_1x_remove_altsubject_match (NMSetting8021x *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_802_1x_remove_altsubject_match_by_value (NMSetting8021x *setting, const char *altsubject_match); void nm_setting_802_1x_clear_altsubject_matches (NMSetting8021x *setting); @@ -241,7 +239,6 @@ gboolean nm_setting_802_1x_add_phase2_altsubject_match (NMS const char *phase2_altsubject_match); void nm_setting_802_1x_remove_phase2_altsubject_match (NMSetting8021x *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_802_1x_remove_phase2_altsubject_match_by_value (NMSetting8021x *setting, const char *phase2_altsubject_match); void nm_setting_802_1x_clear_phase2_altsubject_matches (NMSetting8021x *setting); diff --git a/libnm-core/nm-setting-bond.c b/libnm-core/nm-setting-bond.c index 10766f564d..3edb089211 100644 --- a/libnm-core/nm-setting-bond.c +++ b/libnm-core/nm-setting-bond.c @@ -289,8 +289,6 @@ validate_ifname (const char *name, const char *value) * * Returns: %TRUE, if the @value is valid for the given name. * If the @name is not a valid option, %FALSE will be returned. - * - * Since: 0.9.10 **/ gboolean nm_setting_bond_validate_option (const char *name, diff --git a/libnm-core/nm-setting-bond.h b/libnm-core/nm-setting-bond.h index e7807380bf..6bfb2e7db7 100644 --- a/libnm-core/nm-setting-bond.h +++ b/libnm-core/nm-setting-bond.h @@ -103,7 +103,6 @@ gboolean nm_setting_bond_add_option (NMSettingBond *setting, gboolean nm_setting_bond_remove_option (NMSettingBond *setting, const char *name); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_bond_validate_option (const char *name, const char *value); diff --git a/libnm-core/nm-setting-bridge-port.c b/libnm-core/nm-setting-bridge-port.c index 496de581ab..08dbab9760 100644 --- a/libnm-core/nm-setting-bridge-port.c +++ b/libnm-core/nm-setting-bridge-port.c @@ -37,8 +37,6 @@ * * The #NMSettingBridgePort object is a #NMSetting subclass that describes * optional properties that apply to bridge ports. - * - * Since: 0.9.8 **/ /** @@ -47,8 +45,6 @@ * Registers an error quark for #NMSettingBridgePort if necessary. * * Returns: the error quark used for #NMSettingBridgePort errors. - * - * Since: 0.9.8 **/ GQuark nm_setting_bridge_port_error_quark (void) @@ -90,8 +86,6 @@ enum { * @setting: the #NMSettingBridgePort * * Returns: the #NMSettingBridgePort:priority property of the setting - * - * Since: 0.9.8 **/ guint16 nm_setting_bridge_port_get_priority (NMSettingBridgePort *setting) @@ -106,8 +100,6 @@ nm_setting_bridge_port_get_priority (NMSettingBridgePort *setting) * @setting: the #NMSettingBridgePort * * Returns: the #NMSettingBridgePort:path-cost property of the setting - * - * Since: 0.9.8 **/ guint16 nm_setting_bridge_port_get_path_cost (NMSettingBridgePort *setting) @@ -122,8 +114,6 @@ nm_setting_bridge_port_get_path_cost (NMSettingBridgePort *setting) * @setting: the #NMSettingBridgePort * * Returns: the #NMSettingBridgePort:hairpin-mode property of the setting - * - * Since: 0.9.8 **/ gboolean nm_setting_bridge_port_get_hairpin_mode (NMSettingBridgePort *setting) @@ -181,8 +171,6 @@ verify (NMSetting *setting, GSList *all_settings, GError **error) * Creates a new #NMSettingBridgePort object with default values. * * Returns: (transfer full): the new empty #NMSettingBridgePort object - * - * Since: 0.9.8 **/ NMSetting * nm_setting_bridge_port_new (void) @@ -257,8 +245,6 @@ nm_setting_bridge_port_class_init (NMSettingBridgePortClass *setting_class) * NMSettingBridgePort:priority: * * The Spanning Tree Protocol (STP) priority of this bridge port. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_PRIORITY, @@ -274,8 +260,6 @@ nm_setting_bridge_port_class_init (NMSettingBridgePortClass *setting_class) * * The Spanning Tree Protocol (STP) port cost for destinations via this * port. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_PATH_COST, @@ -291,8 +275,6 @@ nm_setting_bridge_port_class_init (NMSettingBridgePortClass *setting_class) * * Enables or disabled "hairpin mode" for the port, which allows frames to * be sent back out through the port the frame was received on. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_HAIRPIN_MODE, diff --git a/libnm-core/nm-setting-bridge-port.h b/libnm-core/nm-setting-bridge-port.h index fcaf22ed09..f63aa390e2 100644 --- a/libnm-core/nm-setting-bridge-port.h +++ b/libnm-core/nm-setting-bridge-port.h @@ -41,8 +41,6 @@ G_BEGIN_DECLS * @NM_SETTING_BRIDGE_PORT_ERROR_INVALID_PROPERTY: the property was invalid * @NM_SETTING_BRIDGE_PORT_ERROR_MISSING_PROPERTY: the property was missing and * is required - * - * Since: 0.9.8 */ typedef enum { NM_SETTING_BRIDGE_PORT_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ diff --git a/libnm-core/nm-setting-bridge.c b/libnm-core/nm-setting-bridge.c index 789660036f..02457c13c5 100644 --- a/libnm-core/nm-setting-bridge.c +++ b/libnm-core/nm-setting-bridge.c @@ -40,8 +40,6 @@ * * The #NMSettingBridge object is a #NMSetting subclass that describes properties * necessary for bridging connections. - * - * Since: 0.9.8 **/ /** @@ -50,8 +48,6 @@ * Registers an error quark for #NMSettingBridge if necessary. * * Returns: the error quark used for #NMSettingBridge errors. - * - * Since: 0.9.8 **/ GQuark nm_setting_bridge_error_quark (void) @@ -103,8 +99,6 @@ enum { * Creates a new #NMSettingBridge object with default values. * * Returns: (transfer full): the new empty #NMSettingBridge object - * - * Since: 0.9.8 **/ NMSetting * nm_setting_bridge_new (void) @@ -117,8 +111,6 @@ nm_setting_bridge_new (void) * @setting: the #NMSettingBridge * * Returns: the #NMSettingBridge:interface-name property of the setting - * - * Since: 0.9.8 **/ const char * nm_setting_bridge_get_interface_name (NMSettingBridge *setting) @@ -133,8 +125,6 @@ nm_setting_bridge_get_interface_name (NMSettingBridge *setting) * @setting: the #NMSettingBridge * * Returns: the #NMSettingBridge:mac-address property of the setting - * - * Since: 0.9.10 **/ const GByteArray * nm_setting_bridge_get_mac_address (NMSettingBridge *setting) @@ -149,8 +139,6 @@ nm_setting_bridge_get_mac_address (NMSettingBridge *setting) * @setting: the #NMSettingBridge * * Returns: the #NMSettingBridge:stp property of the setting - * - * Since: 0.9.8 **/ gboolean nm_setting_bridge_get_stp (NMSettingBridge *setting) @@ -165,8 +153,6 @@ nm_setting_bridge_get_stp (NMSettingBridge *setting) * @setting: the #NMSettingBridge * * Returns: the #NMSettingBridge:priority property of the setting - * - * Since: 0.9.8 **/ guint16 nm_setting_bridge_get_priority (NMSettingBridge *setting) @@ -181,8 +167,6 @@ nm_setting_bridge_get_priority (NMSettingBridge *setting) * @setting: the #NMSettingBridge * * Returns: the #NMSettingBridge:forward-delay property of the setting - * - * Since: 0.9.8 **/ guint16 nm_setting_bridge_get_forward_delay (NMSettingBridge *setting) @@ -197,8 +181,6 @@ nm_setting_bridge_get_forward_delay (NMSettingBridge *setting) * @setting: the #NMSettingBridge * * Returns: the #NMSettingBridge:hello-time property of the setting - * - * Since: 0.9.8 **/ guint16 nm_setting_bridge_get_hello_time (NMSettingBridge *setting) @@ -213,8 +195,6 @@ nm_setting_bridge_get_hello_time (NMSettingBridge *setting) * @setting: the #NMSettingBridge * * Returns: the #NMSettingBridge:max-age property of the setting - * - * Since: 0.9.8 **/ guint16 nm_setting_bridge_get_max_age (NMSettingBridge *setting) @@ -229,8 +209,6 @@ nm_setting_bridge_get_max_age (NMSettingBridge *setting) * @setting: the #NMSettingBridge * * Returns: the #NMSettingBridge:ageing-time property of the setting - * - * Since: 0.9.8 **/ guint nm_setting_bridge_get_ageing_time (NMSettingBridge *setting) @@ -448,8 +426,6 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) * NMSettingBridge:interface-name: * * The name of the virtual in-kernel bridging network interface - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_INTERFACE_NAME, @@ -465,8 +441,6 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) * If specified, the MAC address of bridge. When creating a new bridge, this * MAC address will be set. When matching an existing (outside * NetworkManager created) bridge, this MAC address must match. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_MAC_ADDRESS, @@ -480,8 +454,6 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) * NMSettingBridge:stp: * * Controls whether Spanning Tree Protocol (STP) is enabled for this bridge. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_STP, @@ -498,8 +470,6 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) * Sets the Spanning Tree Protocol (STP) priority for this bridge. Lower * values are "better"; the lowest priority bridge will be elected the root * bridge. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_PRIORITY, @@ -514,8 +484,6 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) * NMSettingBridge:forward-delay: * * The Spanning Tree Protocol (STP) forwarding delay, in seconds. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_FORWARD_DELAY, @@ -530,8 +498,6 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) * NMSettingBridge:hello-time: * * The Spanning Tree Protocol (STP) hello time, in seconds. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_HELLO_TIME, @@ -546,8 +512,6 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) * NMSettingBridge:max-age: * * The Spanning Tree Protocol (STP) maximum message age, in seconds. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_MAX_AGE, @@ -562,8 +526,6 @@ nm_setting_bridge_class_init (NMSettingBridgeClass *setting_class) * NMSettingBridge:ageing-time: * * The Ethernet MAC address aging time, in seconds. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_AGEING_TIME, diff --git a/libnm-core/nm-setting-bridge.h b/libnm-core/nm-setting-bridge.h index f6b59262b8..336c8ec7d6 100644 --- a/libnm-core/nm-setting-bridge.h +++ b/libnm-core/nm-setting-bridge.h @@ -41,8 +41,6 @@ G_BEGIN_DECLS * @NM_SETTING_BRIDGE_ERROR_INVALID_PROPERTY: the property was invalid * @NM_SETTING_BRIDGE_ERROR_MISSING_PROPERTY: the property was missing and is * required - * - * Since: 0.9.8 */ typedef enum { NM_SETTING_BRIDGE_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ @@ -82,7 +80,6 @@ NMSetting * nm_setting_bridge_new (void); const char * nm_setting_bridge_get_interface_name (NMSettingBridge *setting); -NM_AVAILABLE_IN_0_9_10 const GByteArray *nm_setting_bridge_get_mac_address (NMSettingBridge *setting); gboolean nm_setting_bridge_get_stp (NMSettingBridge *setting); diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c index f206bbb032..75615a0494 100644 --- a/libnm-core/nm-setting-connection.c +++ b/libnm-core/nm-setting-connection.c @@ -245,8 +245,6 @@ nm_setting_connection_get_uuid (NMSettingConnection *setting) * Returns the #NMSettingConnection:interface-name property of the connection. * * Returns: the connection's interface name - * - * Since: 0.9.10 **/ const char * nm_setting_connection_get_interface_name (NMSettingConnection *setting) @@ -456,8 +454,6 @@ nm_setting_connection_remove_permission (NMSettingConnection *setting, * be a username. See #NMSettingConnection:permissions: for more details. * * Returns: %TRUE if the permission was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 */ gboolean nm_setting_connection_remove_permission_by_value (NMSettingConnection *setting, @@ -609,8 +605,6 @@ nm_setting_connection_is_slave_type (NMSettingConnection *setting, * @setting: the #NMSettingConnection * * Returns: the number of configured secondary connection UUIDs - * - * Since: 0.9.8 **/ guint32 nm_setting_connection_get_num_secondaries (NMSettingConnection *setting) @@ -626,8 +620,6 @@ nm_setting_connection_get_num_secondaries (NMSettingConnection *setting) * @idx: the zero-based index of the secondary connection UUID entry * * Returns: the secondary connection UUID at index @idx - * - * Since: 0.9.8 **/ const char * nm_setting_connection_get_secondary (NMSettingConnection *setting, guint32 idx) @@ -651,8 +643,6 @@ nm_setting_connection_get_secondary (NMSettingConnection *setting, guint32 idx) * * Returns: %TRUE if the secondary connection UUID was added; %FALSE if the UUID * was already present - * - * Since: 0.9.8 **/ gboolean nm_setting_connection_add_secondary (NMSettingConnection *setting, @@ -682,8 +672,6 @@ nm_setting_connection_add_secondary (NMSettingConnection *setting, * @idx: index number of the secondary connection UUID * * Removes the secondary coonnection UUID at index @idx. - * - * Since: 0.9.8 **/ void nm_setting_connection_remove_secondary (NMSettingConnection *setting, guint32 idx) @@ -710,8 +698,6 @@ nm_setting_connection_remove_secondary (NMSettingConnection *setting, guint32 id * Removes the secondary coonnection UUID @sec_uuid. * * Returns: %TRUE if the secondary connection UUID was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_connection_remove_secondary_by_value (NMSettingConnection *setting, @@ -741,8 +727,6 @@ nm_setting_connection_remove_secondary_by_value (NMSettingConnection *setting, * * Returns: the value contained in the #NMSettingConnection:gateway-ping-timeout * property. - * - * Since: 0.9.10 **/ guint32 nm_setting_connection_get_gateway_ping_timeout (NMSettingConnection *setting) @@ -1148,8 +1132,6 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) * not be used. Setting this property restricts the interfaces a connection * can be used with, and if interface names change or are reordered the * connection may be applied to the wrong interface. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_INTERFACE_NAME, @@ -1304,8 +1286,6 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) * List of connection UUIDs that should be activated when the base * connection itself is activated. Currently only VPN connections are * supported. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_SECONDARIES, @@ -1320,8 +1300,6 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) * * If greater than zero, delay success of IP addressing until either the * timeout is reached, or an IP gateway replies to a ping. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_GATEWAY_PING_TIMEOUT, diff --git a/libnm-core/nm-setting-connection.h b/libnm-core/nm-setting-connection.h index 143fa11d58..31a82aff47 100644 --- a/libnm-core/nm-setting-connection.h +++ b/libnm-core/nm-setting-connection.h @@ -104,7 +104,6 @@ GType nm_setting_connection_get_type (void); NMSetting * nm_setting_connection_new (void); const char *nm_setting_connection_get_id (NMSettingConnection *setting); const char *nm_setting_connection_get_uuid (NMSettingConnection *setting); -NM_AVAILABLE_IN_0_9_10 const char *nm_setting_connection_get_interface_name (NMSettingConnection *setting); const char *nm_setting_connection_get_connection_type (NMSettingConnection *setting); gboolean nm_setting_connection_get_autoconnect (NMSettingConnection *setting); @@ -125,7 +124,6 @@ gboolean nm_setting_connection_add_permission (NMSettingConnection *set const char *detail); void nm_setting_connection_remove_permission (NMSettingConnection *setting, guint32 idx); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_connection_remove_permission_by_value (NMSettingConnection *setting, const char *ptype, const char *pitem, @@ -140,10 +138,8 @@ guint32 nm_setting_connection_get_num_secondaries (NMSettingConnection *set const char *nm_setting_connection_get_secondary (NMSettingConnection *setting, guint32 idx); gboolean nm_setting_connection_add_secondary (NMSettingConnection *setting, const char *sec_uuid); void nm_setting_connection_remove_secondary (NMSettingConnection *setting, guint32 idx); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_connection_remove_secondary_by_value (NMSettingConnection *setting, const char *sec_uuid); -NM_AVAILABLE_IN_0_9_10 guint32 nm_setting_connection_get_gateway_ping_timeout (NMSettingConnection *setting); G_END_DECLS diff --git a/libnm-core/nm-setting-dcb.c b/libnm-core/nm-setting-dcb.c index 4839f7fe75..713b37ea13 100644 --- a/libnm-core/nm-setting-dcb.c +++ b/libnm-core/nm-setting-dcb.c @@ -40,8 +40,6 @@ * DCB is a set of protocols (including 802.1Qbb, 802.1Qaz, 802.1Qau, and * 802.1AB) to eliminate packet loss in Ethernet networks and support the use * of storage technologies like Fibre Channel over Ethernet (FCoE) and iSCSI. - * - * Since: 0.9.10 **/ /** @@ -50,8 +48,6 @@ * Registers an error quark for #NMSettingDcb if necessary. * * Returns: the error quark used for #NMSettingDcb errors. - * - * Since: 0.9.10 **/ GQuark nm_setting_dcb_error_quark (void) @@ -128,8 +124,6 @@ enum { * Creates a new #NMSettingDcb object with default values. * * Returns: (transfer full): the new empty #NMSettingDcb object - * - * Since: 0.9.10 **/ NMSetting * nm_setting_dcb_new (void) @@ -142,8 +136,6 @@ nm_setting_dcb_new (void) * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:app-fcoe-flags property of the setting - * - * Since: 0.9.10 **/ NMSettingDcbFlags nm_setting_dcb_get_app_fcoe_flags (NMSettingDcb *setting) @@ -158,8 +150,6 @@ nm_setting_dcb_get_app_fcoe_flags (NMSettingDcb *setting) * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:app-fcoe-priority property of the setting - * - * Since: 0.9.10 **/ gint nm_setting_dcb_get_app_fcoe_priority (NMSettingDcb *setting) @@ -174,8 +164,6 @@ nm_setting_dcb_get_app_fcoe_priority (NMSettingDcb *setting) * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:app-fcoe-mode property of the setting - * - * Since: 0.9.10 **/ const char * nm_setting_dcb_get_app_fcoe_mode (NMSettingDcb *setting) @@ -190,8 +178,6 @@ nm_setting_dcb_get_app_fcoe_mode (NMSettingDcb *setting) * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:app-iscsi-flags property of the setting - * - * Since: 0.9.10 **/ NMSettingDcbFlags nm_setting_dcb_get_app_iscsi_flags (NMSettingDcb *setting) @@ -206,8 +192,6 @@ nm_setting_dcb_get_app_iscsi_flags (NMSettingDcb *setting) * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:app-iscsi-priority property of the setting - * - * Since: 0.9.10 **/ gint nm_setting_dcb_get_app_iscsi_priority (NMSettingDcb *setting) @@ -222,8 +206,6 @@ nm_setting_dcb_get_app_iscsi_priority (NMSettingDcb *setting) * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:app-fip-flags property of the setting - * - * Since: 0.9.10 **/ NMSettingDcbFlags nm_setting_dcb_get_app_fip_flags (NMSettingDcb *setting) @@ -238,8 +220,6 @@ nm_setting_dcb_get_app_fip_flags (NMSettingDcb *setting) * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:app-fip-priority property of the setting - * - * Since: 0.9.10 **/ gint nm_setting_dcb_get_app_fip_priority (NMSettingDcb *setting) @@ -254,8 +234,6 @@ nm_setting_dcb_get_app_fip_priority (NMSettingDcb *setting) * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:priority-flow-control-flags property of the setting - * - * Since: 0.9.10 **/ NMSettingDcbFlags nm_setting_dcb_get_priority_flow_control_flags (NMSettingDcb *setting) @@ -272,8 +250,6 @@ nm_setting_dcb_get_priority_flow_control_flags (NMSettingDcb *setting) * * Returns: %TRUE if flow control is enabled for the given @user_priority, * %FALSE if not enabled - * - * Since: 0.9.10 **/ gboolean nm_setting_dcb_get_priority_flow_control (NMSettingDcb *setting, guint user_priority) @@ -292,8 +268,6 @@ nm_setting_dcb_get_priority_flow_control (NMSettingDcb *setting, guint user_prio * * These values are only valid when #NMSettingDcb:priority-flow-control includes * the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ void nm_setting_dcb_set_priority_flow_control (NMSettingDcb *setting, @@ -318,8 +292,6 @@ nm_setting_dcb_set_priority_flow_control (NMSettingDcb *setting, * @setting: the #NMSettingDcb * * Returns: the #NMSettingDcb:priority-group-flags property of the setting - * - * Since: 0.9.10 **/ NMSettingDcbFlags nm_setting_dcb_get_priority_group_flags (NMSettingDcb *setting) @@ -337,8 +309,6 @@ nm_setting_dcb_get_priority_group_flags (NMSettingDcb *setting) * Returns: the group number @user_priority is assigned to. These values are * only valid when #NMSettingDcb:priority-group-flags includes the * %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ guint nm_setting_dcb_get_priority_group_id (NMSettingDcb *setting, guint user_priority) @@ -358,8 +328,6 @@ nm_setting_dcb_get_priority_group_id (NMSettingDcb *setting, guint user_priority * * These values are only valid when #NMSettingDcb:priority-group-flags includes * the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ void nm_setting_dcb_set_priority_group_id (NMSettingDcb *setting, @@ -387,8 +355,6 @@ nm_setting_dcb_set_priority_group_id (NMSettingDcb *setting, * Returns: the bandwidth percentage assigned to @group_id. These values are * only valid when #NMSettingDcb:priority-group-flags includes the * %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ guint nm_setting_dcb_get_priority_group_bandwidth (NMSettingDcb *setting, guint group_id) @@ -407,8 +373,6 @@ nm_setting_dcb_get_priority_group_bandwidth (NMSettingDcb *setting, guint group_ * * These values are only valid when #NMSettingDcb:priority-group-flags includes * the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ void nm_setting_dcb_set_priority_group_bandwidth (NMSettingDcb *setting, @@ -436,8 +400,6 @@ nm_setting_dcb_set_priority_group_bandwidth (NMSettingDcb *setting, * Returns: the allowed bandwidth percentage of @user_priority in its priority group. * These values are only valid when #NMSettingDcb:priority-group-flags includes the * %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ guint nm_setting_dcb_get_priority_bandwidth (NMSettingDcb *setting, guint user_priority) @@ -457,8 +419,6 @@ nm_setting_dcb_get_priority_bandwidth (NMSettingDcb *setting, guint user_priorit * * These values are only valid when #NMSettingDcb:priority-group-flags includes * the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ void nm_setting_dcb_set_priority_bandwidth (NMSettingDcb *setting, @@ -486,8 +446,6 @@ nm_setting_dcb_set_priority_bandwidth (NMSettingDcb *setting, * Returns: %TRUE if @user_priority may use all of the bandwidth allocated to its * assigned group, or %FALSE if not. These values are only valid when * #NMSettingDcb:priority-group-flags includes the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ gboolean nm_setting_dcb_get_priority_strict_bandwidth (NMSettingDcb *setting, guint user_priority) @@ -507,8 +465,6 @@ nm_setting_dcb_get_priority_strict_bandwidth (NMSettingDcb *setting, guint user_ * * These values are only valid when #NMSettingDcb:priority-group-flags includes * the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ void nm_setting_dcb_set_priority_strict_bandwidth (NMSettingDcb *setting, @@ -536,8 +492,6 @@ nm_setting_dcb_set_priority_strict_bandwidth (NMSettingDcb *setting, * Returns: the traffic class assigned to @user_priority. These values are only * valid when #NMSettingDcb:priority-group-flags includes the * %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ guint nm_setting_dcb_get_priority_traffic_class (NMSettingDcb *setting, guint user_priority) @@ -556,8 +510,6 @@ nm_setting_dcb_get_priority_traffic_class (NMSettingDcb *setting, guint user_pri * * These values are only valid when #NMSettingDcb:priority-group-flags includes * the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ void nm_setting_dcb_set_priority_traffic_class (NMSettingDcb *setting, @@ -962,8 +914,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * Specifies the #NMSettingDcbFlags for the DCB FCoE application. Flags may * be any combination of %NM_SETTING_DCB_FLAG_ENABLE, * %NM_SETTING_DCB_FLAG_ADVERTISE, and %NM_SETTING_DCB_FLAG_WILLING. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_APP_FCOE_FLAGS, @@ -978,8 +928,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * The highest User Priority (0 - 7) which FCoE frames should use, or -1 for * default priority. Only used when the #NMSettingDcb:app-fcoe-flags * property includes the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_APP_FCOE_PRIORITY, @@ -994,8 +942,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * * The FCoE controller mode; either %NM_SETTING_DCB_FCOE_MODE_FABRIC * (default) or %NM_SETTING_DCB_FCOE_MODE_VN2VN. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_APP_FCOE_MODE, @@ -1011,8 +957,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * Specifies the #NMSettingDcbFlags for the DCB iSCSI application. Flags * may be any combination of %NM_SETTING_DCB_FLAG_ENABLE, * %NM_SETTING_DCB_FLAG_ADVERTISE, and %NM_SETTING_DCB_FLAG_WILLING. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_APP_ISCSI_FLAGS, @@ -1027,8 +971,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * The highest User Priority (0 - 7) which iSCSI frames should use, or -1 * for default priority. Only used when the #NMSettingDcb:app-iscsi-flags * property includes the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_APP_ISCSI_PRIORITY, @@ -1044,8 +986,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * Specifies the #NMSettingDcbFlags for the DCB FIP application. Flags may * be any combination of %NM_SETTING_DCB_FLAG_ENABLE, * %NM_SETTING_DCB_FLAG_ADVERTISE, and %NM_SETTING_DCB_FLAG_WILLING. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_APP_FIP_FLAGS, @@ -1060,8 +1000,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * The highest User Priority (0 - 7) which FIP frames should use, or -1 for * default priority. Only used when the #NMSettingDcb:app-fip-flags * property includes the %NM_SETTING_DCB_FLAG_ENABLE flag. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_APP_FIP_PRIORITY, @@ -1077,8 +1015,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * Specifies the #NMSettingDcbFlags for DCB Priority Flow Control (PFC). * Flags may be any combination of %NM_SETTING_DCB_FLAG_ENABLE, * %NM_SETTING_DCB_FLAG_ADVERTISE, and %NM_SETTING_DCB_FLAG_WILLING. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PFC_FLAGS, @@ -1094,8 +1030,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * Priority (0 - 7) and the value indicates whether or not the corresponding * priority should transmit priority pause. Allowed values are 0 (do not * transmit pause) and 1 (transmit pause). - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PFC, @@ -1110,8 +1044,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * Specifies the #NMSettingDcbFlags for DCB Priority Groups. Flags may be * any combination of %NM_SETTING_DCB_FLAG_ENABLE, * %NM_SETTING_DCB_FLAG_ADVERTISE, and %NM_SETTING_DCB_FLAG_WILLING. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PRIORITY_GROUP_FLAGS, @@ -1126,8 +1058,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * An array of 8 uint values, where the array index corresponds to the User * Priority (0 - 7) and the value indicates the Priority Group ID. Allowed * Priority Group ID values are 0 - 7 or 15 for the unrestricted group. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PRIORITY_GROUP_ID, @@ -1143,8 +1073,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * Priority Group ID (0 - 7) and the value indicates the percentage of link * bandwidth allocated to that group. Allowed values are 0 - 100, and the * sum of all values must total 100 percent. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PRIORITY_GROUP_BANDWIDTH, @@ -1161,8 +1089,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * the priority's assigned group that the priority may use. The sum of all * percentages for priorities which belong to the same group must total 100 * percent. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PRIORITY_BANDWIDTH, @@ -1179,8 +1105,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * use all of the bandwidth allocated to its assigned group. Allowed values * are 0 (the priority may not utilize all bandwidth) or 1 (the priority may * utilize all bandwidth). - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PRIORITY_STRICT, @@ -1195,8 +1119,6 @@ nm_setting_dcb_class_init (NMSettingDcbClass *setting_class) * An array of 8 uint values, where the array index corresponds to the User * Priority (0 - 7) and the value indicates the traffic class (0 - 7) to * which the priority is mapped. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PRIORITY_TRAFFIC_CLASS, diff --git a/libnm-core/nm-setting-dcb.h b/libnm-core/nm-setting-dcb.h index ac34521e0d..fb4a3c1f57 100644 --- a/libnm-core/nm-setting-dcb.h +++ b/libnm-core/nm-setting-dcb.h @@ -60,8 +60,6 @@ GQuark nm_setting_dcb_error_quark (void); * peer configuration advertisements * * DCB feature flags. - * - * Since: 0.9.10 **/ typedef enum { NM_SETTING_DCB_FLAG_NONE = 0x00000000, @@ -74,8 +72,6 @@ typedef enum { * NM_SETTING_DCB_FCOE_MODE_FABRIC: * * Indicates that the FCoE controller should use "fabric" mode (default) - * - * Since: 0.9.10 */ #define NM_SETTING_DCB_FCOE_MODE_FABRIC "fabric" @@ -83,8 +79,6 @@ typedef enum { * NM_SETTING_DCB_FCOE_MODE_VN2VN: * * Indicates that the FCoE controller should use "VN2VN" mode. - * - * Since: 0.9.10 */ #define NM_SETTING_DCB_FCOE_MODE_VN2VN "vn2vn" @@ -125,10 +119,8 @@ typedef struct { void (*_reserved4) (void); } NMSettingDcbClass; -NM_AVAILABLE_IN_0_9_10 GType nm_setting_dcb_get_type (void); -NM_AVAILABLE_IN_0_9_10 NMSetting * nm_setting_dcb_new (void); NMSettingDcbFlags nm_setting_dcb_get_app_fcoe_flags (NMSettingDcb *setting); diff --git a/libnm-core/nm-setting-generic.c b/libnm-core/nm-setting-generic.c index e32ae4971f..827324fc67 100644 --- a/libnm-core/nm-setting-generic.c +++ b/libnm-core/nm-setting-generic.c @@ -35,8 +35,6 @@ * * There are currently no properties on this object; it exists only to be * the "connection type" setting on #NMConnections for generic devices. - * - * Since: 0.9.10 **/ /** @@ -45,8 +43,6 @@ * Registers an error quark for #NMSettingGeneric if necessary. * * Returns: the error quark used for #NMSettingGeneric errors. - * - * Since: 0.9.10 **/ GQuark nm_setting_generic_error_quark (void) @@ -79,8 +75,6 @@ typedef struct { * Creates a new #NMSettingGeneric object with default values. * * Returns: (transfer full): the new empty #NMSettingGeneric object - * - * Since: 0.9.10 **/ NMSetting * nm_setting_generic_new (void) diff --git a/libnm-core/nm-setting-generic.h b/libnm-core/nm-setting-generic.h index 1cabae088c..ece8707e74 100644 --- a/libnm-core/nm-setting-generic.h +++ b/libnm-core/nm-setting-generic.h @@ -41,8 +41,6 @@ G_BEGIN_DECLS * @NM_SETTING_GENERIC_ERROR_INVALID_PROPERTY: the property was invalid * @NM_SETTING_GENERIC_ERROR_MISSING_PROPERTY: the property was missing and * is required - * - * Since: 0.9.10 */ typedef enum { NM_SETTING_GENERIC_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ @@ -67,10 +65,8 @@ typedef struct { void (*_reserved4) (void); } NMSettingGenericClass; -NM_AVAILABLE_IN_0_9_10 GType nm_setting_generic_get_type (void); -NM_AVAILABLE_IN_0_9_10 NMSetting * nm_setting_generic_new (void); G_END_DECLS diff --git a/libnm-core/nm-setting-ip4-config.c b/libnm-core/nm-setting-ip4-config.c index bc2ef8731a..df0ad5b3de 100644 --- a/libnm-core/nm-setting-ip4-config.c +++ b/libnm-core/nm-setting-ip4-config.c @@ -226,8 +226,6 @@ nm_setting_ip4_config_remove_dns (NMSettingIP4Config *setting, guint32 i) * * Returns: %TRUE if the DNS server was found and removed; %FALSE if it was not. * domain was already known - * - * Since: 0.9.10 **/ gboolean nm_setting_ip4_config_remove_dns_by_value (NMSettingIP4Config *setting, guint32 dns) @@ -364,8 +362,6 @@ nm_setting_ip4_config_remove_dns_search (NMSettingIP4Config *setting, guint32 i) * Removes the DNS search domain @dns_search. * * Returns: %TRUE if the DNS search domain was found and removed; %FALSE if it was not. - * - * Since 0.9.10 **/ gboolean nm_setting_ip4_config_remove_dns_search_by_value (NMSettingIP4Config *setting, @@ -533,8 +529,6 @@ nm_setting_ip4_config_remove_address (NMSettingIP4Config *setting, guint32 i) * Removes the address @address. * * Returns: %TRUE if the address was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_ip4_config_remove_address_by_value (NMSettingIP4Config *setting, @@ -677,8 +671,6 @@ nm_setting_ip4_config_remove_route (NMSettingIP4Config *setting, guint32 i) * Removes the route @route. * * Returns: %TRUE if the route was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_ip4_config_remove_route_by_value (NMSettingIP4Config *setting, diff --git a/libnm-core/nm-setting-ip4-config.h b/libnm-core/nm-setting-ip4-config.h index 1b7c23072d..e368212472 100644 --- a/libnm-core/nm-setting-ip4-config.h +++ b/libnm-core/nm-setting-ip4-config.h @@ -186,7 +186,6 @@ guint32 nm_setting_ip4_config_get_num_dns (NMSettingIP4Config * guint32 nm_setting_ip4_config_get_dns (NMSettingIP4Config *setting, guint32 i); gboolean nm_setting_ip4_config_add_dns (NMSettingIP4Config *setting, guint32 dns); void nm_setting_ip4_config_remove_dns (NMSettingIP4Config *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_ip4_config_remove_dns_by_value (NMSettingIP4Config *setting, guint32 dns); void nm_setting_ip4_config_clear_dns (NMSettingIP4Config *setting); @@ -194,7 +193,6 @@ guint32 nm_setting_ip4_config_get_num_dns_searches (NMSettingIP4Conf const char * nm_setting_ip4_config_get_dns_search (NMSettingIP4Config *setting, guint32 i); gboolean nm_setting_ip4_config_add_dns_search (NMSettingIP4Config *setting, const char *dns_search); void nm_setting_ip4_config_remove_dns_search (NMSettingIP4Config *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_ip4_config_remove_dns_search_by_value (NMSettingIP4Config *setting, const char *dns_search); void nm_setting_ip4_config_clear_dns_searches (NMSettingIP4Config *setting); @@ -202,7 +200,6 @@ guint32 nm_setting_ip4_config_get_num_addresses (NMSettingIP4Config NMIP4Address *nm_setting_ip4_config_get_address (NMSettingIP4Config *setting, guint32 i); gboolean nm_setting_ip4_config_add_address (NMSettingIP4Config *setting, NMIP4Address *address); void nm_setting_ip4_config_remove_address (NMSettingIP4Config *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_ip4_config_remove_address_by_value (NMSettingIP4Config *setting, NMIP4Address *address); void nm_setting_ip4_config_clear_addresses (NMSettingIP4Config *setting); @@ -210,7 +207,6 @@ guint32 nm_setting_ip4_config_get_num_routes (NMSettingIP4Config * NMIP4Route * nm_setting_ip4_config_get_route (NMSettingIP4Config *setting, guint32 i); gboolean nm_setting_ip4_config_add_route (NMSettingIP4Config *setting, NMIP4Route *route); void nm_setting_ip4_config_remove_route (NMSettingIP4Config *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_ip4_config_remove_route_by_value (NMSettingIP4Config *setting, NMIP4Route *route); void nm_setting_ip4_config_clear_routes (NMSettingIP4Config *setting); diff --git a/libnm-core/nm-setting-ip6-config.c b/libnm-core/nm-setting-ip6-config.c index 49c32dd662..11a7c29aab 100644 --- a/libnm-core/nm-setting-ip6-config.c +++ b/libnm-core/nm-setting-ip6-config.c @@ -135,8 +135,6 @@ nm_setting_ip6_config_get_method (NMSettingIP6Config *setting) * property. * * Returns: the configured hostname to send to the DHCP server - * - * Since: 0.9.8 **/ const char * nm_setting_ip6_config_get_dhcp_hostname (NMSettingIP6Config *setting) @@ -246,8 +244,6 @@ nm_setting_ip6_config_remove_dns (NMSettingIP6Config *setting, guint32 i) * Removes the DNS server at index @i. * * Returns: %TRUE if the DNS server was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_ip6_config_remove_dns_by_value (NMSettingIP6Config *setting, @@ -383,8 +379,6 @@ nm_setting_ip6_config_remove_dns_search (NMSettingIP6Config *setting, guint32 i) * Removes the DNS search domain @dns_search. * * Returns: %TRUE if the DNS search domain was found and removed; %FALSE if it was not. - * - * Since 0.9.10 **/ gboolean nm_setting_ip6_config_remove_dns_search_by_value (NMSettingIP6Config *setting, @@ -524,8 +518,6 @@ nm_setting_ip6_config_remove_address (NMSettingIP6Config *setting, guint32 i) * Removes the address @address. * * Returns: %TRUE if the address was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_ip6_config_remove_address_by_value (NMSettingIP6Config *setting, @@ -665,8 +657,6 @@ nm_setting_ip6_config_remove_route (NMSettingIP6Config *setting, guint32 i) * Removes the route @route. * * Returns: %TRUE if the route was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_ip6_config_remove_route_by_value (NMSettingIP6Config *setting, @@ -1040,8 +1030,6 @@ nm_setting_ip6_config_class_init (NMSettingIP6ConfigClass *setting_class) * * The specified name will be sent to the DHCP server when acquiring a * lease. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_DHCP_HOSTNAME, diff --git a/libnm-core/nm-setting-ip6-config.h b/libnm-core/nm-setting-ip6-config.h index 4486a40e26..e1a7eab537 100644 --- a/libnm-core/nm-setting-ip6-config.h +++ b/libnm-core/nm-setting-ip6-config.h @@ -216,7 +216,6 @@ guint32 nm_setting_ip6_config_get_num_dns (NMSettingIP const struct in6_addr *nm_setting_ip6_config_get_dns (NMSettingIP6Config *setting, guint32 i); gboolean nm_setting_ip6_config_add_dns (NMSettingIP6Config *setting, const struct in6_addr *dns); void nm_setting_ip6_config_remove_dns (NMSettingIP6Config *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_ip6_config_remove_dns_by_value (NMSettingIP6Config *setting, const struct in6_addr *dns); void nm_setting_ip6_config_clear_dns (NMSettingIP6Config *setting); @@ -224,7 +223,6 @@ guint32 nm_setting_ip6_config_get_num_dns_searches (NMSetti const char * nm_setting_ip6_config_get_dns_search (NMSettingIP6Config *setting, guint32 i); gboolean nm_setting_ip6_config_add_dns_search (NMSettingIP6Config *setting, const char *dns_search); void nm_setting_ip6_config_remove_dns_search (NMSettingIP6Config *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_ip6_config_remove_dns_search_by_value (NMSettingIP6Config *setting, const char *dns_search); void nm_setting_ip6_config_clear_dns_searches (NMSettingIP6Config *setting); @@ -232,7 +230,6 @@ guint32 nm_setting_ip6_config_get_num_addresses (NMSettingI NMIP6Address * nm_setting_ip6_config_get_address (NMSettingIP6Config *setting, guint32 i); gboolean nm_setting_ip6_config_add_address (NMSettingIP6Config *setting, NMIP6Address *address); void nm_setting_ip6_config_remove_address (NMSettingIP6Config *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_ip6_config_remove_address_by_value (NMSettingIP6Config *setting, NMIP6Address *address); void nm_setting_ip6_config_clear_addresses (NMSettingIP6Config *setting); @@ -240,7 +237,6 @@ guint32 nm_setting_ip6_config_get_num_routes (NMSettingIP NMIP6Route * nm_setting_ip6_config_get_route (NMSettingIP6Config *setting, guint32 i); gboolean nm_setting_ip6_config_add_route (NMSettingIP6Config *setting, NMIP6Route *route); void nm_setting_ip6_config_remove_route (NMSettingIP6Config *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_ip6_config_remove_route_by_value (NMSettingIP6Config *setting, NMIP6Route *route); void nm_setting_ip6_config_clear_routes (NMSettingIP6Config *setting); gboolean nm_setting_ip6_config_get_ignore_auto_routes (NMSettingIP6Config *setting); diff --git a/libnm-core/nm-setting-team-port.c b/libnm-core/nm-setting-team-port.c index ad9d8327ed..3280561837 100644 --- a/libnm-core/nm-setting-team-port.c +++ b/libnm-core/nm-setting-team-port.c @@ -36,8 +36,6 @@ * * The #NMSettingTeamPort object is a #NMSetting subclass that describes * optional properties that apply to team ports. - * - * Since: 0.9.10 **/ /** @@ -46,8 +44,6 @@ * Registers an error quark for #NMSettingTeamPort if necessary. * * Returns: the error quark used for #NMSettingTeamPort errors. - * - * Since: 0.9.10 **/ GQuark nm_setting_team_port_error_quark (void) @@ -84,8 +80,6 @@ enum { * Creates a new #NMSettingTeamPort object with default values. * * Returns: (transfer full): the new empty #NMSettingTeamPort object - * - * Since: 0.9.10 **/ NMSetting * nm_setting_team_port_new (void) @@ -98,8 +92,6 @@ nm_setting_team_port_new (void) * @setting: the #NMSettingTeamPort * * Returns: the #NMSettingTeamPort:config property of the setting - * - * Since: 0.9.10 **/ const char * nm_setting_team_port_get_config (NMSettingTeamPort *setting) diff --git a/libnm-core/nm-setting-team-port.h b/libnm-core/nm-setting-team-port.h index 4e8022202a..e34b4b2bc3 100644 --- a/libnm-core/nm-setting-team-port.h +++ b/libnm-core/nm-setting-team-port.h @@ -66,10 +66,8 @@ typedef struct { void (*_reserved4) (void); } NMSettingTeamPortClass; -NM_AVAILABLE_IN_0_9_10 GType nm_setting_team_port_get_type (void); -NM_AVAILABLE_IN_0_9_10 NMSetting * nm_setting_team_port_new (void); const char * nm_setting_team_port_get_config (NMSettingTeamPort *setting); diff --git a/libnm-core/nm-setting-team.c b/libnm-core/nm-setting-team.c index 046ce51129..0d8d4a1410 100644 --- a/libnm-core/nm-setting-team.c +++ b/libnm-core/nm-setting-team.c @@ -37,8 +37,6 @@ * * The #NMSettingTeam object is a #NMSetting subclass that describes properties * necessary for team connections. - * - * Since: 0.9.10 **/ /** @@ -47,8 +45,6 @@ * Registers an error quark for #NMSettingTeam if necessary. * * Returns: the error quark used for #NMSettingTeam errors. - * - * Since: 0.9.10 **/ GQuark nm_setting_team_error_quark (void) @@ -88,8 +84,6 @@ enum { * Creates a new #NMSettingTeam object with default values. * * Returns: (transfer full): the new empty #NMSettingTeam object - * - * Since: 0.9.10 **/ NMSetting * nm_setting_team_new (void) @@ -102,8 +96,6 @@ nm_setting_team_new (void) * @setting: the #NMSettingTeam * * Returns: the #NMSettingTeam:interface-name property of the setting - * - * Since: 0.9.10 **/ const char * nm_setting_team_get_interface_name (NMSettingTeam *setting) @@ -118,8 +110,6 @@ nm_setting_team_get_interface_name (NMSettingTeam *setting) * @setting: the #NMSettingTeam * * Returns: the #NMSettingTeam:config property of the setting - * - * Since: 0.9.10 **/ const char * nm_setting_team_get_config (NMSettingTeam *setting) diff --git a/libnm-core/nm-setting-team.h b/libnm-core/nm-setting-team.h index d67c8c71b6..7ce3c7dec4 100644 --- a/libnm-core/nm-setting-team.h +++ b/libnm-core/nm-setting-team.h @@ -67,10 +67,8 @@ typedef struct { void (*_reserved4) (void); } NMSettingTeamClass; -NM_AVAILABLE_IN_0_9_10 GType nm_setting_team_get_type (void); -NM_AVAILABLE_IN_0_9_10 NMSetting * nm_setting_team_new (void); const char * nm_setting_team_get_interface_name (NMSettingTeam *setting); diff --git a/libnm-core/nm-setting-vlan.c b/libnm-core/nm-setting-vlan.c index 21adfdb25d..bfb08c38aa 100644 --- a/libnm-core/nm-setting-vlan.c +++ b/libnm-core/nm-setting-vlan.c @@ -431,8 +431,6 @@ nm_setting_vlan_remove_priority (NMSettingVlan *setting, * properties. * * Returns: %TRUE if the priority mapping was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 */ gboolean nm_setting_vlan_remove_priority_by_value (NMSettingVlan *setting, @@ -469,8 +467,6 @@ nm_setting_vlan_remove_priority_by_value (NMSettingVlan *setting, * properties. * * Returns: %TRUE if the priority mapping was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 */ gboolean nm_setting_vlan_remove_priority_str_by_value (NMSettingVlan *setting, diff --git a/libnm-core/nm-setting-vlan.h b/libnm-core/nm-setting-vlan.h index 3e209480c8..32636a1a3f 100644 --- a/libnm-core/nm-setting-vlan.h +++ b/libnm-core/nm-setting-vlan.h @@ -134,13 +134,11 @@ void nm_setting_vlan_remove_priority (NMSettingVlan *setting, NMVlanPriorityMap map, guint32 idx); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_vlan_remove_priority_by_value (NMSettingVlan *setting, NMVlanPriorityMap map, guint32 from, guint32 to); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_vlan_remove_priority_str_by_value (NMSettingVlan *setting, NMVlanPriorityMap map, const char *str); diff --git a/libnm-core/nm-setting-wired.c b/libnm-core/nm-setting-wired.c index bc82bf3477..2b90bfa9b1 100644 --- a/libnm-core/nm-setting-wired.c +++ b/libnm-core/nm-setting-wired.c @@ -227,8 +227,6 @@ nm_setting_wired_get_mac_address_blacklist (NMSettingWired *setting) * @setting: the #NMSettingWired * * Returns: the number of blacklisted MAC addresses - * - * Since: 0.9.10 **/ guint32 nm_setting_wired_get_num_mac_blacklist_items (NMSettingWired *setting) @@ -245,8 +243,6 @@ nm_setting_wired_get_num_mac_blacklist_items (NMSettingWired *setting) * * Returns: the blacklisted MAC address string (hex-digits-and-colons notation) * at index @idx - * - * Since: 0.9.10 **/ const char * nm_setting_wired_get_mac_blacklist_item (NMSettingWired *setting, guint32 idx) @@ -270,8 +266,6 @@ nm_setting_wired_get_mac_blacklist_item (NMSettingWired *setting, guint32 idx) * * Returns: %TRUE if the MAC address was added; %FALSE if the MAC address * is invalid or was already present - * - * Since: 0.9.10 **/ gboolean nm_setting_wired_add_mac_blacklist_item (NMSettingWired *setting, const char *mac) @@ -304,8 +298,6 @@ nm_setting_wired_add_mac_blacklist_item (NMSettingWired *setting, const char *ma * @idx: index number of the MAC address * * Removes the MAC address at index @idx from the blacklist. - * - * Since: 0.9.10 **/ void nm_setting_wired_remove_mac_blacklist_item (NMSettingWired *setting, guint32 idx) @@ -333,8 +325,6 @@ nm_setting_wired_remove_mac_blacklist_item (NMSettingWired *setting, guint32 idx * Removes the MAC address @mac from the blacklist. * * Returns: %TRUE if the MAC address was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_wired_remove_mac_blacklist_item_by_value (NMSettingWired *setting, const char *mac) @@ -365,8 +355,6 @@ nm_setting_wired_remove_mac_blacklist_item_by_value (NMSettingWired *setting, co * @setting: the #NMSettingWired * * Removes all blacklisted MAC addresses. - * - * Since: 0.9.10 **/ void nm_setting_wired_clear_mac_blacklist_items (NMSettingWired *setting) @@ -588,8 +576,6 @@ nm_setting_wired_remove_s390_option (NMSettingWired *setting, * Returns a list of valid s390 options. * * Returns: (transfer none): a %NULL-terminated array of strings of valid s390 options. - * - * Since: 0.9.10 **/ const char ** nm_setting_wired_get_valid_s390_options (NMSettingWired *setting) diff --git a/libnm-core/nm-setting-wired.h b/libnm-core/nm-setting-wired.h index 33d6d54dde..761ccf2251 100644 --- a/libnm-core/nm-setting-wired.h +++ b/libnm-core/nm-setting-wired.h @@ -89,21 +89,15 @@ const GByteArray *nm_setting_wired_get_mac_address (NMSettingWired *setting const GByteArray *nm_setting_wired_get_cloned_mac_address (NMSettingWired *setting); const GSList *nm_setting_wired_get_mac_address_blacklist (NMSettingWired *setting); -NM_AVAILABLE_IN_0_9_10 guint32 nm_setting_wired_get_num_mac_blacklist_items (NMSettingWired *setting); -NM_AVAILABLE_IN_0_9_10 const char * nm_setting_wired_get_mac_blacklist_item (NMSettingWired *setting, guint32 idx); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_wired_add_mac_blacklist_item (NMSettingWired *setting, const char *mac); -NM_AVAILABLE_IN_0_9_10 void nm_setting_wired_remove_mac_blacklist_item (NMSettingWired *setting, guint32 idx); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_wired_remove_mac_blacklist_item_by_value (NMSettingWired *setting, const char *mac); -NM_AVAILABLE_IN_0_9_10 void nm_setting_wired_clear_mac_blacklist_items (NMSettingWired *setting); guint32 nm_setting_wired_get_mtu (NMSettingWired *setting); @@ -123,7 +117,6 @@ gboolean nm_setting_wired_add_s390_option (NMSettingWired *setting const char *value); gboolean nm_setting_wired_remove_s390_option (NMSettingWired *setting, const char *key); -NM_AVAILABLE_IN_0_9_10 const char ** nm_setting_wired_get_valid_s390_options (NMSettingWired *setting); G_END_DECLS diff --git a/libnm-core/nm-setting-wireless-security.c b/libnm-core/nm-setting-wireless-security.c index 2c46766476..a93577bcfb 100644 --- a/libnm-core/nm-setting-wireless-security.c +++ b/libnm-core/nm-setting-wireless-security.c @@ -261,8 +261,6 @@ nm_setting_wireless_security_remove_proto (NMSettingWirelessSecurity *setting, g * Removes a protocol from the allowed protocol list. * * Returns: %TRUE if the protocol was found and removed; %FALSE it it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_wireless_security_remove_proto_by_value (NMSettingWirelessSecurity *setting, @@ -409,8 +407,6 @@ nm_setting_wireless_security_remove_pairwise (NMSettingWirelessSecurity *setting * algorithm list. * * Returns: %TRUE if the encryption algorith was found and removed; %FALSE it it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_wireless_security_remove_pairwise_by_value (NMSettingWirelessSecurity *setting, @@ -559,8 +555,6 @@ nm_setting_wireless_security_remove_group (NMSettingWirelessSecurity *setting, g * algorithm list. * * Returns: %TRUE if the algorithm was found and removed; %FALSE it it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_wireless_security_remove_group_by_value (NMSettingWirelessSecurity *setting, diff --git a/libnm-core/nm-setting-wireless-security.h b/libnm-core/nm-setting-wireless-security.h index 97a456b048..5b188cc043 100644 --- a/libnm-core/nm-setting-wireless-security.h +++ b/libnm-core/nm-setting-wireless-security.h @@ -138,7 +138,6 @@ guint32 nm_setting_wireless_security_get_num_protos (NMSettingWireles const char *nm_setting_wireless_security_get_proto (NMSettingWirelessSecurity *setting, guint32 i); gboolean nm_setting_wireless_security_add_proto (NMSettingWirelessSecurity *setting, const char *proto); void nm_setting_wireless_security_remove_proto (NMSettingWirelessSecurity *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_wireless_security_remove_proto_by_value (NMSettingWirelessSecurity *setting, const char *proto); void nm_setting_wireless_security_clear_protos (NMSettingWirelessSecurity *setting); @@ -146,7 +145,6 @@ guint32 nm_setting_wireless_security_get_num_pairwise (NMSettingWire const char *nm_setting_wireless_security_get_pairwise (NMSettingWirelessSecurity *setting, guint32 i); gboolean nm_setting_wireless_security_add_pairwise (NMSettingWirelessSecurity *setting, const char *pairwise); void nm_setting_wireless_security_remove_pairwise (NMSettingWirelessSecurity *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_wireless_security_remove_pairwise_by_value (NMSettingWirelessSecurity *setting, const char *pairwise); void nm_setting_wireless_security_clear_pairwise (NMSettingWirelessSecurity *setting); @@ -154,7 +152,6 @@ guint32 nm_setting_wireless_security_get_num_groups (NMSettingWireles const char *nm_setting_wireless_security_get_group (NMSettingWirelessSecurity *setting, guint32 i); gboolean nm_setting_wireless_security_add_group (NMSettingWirelessSecurity *setting, const char *group); void nm_setting_wireless_security_remove_group (NMSettingWirelessSecurity *setting, guint32 i); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_wireless_security_remove_group_by_value (NMSettingWirelessSecurity *setting, const char *group); void nm_setting_wireless_security_clear_groups (NMSettingWirelessSecurity *setting); diff --git a/libnm-core/nm-setting-wireless.c b/libnm-core/nm-setting-wireless.c index bbd5d41820..b8135b7115 100644 --- a/libnm-core/nm-setting-wireless.c +++ b/libnm-core/nm-setting-wireless.c @@ -463,8 +463,6 @@ nm_setting_wireless_get_mac_address_blacklist (NMSettingWireless *setting) * @setting: the #NMSettingWireless * * Returns: the number of blacklisted MAC addresses - * - * Since: 0.9.10 **/ guint32 nm_setting_wireless_get_num_mac_blacklist_items (NMSettingWireless *setting) @@ -481,8 +479,6 @@ nm_setting_wireless_get_num_mac_blacklist_items (NMSettingWireless *setting) * * Returns: the blacklisted MAC address string (hex-digits-and-colons notation) * at index @idx - * - * Since: 0.9.10 **/ const char * nm_setting_wireless_get_mac_blacklist_item (NMSettingWireless *setting, guint32 idx) @@ -506,8 +502,6 @@ nm_setting_wireless_get_mac_blacklist_item (NMSettingWireless *setting, guint32 * * Returns: %TRUE if the MAC address was added; %FALSE if the MAC address * is invalid or was already present - * - * Since: 0.9.10 **/ gboolean nm_setting_wireless_add_mac_blacklist_item (NMSettingWireless *setting, const char *mac) @@ -540,8 +534,6 @@ nm_setting_wireless_add_mac_blacklist_item (NMSettingWireless *setting, const ch * @idx: index number of the MAC address * * Removes the MAC address at index @idx from the blacklist. - * - * Since: 0.9.10 **/ void nm_setting_wireless_remove_mac_blacklist_item (NMSettingWireless *setting, guint32 idx) @@ -569,8 +561,6 @@ nm_setting_wireless_remove_mac_blacklist_item (NMSettingWireless *setting, guint * Removes the MAC address @mac from the blacklist. * * Returns: %TRUE if the MAC address was found and removed; %FALSE if it was not. - * - * Since: 0.9.10 **/ gboolean nm_setting_wireless_remove_mac_blacklist_item_by_value (NMSettingWireless *setting, const char *mac) @@ -601,8 +591,6 @@ nm_setting_wireless_remove_mac_blacklist_item_by_value (NMSettingWireless *setti * @setting: the #NMSettingWireless * * Removes all blacklisted MAC addresses. - * - * Since: 0.9.10 **/ void nm_setting_wireless_clear_mac_blacklist_items (NMSettingWireless *setting) diff --git a/libnm-core/nm-setting-wireless.h b/libnm-core/nm-setting-wireless.h index 3694c0a34c..e44083c064 100644 --- a/libnm-core/nm-setting-wireless.h +++ b/libnm-core/nm-setting-wireless.h @@ -89,8 +89,6 @@ GQuark nm_setting_wireless_error_quark (void); * * Indicates AP/master mode where the wireless device is started as an access * point/hotspot. - * - * Since: 0.9.8 */ #define NM_SETTING_WIRELESS_MODE_AP "ap" @@ -131,21 +129,15 @@ const GByteArray *nm_setting_wireless_get_mac_address (NMSettingWireless const GByteArray *nm_setting_wireless_get_cloned_mac_address (NMSettingWireless *setting); const GSList *nm_setting_wireless_get_mac_address_blacklist (NMSettingWireless *setting); -NM_AVAILABLE_IN_0_9_10 guint32 nm_setting_wireless_get_num_mac_blacklist_items (NMSettingWireless *setting); -NM_AVAILABLE_IN_0_9_10 const char * nm_setting_wireless_get_mac_blacklist_item (NMSettingWireless *setting, guint32 idx); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_wireless_add_mac_blacklist_item (NMSettingWireless *setting, const char *mac); -NM_AVAILABLE_IN_0_9_10 void nm_setting_wireless_remove_mac_blacklist_item (NMSettingWireless *setting, guint32 idx); -NM_AVAILABLE_IN_0_9_10 gboolean nm_setting_wireless_remove_mac_blacklist_item_by_value (NMSettingWireless *setting, const char *mac); -NM_AVAILABLE_IN_0_9_10 void nm_setting_wireless_clear_mac_blacklist_items (NMSettingWireless *setting); guint32 nm_setting_wireless_get_mtu (NMSettingWireless *setting); diff --git a/libnm-core/nm-utils-private.h b/libnm-core/nm-utils-private.h index 2909118b2d..c91652b8a3 100644 --- a/libnm-core/nm-utils-private.h +++ b/libnm-core/nm-utils-private.h @@ -57,8 +57,6 @@ const NMUtilsPrivateData *nm_utils_get_private (void); * * This macro only exists inside the NetworkManager source tree and * is not part of the public API. - * - * Since: 0.9.10 */ #define NM_UTILS_PRIVATE_CALL(call) (nm_utils_get_private ()->call) diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c index de9a3774d9..4de0b96691 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -585,8 +585,6 @@ device_supports_ap_ciphers (guint32 dev_caps, * * Returns: %TRUE if the device capabilities are compatible with the desired * @type, %FALSE if they are not. - * - * Since: 0.9.8 **/ gboolean nm_utils_ap_mode_security_valid (NMUtilsSecurityType type, @@ -792,8 +790,6 @@ nm_utils_security_valid (NMUtilsSecurityType type, * Checks if @key is a valid WEP key * * Returns: %TRUE if @key is a WEP key, %FALSE if not - * - * Since: 0.9.8 */ gboolean nm_utils_wep_key_valid (const char *key, NMWepKeyType wep_type) @@ -836,8 +832,6 @@ nm_utils_wep_key_valid (const char *key, NMWepKeyType wep_type) * Checks if @psk is a valid WPA PSK * * Returns: %TRUE if @psk is a WPA PSK, %FALSE if not - * - * Since: 0.9.8 */ gboolean nm_utils_wpa_psk_valid (const char *psk) @@ -2035,8 +2029,6 @@ nm_utils_hwaddr_ntoa (gconstpointer addr, int type) * * Return value: @buffer, or %NULL if @asc couldn't be parsed * or would be shorter or longer than @length. - * - * Since: 0.9.10 */ guint8 * nm_utils_hwaddr_aton_len (const char *asc, gpointer buffer, gsize length) @@ -2097,8 +2089,6 @@ nm_utils_hwaddr_aton_len (const char *asc, gpointer buffer, gsize length) * Converts @addr to textual form. * * Return value: (transfer full): the textual form of @addr - * - * Since: 0.9.10 */ char * nm_utils_hwaddr_ntoa_len (gconstpointer addr, gsize length) @@ -2132,8 +2122,6 @@ nm_utils_hwaddr_ntoa_len (gconstpointer addr, gsize length) * * Return value: %TRUE if @asc appears to be a valid hardware address * of some type, %FALSE if not. - * - * Since: 0.9.10 */ gboolean nm_utils_hwaddr_valid (const char *asc) @@ -2163,8 +2151,6 @@ nm_utils_hwaddr_valid (const char *asc) * that index (returned_string[final_len] == '\0'), * * Return value: (transfer full): the textual form of @bytes - * - * Since: 0.9.10 */ /* * Code originally by Alex Larsson and @@ -2206,8 +2192,6 @@ nm_utils_bin2hexstr (const char *bytes, int len, int final_len) * Converts a hex string (2 characters) into its byte representation. * * Return value: a byte, or -1 if @hex doesn't represent a hex byte - * - * Since: 0.9.10 */ int nm_utils_hex2byte (const char *hex) @@ -2231,8 +2215,6 @@ nm_utils_hex2byte (const char *hex) * length is @len/2. * * Return value: (transfer full): a array of bytes, or %NULL on error - * - * Since: 0.9.10 */ char * nm_utils_hexstr2bin (const char *hex, size_t len) @@ -2269,8 +2251,6 @@ nm_utils_hexstr2bin (const char *hex, size_t len) * function in net/core/dev.c. * * Returns: %TRUE if interface name is valid, otherwise %FALSE is returned. - * - * Since: 0.9.8 */ gboolean nm_utils_iface_valid_name (const char *name) @@ -2302,8 +2282,6 @@ nm_utils_iface_valid_name (const char *name) * Checks if @str is a UUID * * Returns: %TRUE if @str is a UUID, %FALSE if not - * - * Since: 0.9.8 */ gboolean nm_utils_is_uuid (const char *str) @@ -2346,8 +2324,6 @@ static char _nm_utils_inet_ntop_buffer[NM_UTILS_INET_ADDRSTRLEN]; * * Returns: the input buffer @dst, or a pointer to an * internal, static buffer. This function cannot fail. - * - * Since: 0.9.10 **/ const char * nm_utils_inet4_ntop (in_addr_t inaddr, char *dst) @@ -2372,8 +2348,6 @@ nm_utils_inet4_ntop (in_addr_t inaddr, char *dst) * Returns: the input buffer @dst, or a pointer to an * internal, static buffer. %NULL is not allowed as @in6addr, * otherwise, this function cannot fail. - * - * Since: 0.9.10 **/ const char * nm_utils_inet6_ntop (const struct in6_addr *in6addr, char *dst) @@ -2405,8 +2379,6 @@ nm_utils_inet6_ntop (const struct in6_addr *in6addr, char *dst) * underlying device driver. * * Returns: %TRUE or %FALSE - * - * Since: 0.9.10 */ gboolean nm_utils_check_virtual_device_compatibility (GType virtual_type, GType other_type) @@ -2459,8 +2431,6 @@ static const NMUtilsPrivateData data = { * function for any reason. * * Returns: Who knows? It's a mystery. - * - * Since: 0.9.10 */ const NMUtilsPrivateData * nm_utils_get_private (void) diff --git a/libnm-core/nm-utils.h b/libnm-core/nm-utils.h index 127d8d9e33..38c2447849 100644 --- a/libnm-core/nm-utils.h +++ b/libnm-core/nm-utils.h @@ -136,19 +136,13 @@ char *nm_utils_hwaddr_ntoa (gconstpointer addr, int type); GByteArray *nm_utils_hwaddr_atoba (const char *asc, int type); guint8 *nm_utils_hwaddr_aton (const char *asc, int type, gpointer buffer); -NM_AVAILABLE_IN_0_9_10 char *nm_utils_hwaddr_ntoa_len (gconstpointer addr, gsize length); -NM_AVAILABLE_IN_0_9_10 guint8 *nm_utils_hwaddr_aton_len (const char *asc, gpointer buffer, gsize length); -NM_AVAILABLE_IN_0_9_10 gboolean nm_utils_hwaddr_valid (const char *asc); -NM_AVAILABLE_IN_0_9_10 char *nm_utils_bin2hexstr (const char *bytes, int len, int final_len); -NM_AVAILABLE_IN_0_9_10 int nm_utils_hex2byte (const char *hex); -NM_AVAILABLE_IN_0_9_10 char *nm_utils_hexstr2bin (const char *hex, size_t len); gboolean nm_utils_iface_valid_name(const char *name); @@ -162,12 +156,9 @@ gboolean nm_utils_is_uuid (const char *str); * for both nm_utils_inet4_ntop() and nm_utils_inet6_ntop(). **/ #define NM_UTILS_INET_ADDRSTRLEN INET6_ADDRSTRLEN -NM_AVAILABLE_IN_0_9_10 const char *nm_utils_inet4_ntop (in_addr_t inaddr, char *dst); -NM_AVAILABLE_IN_0_9_10 const char *nm_utils_inet6_ntop (const struct in6_addr *in6addr, char *dst); -NM_AVAILABLE_IN_0_9_10 gboolean nm_utils_check_virtual_device_compatibility (GType virtual_type, GType other_type); G_END_DECLS diff --git a/libnm/nm-active-connection.c b/libnm/nm-active-connection.c index 358264fd25..6e67bdcfe0 100644 --- a/libnm/nm-active-connection.c +++ b/libnm/nm-active-connection.c @@ -232,8 +232,6 @@ nm_active_connection_get_connection (NMActiveConnection *connection) * * Returns: the ID of the #NMConnection that backs the #NMActiveConnection. * This is the internal string used by the connection, and must not be modified. - * - * Since: 0.9.10 **/ const char * nm_active_connection_get_id (NMActiveConnection *connection) @@ -270,8 +268,6 @@ nm_active_connection_get_uuid (NMActiveConnection *connection) * * Returns: the type of the #NMConnection that backs the #NMActiveConnection. * This is the internal string used by the connection, and must not be modified. - * - * Since: 0.9.10 **/ const char * nm_active_connection_get_connection_type (NMActiveConnection *connection) @@ -362,8 +358,6 @@ nm_active_connection_get_default (NMActiveConnection *connection) * Returns: (transfer none): the #NMIP4Config, or %NULL if the * connection is not in the %NM_ACTIVE_CONNECTION_STATE_ACTIVATED * state. - * - * Since: 0.9.10 **/ NMIP4Config * nm_active_connection_get_ip4_config (NMActiveConnection *connection) @@ -384,8 +378,6 @@ nm_active_connection_get_ip4_config (NMActiveConnection *connection) * Returns: (transfer none): the #NMDHCP4Config, or %NULL if the * connection does not use DHCP, or is not in the * %NM_ACTIVE_CONNECTION_STATE_ACTIVATED state. - * - * Since: 0.9.10 **/ NMDHCP4Config * nm_active_connection_get_dhcp4_config (NMActiveConnection *connection) @@ -423,8 +415,6 @@ nm_active_connection_get_default6 (NMActiveConnection *connection) * Returns: (transfer none): the #NMIP6Config, or %NULL if the * connection is not in the %NM_ACTIVE_CONNECTION_STATE_ACTIVATED * state. - * - * Since: 0.9.10 **/ NMIP6Config * nm_active_connection_get_ip6_config (NMActiveConnection *connection) @@ -445,8 +435,6 @@ nm_active_connection_get_ip6_config (NMActiveConnection *connection) * Returns: (transfer none): the #NMDHCP6Config, or %NULL if the * connection does not use DHCPv6, or is not in the * %NM_ACTIVE_CONNECTION_STATE_ACTIVATED state. - * - * Since: 0.9.10 **/ NMDHCP6Config * nm_active_connection_get_dhcp6_config (NMActiveConnection *connection) @@ -464,8 +452,6 @@ nm_active_connection_get_dhcp6_config (NMActiveConnection *connection) * Whether the active connection is a VPN connection. * * Returns: %TRUE if the active connection is a VPN connection - * - * Since: 0.9.10 **/ gboolean nm_active_connection_get_vpn (NMActiveConnection *connection) @@ -669,8 +655,6 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class) * NMActiveConnection:id: * * The active connection's ID - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_ID, @@ -695,8 +679,6 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class) * NMActiveConnection:type: * * The active connection's type - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_TYPE, @@ -759,8 +741,6 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class) * NMActiveConnection:ip4-config: * * The #NMIP4Config of the connection. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_IP4_CONFIG, @@ -773,8 +753,6 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class) * NMActiveConnection:dhcp4-config: * * The #NMDHCP4Config of the connection. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_DHCP4_CONFIG, @@ -799,8 +777,6 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class) * NMActiveConnection:ip6-config: * * The #NMIP6Config of the connection. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_IP6_CONFIG, @@ -813,8 +789,6 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class) * NMActiveConnection:dhcp6-config: * * The #NMDHCP6Config of the connection. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_DHCP6_CONFIG, @@ -827,8 +801,6 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class) * NMActiveConnection:vpn: * * Whether the active connection is a VPN connection. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_VPN, diff --git a/libnm/nm-active-connection.h b/libnm/nm-active-connection.h index e29415649c..e97d42b93d 100644 --- a/libnm/nm-active-connection.h +++ b/libnm/nm-active-connection.h @@ -78,26 +78,19 @@ GType nm_active_connection_get_type (void); GObject *nm_active_connection_new (DBusGConnection *connection, const char *path); const char * nm_active_connection_get_connection (NMActiveConnection *connection); -NM_AVAILABLE_IN_0_9_10 const char * nm_active_connection_get_id (NMActiveConnection *connection); const char * nm_active_connection_get_uuid (NMActiveConnection *connection); -NM_AVAILABLE_IN_0_9_10 const char * nm_active_connection_get_connection_type (NMActiveConnection *connection); const char * nm_active_connection_get_specific_object (NMActiveConnection *connection); const GPtrArray *nm_active_connection_get_devices (NMActiveConnection *connection); NMActiveConnectionState nm_active_connection_get_state (NMActiveConnection *connection); const char * nm_active_connection_get_master (NMActiveConnection *connection); gboolean nm_active_connection_get_default (NMActiveConnection *connection); -NM_AVAILABLE_IN_0_9_10 NMIP4Config * nm_active_connection_get_ip4_config (NMActiveConnection *connection); -NM_AVAILABLE_IN_0_9_10 NMDHCP4Config *nm_active_connection_get_dhcp4_config (NMActiveConnection *connection); gboolean nm_active_connection_get_default6 (NMActiveConnection *connection); -NM_AVAILABLE_IN_0_9_10 NMIP6Config * nm_active_connection_get_ip6_config (NMActiveConnection *connection); -NM_AVAILABLE_IN_0_9_10 NMDHCP6Config *nm_active_connection_get_dhcp6_config (NMActiveConnection *connection); -NM_AVAILABLE_IN_0_9_10 gboolean nm_active_connection_get_vpn (NMActiveConnection *connection); G_END_DECLS diff --git a/libnm/nm-client.c b/libnm/nm-client.c index 3c42160054..b4e3f68a8f 100644 --- a/libnm/nm-client.c +++ b/libnm/nm-client.c @@ -127,8 +127,6 @@ static void proxy_name_owner_changed (DBusGProxy *proxy, * Registers an error quark for #NMClient if necessary. * * Returns: the error quark used for #NMClient errors. - * - * Since: 0.9.10 **/ GQuark nm_client_error_quark (void) @@ -1029,8 +1027,6 @@ nm_client_get_state (NMClient *client) * connections at startup. * * Returns: whether the daemon is still starting up - * - * Since: 0.9.10 **/ gboolean nm_client_get_startup (NMClient *client) @@ -1136,8 +1132,6 @@ nm_client_get_permission_result (NMClient *client, NMClientPermission permission * Gets NetworkManager current logging level and domains. * * Returns: %TRUE on success, %FALSE otherwise - * - * Since: 0.9.8 **/ gboolean nm_client_get_logging (NMClient *client, char **level, char **domains, GError **error) @@ -1179,8 +1173,6 @@ nm_client_get_logging (NMClient *client, char **level, char **domains, GError ** * Sets NetworkManager logging level and/or domains. * * Returns: %TRUE on success, %FALSE otherwise - * - * Since: 0.9.8 **/ gboolean nm_client_set_logging (NMClient *client, const char *level, const char *domains, GError **error) @@ -1227,8 +1219,6 @@ nm_client_set_logging (NMClient *client, const char *level, const char *domains, * * Returns: (transfer none): the appropriate #NMActiveConnection, if * any - * - * Since: 0.9.8.6 */ NMActiveConnection * nm_client_get_primary_connection (NMClient *client) @@ -1249,8 +1239,6 @@ nm_client_get_primary_connection (NMClient *client) * * Returns: (transfer none): the appropriate #NMActiveConnection, if * any. - * - * Since: 0.9.8.6 */ NMActiveConnection * nm_client_get_activating_connection (NMClient *client) @@ -1388,7 +1376,6 @@ proxy_name_owner_changed (DBusGProxy *proxy, * connectivity state first before returning any information. * * Returns: the current connectivity state - * Since: 0.9.8.6 */ NMConnectivityState nm_client_get_connectivity (NMClient *client) @@ -1417,7 +1404,6 @@ nm_client_get_connectivity (NMClient *client) * if you do not want to block. * * Returns: the (new) current connectivity state - * Since: 0.9.8.6 */ NMConnectivityState nm_client_check_connectivity (NMClient *client, @@ -1507,8 +1493,6 @@ check_connectivity_cancelled_cb (GCancellable *cancellable, * @callback when complete. Contrast nm_client_get_connectivity(), * which (immediately) returns the most recent known state without * re-checking, and nm_client_check_connectivity(), which blocks. - * - * Since: 0.9.8.6 */ void nm_client_check_connectivity_async (NMClient *client, @@ -1553,7 +1537,6 @@ nm_client_check_connectivity_async (NMClient *client, * call. * * Returns: the (new) current connectivity state - * Since: 0.9.8.6 */ NMConnectivityState nm_client_check_connectivity_finish (NMClient *client, @@ -2184,8 +2167,6 @@ nm_client_class_init (NMClientClass *client_class) * NMClient:startup: * * Whether the daemon is still starting up. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_STARTUP, @@ -2307,8 +2288,6 @@ nm_client_class_init (NMClientClass *client_class) * NMClient:connectivity: * * The network connectivity state. - * - * Since: 0.9.8.6 */ g_object_class_install_property (object_class, PROP_CONNECTIVITY, @@ -2322,8 +2301,6 @@ nm_client_class_init (NMClientClass *client_class) * * The #NMActiveConnection of the device with the default route; * see nm_client_get_primary_connection() for more details. - * - * Since: 0.9.8.6 **/ g_object_class_install_property (object_class, PROP_PRIMARY_CONNECTION, @@ -2337,8 +2314,6 @@ nm_client_class_init (NMClientClass *client_class) * * The #NMActiveConnection of the activating connection that is * likely to become the new #NMClient:primary-connection. - * - * Since: 0.9.8.6 **/ g_object_class_install_property (object_class, PROP_ACTIVATING_CONNECTION, @@ -2351,8 +2326,6 @@ nm_client_class_init (NMClientClass *client_class) * NMClient:devices: * * List of known network devices. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_DEVICES, diff --git a/libnm/nm-client.h b/libnm/nm-client.h index 0e9ec4e7a3..553c1fdb02 100644 --- a/libnm/nm-client.h +++ b/libnm/nm-client.h @@ -138,7 +138,6 @@ typedef enum { } NMClientError; #define NM_CLIENT_ERROR nm_client_error_quark () -NM_AVAILABLE_IN_0_9_10 GQuark nm_client_error_quark (void); typedef struct { @@ -222,7 +221,6 @@ gboolean nm_client_wimax_hardware_get_enabled (NMClient *client); const char *nm_client_get_version (NMClient *client); NMState nm_client_get_state (NMClient *client); -NM_AVAILABLE_IN_0_9_10 gboolean nm_client_get_startup (NMClient *client); gboolean nm_client_get_manager_running (NMClient *client); const GPtrArray *nm_client_get_active_connections (NMClient *client); diff --git a/libnm/nm-device-bond.c b/libnm/nm-device-bond.c index 662b2f4a38..113aac0dd4 100644 --- a/libnm/nm-device-bond.c +++ b/libnm/nm-device-bond.c @@ -140,8 +140,6 @@ nm_device_bond_get_carrier (NMDeviceBond *device) * Returns: (element-type NMDevice): the #GPtrArray containing * #NMDevices that are slaves of @device. This is the internal * copy used by the device, and must not be modified. - * - * Since: 0.9.6.4 **/ const GPtrArray * nm_device_bond_get_slaves (NMDeviceBond *device) @@ -335,8 +333,6 @@ nm_device_bond_class_init (NMDeviceBondClass *eth_class) * NMDeviceBond:slaves: * * The devices (#NMDevice) slaved to the bond device. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_SLAVES, diff --git a/libnm/nm-device-bridge.c b/libnm/nm-device-bridge.c index bf19737555..c651be0d71 100644 --- a/libnm/nm-device-bridge.c +++ b/libnm/nm-device-bridge.c @@ -60,8 +60,6 @@ enum { * Registers an error quark for #NMDeviceBridge if necessary. * * Returns: the error quark used for #NMDeviceBridge errors. - * - * Since: 0.9.8 **/ GQuark nm_device_bridge_error_quark (void) @@ -81,8 +79,6 @@ nm_device_bridge_error_quark (void) * Creates a new #NMDeviceBridge. * * Returns: (transfer full): a new device - * - * Since: 0.9.8 **/ GObject * nm_device_bridge_new (DBusGConnection *connection, const char *path) @@ -108,8 +104,6 @@ nm_device_bridge_new (DBusGConnection *connection, const char *path) * * Returns: the hardware address. This is the internal string used by the * device, and must not be modified. - * - * Since: 0.9.8 **/ const char * nm_device_bridge_get_hw_address (NMDeviceBridge *device) @@ -127,8 +121,6 @@ nm_device_bridge_get_hw_address (NMDeviceBridge *device) * Whether the device has carrier. * * Returns: %TRUE if the device has carrier - * - * Since: 0.9.8 **/ gboolean nm_device_bridge_get_carrier (NMDeviceBridge *device) @@ -148,8 +140,6 @@ nm_device_bridge_get_carrier (NMDeviceBridge *device) * Returns: (element-type NMDevice): the #GPtrArray containing * #NMDevices that are slaves of @device. This is the internal * copy used by the device, and must not be modified. - * - * Since: 0.9.8 **/ const GPtrArray * nm_device_bridge_get_slaves (NMDeviceBridge *device) @@ -319,8 +309,6 @@ nm_device_bridge_class_init (NMDeviceBridgeClass *bridge_class) * NMDeviceBridge:hw-address: * * The hardware (MAC) address of the device. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_HW_ADDRESS, @@ -333,8 +321,6 @@ nm_device_bridge_class_init (NMDeviceBridgeClass *bridge_class) * NMDeviceBridge:carrier: * * Whether the device has carrier. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_CARRIER, @@ -347,8 +333,6 @@ nm_device_bridge_class_init (NMDeviceBridgeClass *bridge_class) * NMDeviceBridge:slaves: * * The devices (#NMDevice) slaved to the bridge device. - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_SLAVES, diff --git a/libnm/nm-device-bridge.h b/libnm/nm-device-bridge.h index 2eaf475d8c..93b17b2ce8 100644 --- a/libnm/nm-device-bridge.h +++ b/libnm/nm-device-bridge.h @@ -38,8 +38,6 @@ G_BEGIN_DECLS * @NM_DEVICE_BRIDGE_ERROR_NOT_BRIDGE_CONNECTION: the connection was not of bridge type * @NM_DEVICE_BRIDGE_ERROR_INVALID_BRIDGE_CONNECTION: the bridge connection was invalid * @NM_DEVICE_BRIDGE_ERROR_INTERFACE_MISMATCH: the interfaces of the connection and the device mismatched - * - * Since: 0.9.8 */ typedef enum { NM_DEVICE_BRIDGE_ERROR_UNKNOWN = 0, /*< nick=UnknownError >*/ diff --git a/libnm/nm-device-generic.c b/libnm/nm-device-generic.c index 875ea8eb39..7bf54d16db 100644 --- a/libnm/nm-device-generic.c +++ b/libnm/nm-device-generic.c @@ -52,8 +52,6 @@ enum { * Registers an error quark for #NMDeviceGeneric if necessary. * * Returns: the error quark used for #NMDeviceGeneric errors. - * - * Since: 0.9.10 **/ GQuark nm_device_generic_error_quark (void) @@ -73,8 +71,6 @@ nm_device_generic_error_quark (void) * Creates a new #NMDeviceGeneric. * * Returns: (transfer full): a new device - * - * Since: 0.9.10 **/ GObject * nm_device_generic_new (DBusGConnection *connection, const char *path) @@ -100,8 +96,6 @@ nm_device_generic_new (DBusGConnection *connection, const char *path) * * Returns: the hardware address. This is the internal string used by the * device, and must not be modified. - * - * Since: 0.9.10 **/ const char * nm_device_generic_get_hw_address (NMDeviceGeneric *device) diff --git a/libnm/nm-device-generic.h b/libnm/nm-device-generic.h index 5bff1e3f55..901bde2e4e 100644 --- a/libnm/nm-device-generic.h +++ b/libnm/nm-device-generic.h @@ -66,10 +66,8 @@ typedef struct { void (*_reserved6) (void); } NMDeviceGenericClass; -NM_AVAILABLE_IN_0_9_10 GType nm_device_generic_get_type (void); -NM_AVAILABLE_IN_0_9_10 GObject *nm_device_generic_new (DBusGConnection *connection, const char *path); const char *nm_device_generic_get_hw_address (NMDeviceGeneric *device); diff --git a/libnm/nm-device-team.c b/libnm/nm-device-team.c index c9ac2d8b85..a131992f97 100644 --- a/libnm/nm-device-team.c +++ b/libnm/nm-device-team.c @@ -60,8 +60,6 @@ enum { * Registers an error quark for #NMDeviceTeam if necessary. * * Returns: the error quark used for #NMDeviceTeam errors. - * - * Since: 0.9.10 **/ GQuark nm_device_team_error_quark (void) @@ -81,8 +79,6 @@ nm_device_team_error_quark (void) * Creates a new #NMDeviceTeam. * * Returns: (transfer full): a new device - * - * Since: 0.9.10 **/ GObject * nm_device_team_new (DBusGConnection *connection, const char *path) @@ -108,8 +104,6 @@ nm_device_team_new (DBusGConnection *connection, const char *path) * * Returns: the hardware address. This is the internal string used by the * device, and must not be modified. - * - * Since: 0.9.10 **/ const char * nm_device_team_get_hw_address (NMDeviceTeam *device) @@ -127,8 +121,6 @@ nm_device_team_get_hw_address (NMDeviceTeam *device) * Whether the device has carrier. * * Returns: %TRUE if the device has carrier - * - * Since: 0.9.10 **/ gboolean nm_device_team_get_carrier (NMDeviceTeam *device) @@ -148,8 +140,6 @@ nm_device_team_get_carrier (NMDeviceTeam *device) * Returns: (element-type NMDevice): the #GPtrArray containing * #NMDevices that are slaves of @device. This is the internal * copy used by the device, and must not be modified. - * - * Since: 0.9.10 **/ const GPtrArray * nm_device_team_get_slaves (NMDeviceTeam *device) diff --git a/libnm/nm-device-team.h b/libnm/nm-device-team.h index 46e910bad1..074cf73ba8 100644 --- a/libnm/nm-device-team.h +++ b/libnm/nm-device-team.h @@ -47,7 +47,6 @@ typedef enum { } NMDeviceTeamError; #define NM_DEVICE_TEAM_ERROR nm_device_team_error_quark () -NM_AVAILABLE_IN_0_9_10 GQuark nm_device_team_error_quark (void); #define NM_DEVICE_TEAM_HW_ADDRESS "hw-address" @@ -70,10 +69,8 @@ typedef struct { void (*_reserved6) (void); } NMDeviceTeamClass; -NM_AVAILABLE_IN_0_9_10 GType nm_device_team_get_type (void); -NM_AVAILABLE_IN_0_9_10 GObject *nm_device_team_new (DBusGConnection *connection, const char *path); const char *nm_device_team_get_hw_address (NMDeviceTeam *device); diff --git a/libnm/nm-device-wifi.c b/libnm/nm-device-wifi.c index a4c108fb08..d504700604 100644 --- a/libnm/nm-device-wifi.c +++ b/libnm/nm-device-wifi.c @@ -346,8 +346,6 @@ request_scan_cb (DBusGProxy *proxy, * Request NM to scan for access points on the #NMDeviceWifi. This function only * instructs NM to perform scanning. Use nm_device_wifi_get_access_points() * to get available access points. - * - * Since: 0.9.8 **/ void nm_device_wifi_request_scan_simple (NMDeviceWifi *device, @@ -790,8 +788,6 @@ nm_device_wifi_class_init (NMDeviceWifiClass *wifi_class) * NMDeviceWifi:access-points: * * List of all Wi-Fi access points the device can see. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_ACCESS_POINTS, diff --git a/libnm/nm-device-wimax.c b/libnm/nm-device-wimax.c index 8fac2a5ac7..66c4bbc24e 100644 --- a/libnm/nm-device-wimax.c +++ b/libnm/nm-device-wimax.c @@ -707,8 +707,6 @@ nm_device_wimax_class_init (NMDeviceWimaxClass *wimax_class) * NMDeviceWimax:nsps: * * List of all WiMAX Network Service Providers the device can see. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_NSPS, diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 64b5dd1861..4c8484b999 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -144,8 +144,6 @@ static guint signals[LAST_SIGNAL] = { 0 }; * Registers an error quark for #NMDevice if necessary. * * Returns: the error quark used for #NMDevice errors. - * - * Since: 0.9.10 **/ GQuark nm_device_error_quark (void) @@ -769,8 +767,6 @@ nm_device_class_init (NMDeviceClass *device_class) * NMDevice:available-connections: * * The available connections (#NMRemoteConnection) of the device - * - * Since: 0.9.8 **/ g_object_class_install_property (object_class, PROP_AVAILABLE_CONNECTIONS, @@ -808,8 +804,6 @@ nm_device_class_init (NMDeviceClass *device_class) * * The physical port ID of the device. (See * nm_device_get_physical_port_id().) - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_PHYSICAL_PORT_ID, @@ -822,8 +816,6 @@ nm_device_class_init (NMDeviceClass *device_class) * NMDevice:mtu: * * The MTU of the device. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_MTU, @@ -1128,8 +1120,6 @@ nm_device_get_firmware_version (NMDevice *device) * * Returns: the type description of the device. This is the internal * string used by the device, and must not be modified. - * - * Since: 0.9.10 **/ const char * nm_device_get_type_description (NMDevice *device) @@ -1164,8 +1154,6 @@ nm_device_get_type_description (NMDevice *device) * * Returns: the current MAC of the device, or %NULL. * This is the internal string used by the device, and must not be modified. - * - * Since: 0.9.10 **/ const char * nm_device_get_hw_address (NMDevice *device) @@ -1426,8 +1414,6 @@ nm_device_get_active_connection (NMDevice *device) * Returns: (element-type NMRemoteConnection): the #GPtrArray * containing #NMRemoteConnections. This is the internal copy used by * the connection, and must not be modified. - * - * Since: 0.9.8 **/ const GPtrArray * nm_device_get_available_connections (NMDevice *device) @@ -1762,8 +1748,6 @@ get_short_vendor (NMDevice *device) * * Returns: a description of @device. If either the vendor or the * product name is unknown, this returns the interface name. - * - * Since: 0.9.10 */ const char * nm_device_get_description (NMDevice *device) @@ -1915,8 +1899,6 @@ find_duplicates (char **names, * devices in @devices. * * Returns: (transfer full) (array zero-terminated=1): the device names - * - * Since: 0.9.10 */ char ** nm_device_disambiguate_names (NMDevice **devices, @@ -2027,8 +2009,6 @@ done: * Returns: the physical port ID of the device, or %NULL if the port * ID is unknown. This is the internal string used by the device and * must not be modified. - * - * Since: 0.9.10 **/ const char * nm_device_get_physical_port_id (NMDevice *device) @@ -2053,8 +2033,6 @@ nm_device_get_physical_port_id (NMDevice *device) * Gets the MTU of the #NMDevice. * * Returns: the MTU of the device. - * - * Since: 0.9.10 **/ guint32 nm_device_get_mtu (NMDevice *device) @@ -2072,8 +2050,6 @@ nm_device_get_mtu (NMDevice *device) * Whether the device is a software device. * * Returns: %TRUE if @device is a software device, %FALSE if it is a hardware device. - * - * Since: 1.0 **/ gboolean nm_device_is_software (NMDevice *device) @@ -2156,8 +2132,6 @@ nm_device_disconnect (NMDevice *device, * @user_data: (closure): caller-specific data passed to @callback * * Deletes the software device. Hardware devices can't be deleted. - * - * Since: 1.0 **/ void nm_device_delete (NMDevice *device, @@ -2297,8 +2271,6 @@ nm_device_filter_connections (NMDevice *device, const GSList *connections) * that can be used on @device. * * Returns: @device's associated #NMSetting type - * - * Since: 0.9.10 */ GType nm_device_get_setting_type (NMDevice *device) diff --git a/libnm/nm-device.h b/libnm/nm-device.h index 87bc14fe37..9188deb19a 100644 --- a/libnm/nm-device.h +++ b/libnm/nm-device.h @@ -55,7 +55,6 @@ typedef enum { } NMDeviceError; #define NM_DEVICE_ERROR nm_device_error_quark () -NM_AVAILABLE_IN_0_9_10 GQuark nm_device_error_quark (void); #define NM_DEVICE_DEVICE_TYPE "device-type" @@ -121,9 +120,7 @@ const char * nm_device_get_udi (NMDevice *device); const char * nm_device_get_driver (NMDevice *device); const char * nm_device_get_driver_version (NMDevice *device); const char * nm_device_get_firmware_version (NMDevice *device); -NM_AVAILABLE_IN_0_9_10 const char * nm_device_get_type_description (NMDevice *device); -NM_AVAILABLE_IN_0_9_10 const char * nm_device_get_hw_address (NMDevice *device); NMDeviceCapabilities nm_device_get_capabilities (NMDevice *device); gboolean nm_device_get_managed (NMDevice *device); @@ -138,18 +135,13 @@ NMDeviceState nm_device_get_state (NMDevice *device); NMDeviceState nm_device_get_state_reason (NMDevice *device, NMDeviceStateReason *reason); NMActiveConnection * nm_device_get_active_connection(NMDevice *device); const GPtrArray * nm_device_get_available_connections(NMDevice *device); -NM_AVAILABLE_IN_0_9_10 const char * nm_device_get_physical_port_id (NMDevice *device); -NM_AVAILABLE_IN_0_9_10 guint32 nm_device_get_mtu (NMDevice *device); -NM_AVAILABLE_IN_1_0 gboolean nm_device_is_software (NMDevice *device); const char * nm_device_get_product (NMDevice *device); const char * nm_device_get_vendor (NMDevice *device); -NM_AVAILABLE_IN_0_9_10 const char * nm_device_get_description (NMDevice *device); -NM_AVAILABLE_IN_0_9_10 char ** nm_device_disambiguate_names (NMDevice **devices, int num_devices); @@ -159,7 +151,6 @@ void nm_device_disconnect (NMDevice *device, NMDeviceCallbackFn callback, gpointer user_data); -NM_AVAILABLE_IN_1_0 void nm_device_delete (NMDevice *device, NMDeviceCallbackFn callback, gpointer user_data); @@ -174,7 +165,6 @@ gboolean nm_device_connection_compatible (NMDevice *device, NMConnection *connection, GError **error); -NM_AVAILABLE_IN_0_9_10 GType nm_device_get_setting_type (NMDevice *device); G_END_DECLS diff --git a/libnm/nm-ip4-config.c b/libnm/nm-ip4-config.c index 3ac75254cf..186e4fb43f 100644 --- a/libnm/nm-ip4-config.c +++ b/libnm/nm-ip4-config.c @@ -233,8 +233,6 @@ nm_ip4_config_class_init (NMIP4ConfigClass *config_class) * NMIP4Config:gateway: * * The IP4 gateway address of the configuration as string. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_GATEWAY, @@ -293,8 +291,6 @@ nm_ip4_config_class_init (NMIP4ConfigClass *config_class) * NMIP4Config:searches: * * The #GPtrArray containing dns search strings of the configuration. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_SEARCHES, @@ -341,8 +337,6 @@ nm_ip4_config_new (DBusGConnection *connection, const char *object_path) * Gets the IP4 gateway address. * * Returns: the IP4 address of the gateway. - * - * Since: 0.9.10 **/ const char * nm_ip4_config_get_gateway (NMIP4Config *config) @@ -416,8 +410,6 @@ nm_ip4_config_get_domains (NMIP4Config *config) * * Returns: (element-type utf8): the #GPtrArray containing dns searches as strings. This is the * internal copy used by the configuration, and must not be modified. - * - * Since: 0.9.10 **/ const GPtrArray * nm_ip4_config_get_searches (NMIP4Config *config) diff --git a/libnm/nm-ip4-config.h b/libnm/nm-ip4-config.h index 58b6b3714d..2ba8d3cd90 100644 --- a/libnm/nm-ip4-config.h +++ b/libnm/nm-ip4-config.h @@ -64,13 +64,11 @@ GType nm_ip4_config_get_type (void); GObject *nm_ip4_config_new (DBusGConnection *connection, const char *object_path); -NM_AVAILABLE_IN_0_9_10 const char * nm_ip4_config_get_gateway (NMIP4Config *config); const GSList * nm_ip4_config_get_addresses (NMIP4Config *config); const GSList * nm_ip4_config_get_routes (NMIP4Config *config); const GArray * nm_ip4_config_get_nameservers (NMIP4Config *config); const GPtrArray *nm_ip4_config_get_domains (NMIP4Config *config); -NM_AVAILABLE_IN_0_9_10 const GPtrArray *nm_ip4_config_get_searches (NMIP4Config *config); const GArray * nm_ip4_config_get_wins_servers (NMIP4Config *config); diff --git a/libnm/nm-ip6-config.c b/libnm/nm-ip6-config.c index 21156090bd..1102f44d16 100644 --- a/libnm/nm-ip6-config.c +++ b/libnm/nm-ip6-config.c @@ -159,8 +159,6 @@ register_properties (NMIP6Config *config) * Gets the IP6 gateway. * * Returns: the IPv6 gateway of the configuration. - * - * Since: 0.9.10 **/ const char * nm_ip6_config_get_gateway (NMIP6Config *config) @@ -197,8 +195,6 @@ nm_ip6_config_get_addresses (NMIP6Config *config) * Gets the number of the domain name servers in the configuration. * * Returns: the number of domain name servers - * - * Since: 0.9.10 **/ guint32 nm_ip6_config_get_num_nameservers (NMIP6Config *config) @@ -218,8 +214,6 @@ nm_ip6_config_get_num_nameservers (NMIP6Config *config) * * Returns: (array fixed-size=16) (element-type guint8) (transfer none): * the IPv6 address of domain name server at index @iidx - * - * Since: 0.9.10 **/ const struct in6_addr * nm_ip6_config_get_nameserver (NMIP6Config *config, guint32 idx) @@ -286,8 +280,6 @@ nm_ip6_config_get_domains (NMIP6Config *config) * * Returns: (element-type utf8): the #GPtrArray containing dns searches as strings. * This is the internal copy used by the configuration, and must not be modified. - * - * Since: 0.9.10 **/ const GPtrArray * nm_ip6_config_get_searches (NMIP6Config *config) @@ -413,8 +405,6 @@ nm_ip6_config_class_init (NMIP6ConfigClass *config_class) * NMIP6Config:gateway: * * The IPv6 gateway as string - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_GATEWAY, @@ -480,8 +470,6 @@ nm_ip6_config_class_init (NMIP6ConfigClass *config_class) * NMIP6Config:searches: * * The #GPtrArray containing dns search strings of the configuration. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_SEARCHES, diff --git a/libnm/nm-ip6-config.h b/libnm/nm-ip6-config.h index 7a64805b68..9ec5eff95e 100644 --- a/libnm/nm-ip6-config.h +++ b/libnm/nm-ip6-config.h @@ -63,17 +63,13 @@ GType nm_ip6_config_get_type (void); GObject *nm_ip6_config_new (DBusGConnection *connection, const char *object_path); -NM_AVAILABLE_IN_0_9_10 const char * nm_ip6_config_get_gateway (NMIP6Config *config); const GSList * nm_ip6_config_get_addresses (NMIP6Config *config); const GSList * nm_ip6_config_get_routes (NMIP6Config *config); -NM_AVAILABLE_IN_0_9_10 guint32 nm_ip6_config_get_num_nameservers (NMIP6Config *config); -NM_AVAILABLE_IN_0_9_10 const struct in6_addr *nm_ip6_config_get_nameserver (NMIP6Config *config, guint32 idx); const GSList * nm_ip6_config_get_nameservers (NMIP6Config *config); const GPtrArray * nm_ip6_config_get_domains (NMIP6Config *config); -NM_AVAILABLE_IN_0_9_10 const GPtrArray * nm_ip6_config_get_searches (NMIP6Config *config); G_END_DECLS diff --git a/libnm/nm-remote-connection.c b/libnm/nm-remote-connection.c index e3050b0169..8d5c9534e2 100644 --- a/libnm/nm-remote-connection.c +++ b/libnm/nm-remote-connection.c @@ -278,8 +278,6 @@ nm_remote_connection_commit_changes (NMRemoteConnection *self, * NetworkManager. The changes are not saved to disk until either * nm_remote_connection_save() or nm_remote_connection_commit_changes() is * called. - * - * Since: 0.9.10 **/ void nm_remote_connection_commit_changes_unsaved (NMRemoteConnection *connection, @@ -316,8 +314,6 @@ nm_remote_connection_commit_changes_unsaved (NMRemoteConnection *connection, * * Saves the connection to disk if the connection has changes that have not yet * been written to disk, or if the connection has never been saved. - * - * Since: 0.9.10 **/ void nm_remote_connection_save (NMRemoteConnection *connection, @@ -433,8 +429,6 @@ nm_remote_connection_get_secrets (NMRemoteConnection *self, * Returns: %TRUE if the remote connection contains changes that have not * been saved to disk, %FALSE if the connection is the same as its on-disk * representation. - * - * Since: 0.9.10 **/ gboolean nm_remote_connection_get_unsaved (NMRemoteConnection *connection) @@ -896,8 +890,6 @@ nm_remote_connection_class_init (NMRemoteConnectionClass *remote_class) * * %TRUE if the remote connection contains changes that have not been saved * to disk, %FALSE if the connection is the same as its on-disk representation. - * - * Since: 0.9.10 **/ g_object_class_install_property (object_class, PROP_UNSAVED, diff --git a/libnm/nm-remote-connection.h b/libnm/nm-remote-connection.h index 8292c23545..37f18d1d04 100644 --- a/libnm/nm-remote-connection.h +++ b/libnm/nm-remote-connection.h @@ -122,12 +122,10 @@ void nm_remote_connection_commit_changes (NMRemoteConnection *connection, NMRemoteConnectionResultFunc callback, gpointer user_data); -NM_AVAILABLE_IN_0_9_10 void nm_remote_connection_commit_changes_unsaved (NMRemoteConnection *connection, NMRemoteConnectionResultFunc callback, gpointer user_data); -NM_AVAILABLE_IN_0_9_10 void nm_remote_connection_save (NMRemoteConnection *connection, NMRemoteConnectionResultFunc callback, gpointer user_data); @@ -141,7 +139,6 @@ void nm_remote_connection_get_secrets (NMRemoteConnection *connection, NMRemoteConnectionGetSecretsFunc callback, gpointer user_data); -NM_AVAILABLE_IN_0_9_10 gboolean nm_remote_connection_get_unsaved (NMRemoteConnection *connection); G_END_DECLS diff --git a/libnm/nm-remote-settings.c b/libnm/nm-remote-settings.c index 49d7780e6e..f0d7ba8e08 100644 --- a/libnm/nm-remote-settings.c +++ b/libnm/nm-remote-settings.c @@ -267,8 +267,6 @@ add_connection_info_complete (NMRemoteSettings *self, * * Returns: (transfer none): the remote connection object on success, or %NULL if no * matching object was found. - * - * Since: 0.9.10 **/ NMRemoteConnection * nm_remote_settings_get_connection_by_id (NMRemoteSettings *settings, const char *id) @@ -717,8 +715,6 @@ nm_remote_settings_add_connection (NMRemoteSettings *settings, * method. * * Returns: %TRUE if the request was successful, %FALSE if it failed - * - * Since: 0.9.10 **/ gboolean nm_remote_settings_add_connection_unsaved (NMRemoteSettings *settings, @@ -782,8 +778,6 @@ nm_remote_settings_add_connection_unsaved (NMRemoteSettings *settings, * Returns: %TRUE if NetworkManager at least tried to load @filenames, * %FALSE if an error occurred (eg, permission denied). - * - * Since: 0.9.10 **/ gboolean nm_remote_settings_load_connections (NMRemoteSettings *settings, @@ -837,8 +831,6 @@ nm_remote_settings_load_connections (NMRemoteSettings *settings, * the in-memory state matches the on-disk state. * * Return value: %TRUE on success, %FALSE on failure - * - * Since: 0.9.10 **/ gboolean nm_remote_settings_reload_connections (NMRemoteSettings *settings, diff --git a/libnm/nm-remote-settings.h b/libnm/nm-remote-settings.h index 92049adee0..d8ed0cf5bc 100644 --- a/libnm/nm-remote-settings.h +++ b/libnm/nm-remote-settings.h @@ -44,7 +44,6 @@ G_BEGIN_DECLS * @NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE: the #NMRemoteConnection object * is not visible or otherwise unreadable * @NM_REMOTE_SETTINGS_ERROR_SERVICE_UNAVAILABLE: NetworkManager is not running. - * (Since 0.9.10) * * Describes errors that may result from operations involving a #NMRemoteSettings. * @@ -136,19 +135,16 @@ gboolean nm_remote_settings_add_connection (NMRemoteSettings *settings, NMRemoteSettingsAddConnectionFunc callback, gpointer user_data); -NM_AVAILABLE_IN_0_9_10 gboolean nm_remote_settings_add_connection_unsaved (NMRemoteSettings *settings, NMConnection *connection, NMRemoteSettingsAddConnectionFunc callback, gpointer user_data); -NM_AVAILABLE_IN_0_9_10 gboolean nm_remote_settings_load_connections (NMRemoteSettings *settings, char **filenames, char ***failures, GError **error); -NM_AVAILABLE_IN_0_9_10 gboolean nm_remote_settings_reload_connections (NMRemoteSettings *settings, GError **error); diff --git a/libnm/nm-secret-agent.h b/libnm/nm-secret-agent.h index f593b3e648..093bd2a02d 100644 --- a/libnm/nm-secret-agent.h +++ b/libnm/nm-secret-agent.h @@ -64,8 +64,6 @@ typedef enum { * @NM_SECRET_AGENT_CAPABILITY_LAST: bounds checking value; should not be used. * * #NMSecretAgentCapabilities indicate various capabilities of the agent. - * - * Since: 0.9.10 */ typedef enum /*< flags >*/ { NM_SECRET_AGENT_CAPABILITY_NONE = 0x0, diff --git a/libnm/nm-vpn-plugin.c b/libnm/nm-vpn-plugin.c index 08fb647ada..6fca2099d0 100644 --- a/libnm/nm-vpn-plugin.c +++ b/libnm/nm-vpn-plugin.c @@ -615,8 +615,6 @@ impl_vpn_plugin_new_secrets (NMVPNPlugin *plugin, * request new secrets when the secrets originally provided by NetworkManager * are insufficient, or the VPN process indicates that it needs additional * information to complete the request. - * - * Since: 0.9.10 */ void nm_vpn_plugin_secrets_required (NMVPNPlugin *plugin, diff --git a/libnm/nm-vpn-plugin.h b/libnm/nm-vpn-plugin.h index 323017f035..aa17dc06c1 100644 --- a/libnm/nm-vpn-plugin.h +++ b/libnm/nm-vpn-plugin.h @@ -147,7 +147,6 @@ NMVPNServiceState nm_vpn_plugin_get_state (NMVPNPlugin *plugin); void nm_vpn_plugin_set_state (NMVPNPlugin *plugin, NMVPNServiceState state); -NM_AVAILABLE_IN_0_9_10 void nm_vpn_plugin_secrets_required (NMVPNPlugin *plugin, const char *message, const char **hints);