summaryrefslogtreecommitdiff
path: root/src/wireless-security-option.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireless-security-option.h')
-rw-r--r--src/wireless-security-option.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/wireless-security-option.h b/src/wireless-security-option.h
new file mode 100644
index 00000000..e85139a7
--- /dev/null
+++ b/src/wireless-security-option.h
@@ -0,0 +1,44 @@
+/* NetworkManager Wireless Applet -- Display wireless access points and allow user control
+ *
+ * Dan Williams <dcbw@redhat.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * (C) Copyright 2005 Red Hat, Inc.
+ */
+
+#ifndef WIRELESS_SECURITY_OPTION_H
+#define WIRELESS_SECURITY_OPTION_H
+
+#include <dbus/dbus.h>
+#include <gtk/gtk.h>
+
+#include "cipher.h"
+
+typedef struct WirelessSecurityOption WirelessSecurityOption;
+
+const char * wso_get_name (WirelessSecurityOption * opt);
+
+GtkWidget * wso_get_widget (WirelessSecurityOption * opt, GtkSignalFunc validate_cb, gpointer user_data);
+
+gboolean wso_is_wso_widget (GtkWidget * widget);
+
+gboolean wso_validate_input (WirelessSecurityOption * opt, const char * ssid, IEEE_802_11_Cipher ** out_cipher);
+
+gboolean wso_append_dbus_params (WirelessSecurityOption *opt, const char *ssid, DBusMessage *message);
+
+void wso_free (WirelessSecurityOption * opt);
+
+#endif /* WIRELESS_SECURITY_OPTION_H */