mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 12:50:09 +01:00
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:
parent
d9e7b0082a
commit
bcf29cf7a5
3 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue