diff options
author | Dan Winship <danw@gnome.org> | 2014-05-09 15:04:04 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-08-01 14:34:06 -0400 |
commit | b4ae6eaec9cec10d68bdcce7151b07451e4de6a3 (patch) | |
tree | 96a53262f25dfacbbd6ce2c34b1c3484ffea3f1c /libnm-core | |
parent | 054c12ea30f7e41505ca54655c28abdc14fe05bc (diff) | |
download | NetworkManager-b4ae6eaec9cec10d68bdcce7151b07451e4de6a3.tar.gz |
libnm: remove Since tags and NM_AVAILABLE_IN_* attributes
Everything currently in libnm has always been there.
Diffstat (limited to 'libnm-core')
36 files changed, 0 insertions, 373 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 <alexl@redhat.com> 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 |