summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-device.h
diff options
context:
space:
mode:
authorTambet Ingo <tambet@ximian.com>2007-03-05 08:49:30 +0000
committerTambet Ingo <tambet@gmail.com>2007-03-05 08:49:30 +0000
commit96c246cfc4838d4d746a2add5e36c48654392649 (patch)
treee5e18506d819411f509a25a3cad1b1c878a9ea4a /libnm-glib/nm-device.h
parentbf6efcaeee4f5b968e5fa48ca84761ce47e15deb (diff)
downloadNetworkManager-96c246cfc4838d4d746a2add5e36c48654392649.tar.gz
2007-03-02 Tambet Ingo <tambet@ximian.com>
* libnm-glib/nm-device-802-11-wireless.c (nm_device_802_11_wireless_get_capabilities): Implement. * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement. * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property. * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the reply only if it's not NULL. Not sure why this started happening right now. * src/nm-manager.c (device_stop_and_free): Remove. No need to have different code paths for when devices get removed on shutdown or when a device is just removed. (finalize): Don't use a g_slist_foreach() when removing devices, the list data gets freed so any signal from a device (disconnected for instance) would invoke NMState update which would crash. (nm_manager_remove_device): Bring the device down when it gets removed. * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove the unused dev_type. * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the reference to the added device, NMManager will own it (if it wants). * test/nm-tool.c: Rewrite using libnm-glib. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2417 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-glib/nm-device.h')
-rw-r--r--libnm-glib/nm-device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm-glib/nm-device.h b/libnm-glib/nm-device.h
index 0ca6845eaf..d948640ef9 100644
--- a/libnm-glib/nm-device.h
+++ b/libnm-glib/nm-device.h
@@ -34,6 +34,7 @@ void nm_device_deactivate (NMDevice *device);
char *nm_device_get_iface (NMDevice *device);
char *nm_device_get_udi (NMDevice *device);
char *nm_device_get_driver (NMDevice *device);
+guint32 nm_device_get_capabilities (NMDevice *device);
guint32 nm_device_get_ip4_address (NMDevice *device);
NMIP4Config *nm_device_get_ip4_config (NMDevice *device);
NMDeviceState nm_device_get_state (NMDevice *device);