summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-access-point.h
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2015-04-21 11:48:26 -0400
committerThomas Haller <thaller@redhat.com>2015-04-29 07:49:23 +0200
commitf3b8285be509ad69fe24c50dad9a2514cd3f5f07 (patch)
tree102c4f8cc329b0f7a9e793b99ecad7c622a5005c /libnm-glib/nm-access-point.h
parent967376b84036686a9694b46decc301a098ab74cc (diff)
downloadNetworkManager-f3b8285be509ad69fe24c50dad9a2514cd3f5f07.tar.gz
wifi: expose the last_seen property for a NMAccessPoint
https://mail.gnome.org/archives/networkmanager-list/2015-April/msg00053.html
Diffstat (limited to 'libnm-glib/nm-access-point.h')
-rw-r--r--libnm-glib/nm-access-point.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-glib/nm-access-point.h b/libnm-glib/nm-access-point.h
index d3150f8eee..fc43cbacd0 100644
--- a/libnm-glib/nm-access-point.h
+++ b/libnm-glib/nm-access-point.h
@@ -46,6 +46,7 @@ G_BEGIN_DECLS
#define NM_ACCESS_POINT_MODE "mode"
#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate"
#define NM_ACCESS_POINT_STRENGTH "strength"
+#define NM_ACCESS_POINT_LAST_SEEN "last-seen"
/* DEPRECATED */
#define NM_ACCESS_POINT_HW_ADDRESS "hw-address"
@@ -80,6 +81,7 @@ guint32 nm_access_point_get_frequency (NMAccessPoint *ap);
NM80211Mode nm_access_point_get_mode (NMAccessPoint *ap);
guint32 nm_access_point_get_max_bitrate (NMAccessPoint *ap);
guint8 nm_access_point_get_strength (NMAccessPoint *ap);
+gint nm_access_point_get_last_seen (NMAccessPoint *ap);
GSList * nm_access_point_filter_connections (NMAccessPoint *ap,
const GSList *connections);