summaryrefslogtreecommitdiff
path: root/panels/network/wireless-security/eap-method.h
diff options
context:
space:
mode:
Diffstat (limited to 'panels/network/wireless-security/eap-method.h')
-rw-r--r--panels/network/wireless-security/eap-method.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/panels/network/wireless-security/eap-method.h b/panels/network/wireless-security/eap-method.h
index 5ef1a9692..bd8875a8c 100644
--- a/panels/network/wireless-security/eap-method.h
+++ b/panels/network/wireless-security/eap-method.h
@@ -33,13 +33,12 @@ typedef void (*EMUpdateSecretsFunc) (EAPMethod *method, NMConnection *co
typedef void (*EMDestroyFunc) (EAPMethod *method);
typedef gboolean (*EMValidateFunc) (EAPMethod *method, GError **error);
typedef GtkWidget* (*EMGetWidgetFunc) (EAPMethod *method);
+typedef const gchar* (*EMGetStringFunc) (EAPMethod *method);
struct _EAPMethod {
guint32 refcount;
gsize obj_size;
- const char *password_flags_name;
-
gboolean phase2;
EMAddToSizeGroupFunc add_to_size_group;
@@ -48,6 +47,7 @@ struct _EAPMethod {
EMValidateFunc validate;
EMGetWidgetFunc get_widget;
EMGetWidgetFunc get_default_field;
+ EMGetStringFunc get_password_flags_name;
EMDestroyFunc destroy;
};
@@ -58,6 +58,8 @@ GtkWidget *eap_method_get_widget (EAPMethod *method);
GtkWidget *eap_method_get_default_field (EAPMethod *method);
+const gchar *eap_method_get_password_flags_name (EAPMethod *method);
+
gboolean eap_method_validate (EAPMethod *method, GError **error);
void eap_method_add_to_size_group (EAPMethod *method, GtkSizeGroup *group);
@@ -81,6 +83,7 @@ EAPMethod *eap_method_init (gsize obj_size,
EMUpdateSecretsFunc update_secrets,
EMGetWidgetFunc get_widget,
EMGetWidgetFunc get_default_field,
+ EMGetStringFunc get_password_flags_name,
EMDestroyFunc destroy,
gboolean phase2);