summary refs log tree commit diff
path: root/clients/tui/nmt-mac-entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tui/nmt-mac-entry.h')
-rw-r--r--clients/tui/nmt-mac-entry.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/clients/tui/nmt-mac-entry.h b/clients/tui/nmt-mac-entry.h
index 099bacb7..68d9a208 100644
--- a/clients/tui/nmt-mac-entry.h
+++ b/clients/tui/nmt-mac-entry.h
@@ -19,11 +19,13 @@
 #ifndef NMT_MAC_ENTRY_H
 #define NMT_MAC_ENTRY_H
 
-#include "nm-default.h"
 #include "nm-utils.h"
 #include "nmt-newt.h"
 
-G_BEGIN_DECLS
+typedef enum { /*< skip >*/
+	NMT_MAC_ENTRY_TYPE_MAC,
+	NMT_MAC_ENTRY_TYPE_CLONED,
+} NmtMacEntryType;
 
 #define NMT_TYPE_MAC_ENTRY            (nmt_mac_entry_get_type ())
 #define NMT_MAC_ENTRY(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), NMT_TYPE_MAC_ENTRY, NmtMacEntry))
@@ -45,8 +47,7 @@ typedef struct {
 GType nmt_mac_entry_get_type (void);
 
 NmtNewtWidget *nmt_mac_entry_new (int width,
-                                  int mac_length);
-
-G_END_DECLS
+                                  int mac_length,
+                                  NmtMacEntryType type);
 
 #endif /* NMT_MAC_ENTRY_H */