summaryrefslogtreecommitdiff
path: root/src/supplicant/nm-supplicant-interface.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-01-05 14:27:27 +0100
committerThomas Haller <thaller@redhat.com>2020-02-10 19:11:50 +0100
commitc5e0bae8b437e26f7359326065f646b8f1e68c54 (patch)
tree805d6abffcb9b477f14385fe33bf25a9237ffef4 /src/supplicant/nm-supplicant-interface.h
parent0df15330ae2c526bd14858868f7330ac08f9cf1e (diff)
supplicant: track supplicant interface instances in manager via embedded CList
Diffstat (limited to 'src/supplicant/nm-supplicant-interface.h')
-rw-r--r--src/supplicant/nm-supplicant-interface.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/supplicant/nm-supplicant-interface.h b/src/supplicant/nm-supplicant-interface.h
index 686988e9a..769863bb9 100644
--- a/src/supplicant/nm-supplicant-interface.h
+++ b/src/supplicant/nm-supplicant-interface.h
@@ -9,6 +9,8 @@
#include "nm-supplicant-types.h"
+#include "c-list/src/c-list.h"
+
/*
* Supplicant interface states
* A mix of wpa_supplicant interface states and internal states.
@@ -72,6 +74,14 @@ typedef enum {
typedef struct _NMSupplicantInterfaceClass NMSupplicantInterfaceClass;
+struct _NMSupplicantInterfacePrivate;
+
+struct _NMSupplicantInterface {
+ GObject parent;
+ CList supp_lst;
+ struct _NMSupplicantInterfacePrivate *_priv;
+};
+
GType nm_supplicant_interface_get_type (void);
NMSupplicantInterface *nm_supplicant_interface_new (const char *ifname,