summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-wired.h
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2013-05-03 15:11:44 +0200
committerJiří Klimeš <jklimes@redhat.com>2013-05-07 19:38:31 +0200
commitced61dfc7fb06444a0ba6d53bc0edbd559aee434 (patch)
tree7c2729352aeef07511e33f0705166e24b6857c04 /libnm-util/nm-setting-wired.h
parent440223fa3c873dac309e45ae15d89b44d38b18a4 (diff)
downloadNetworkManager-ced61dfc7fb06444a0ba6d53bc0edbd559aee434.tar.gz
libnm-util: add access functions for 'mac-address-blacklist' to wired/wireless
nm_setting_wire(d/less)_get_num_mac_blacklist_items() nm_setting_wire(d/less)_get_mac_blacklist_item() nm_setting_wire(d/less)_add_mac_blacklist_item() nm_setting_wire(d/less)_remove_mac_blacklist_item()
Diffstat (limited to 'libnm-util/nm-setting-wired.h')
-rw-r--r--libnm-util/nm-setting-wired.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libnm-util/nm-setting-wired.h b/libnm-util/nm-setting-wired.h
index 206bbeab0f..45bec73623 100644
--- a/libnm-util/nm-setting-wired.h
+++ b/libnm-util/nm-setting-wired.h
@@ -90,7 +90,16 @@ const char * nm_setting_wired_get_duplex (NMSettingWired *setting
gboolean nm_setting_wired_get_auto_negotiate (NMSettingWired *setting);
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);
+
+const GSList *nm_setting_wired_get_mac_address_blacklist (NMSettingWired *setting);
+guint32 nm_setting_wired_get_num_mac_blacklist_items (NMSettingWired *setting);
+const char * nm_setting_wired_get_mac_blacklist_item (NMSettingWired *setting,
+ guint32 idx);
+gboolean nm_setting_wired_add_mac_blacklist_item (NMSettingWired *setting,
+ const char *mac);
+void nm_setting_wired_remove_mac_blacklist_item (NMSettingWired *setting,
+ guint32 idx);
+
guint32 nm_setting_wired_get_mtu (NMSettingWired *setting);
const GPtrArray * nm_setting_wired_get_s390_subchannels (NMSettingWired *setting);