2006-12-04 Dan Williams <dcbw@redhat.com>

* src/supplicant-manager/nm-supplicant-interface.[ch]
		- (nm_supplicant_interface_get_state): new function


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2160 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2006-12-04 19:09:44 +00:00
parent d9e7b0082a
commit bcf29cf7a5
3 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-12-04 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.[ch]
- (nm_supplicant_interface_get_state): new function
2006-12-04 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c

View file

@ -1204,6 +1204,14 @@ out:
return success;
}
guint32
nm_supplicant_interface_get_state (NMSupplicantInterface * self)
{
g_return_val_if_fail (self != NULL, NM_SUPPLICANT_INTERFACE_STATE_DOWN);
return self->priv->state;
}
guint32
nm_supplicant_interface_get_connection_state (NMSupplicantInterface * self)
{

View file

@ -124,6 +124,8 @@ NMDevice * nm_supplicant_interface_get_device (NMSupplicantInterface * iface);
gboolean nm_supplicant_interface_request_scan (NMSupplicantInterface * self);
guint32 nm_supplicant_interface_get_state (NMSupplicantInterface * self);
guint32 nm_supplicant_interface_get_connection_state (NMSupplicantInterface * self);
G_END_DECLS