diff options
author | Dan Williams <dcbw@src.gnome.org> | 2007-02-02 15:37:33 +0000 |
---|---|---|
committer | Dan Williams <dcbw@src.gnome.org> | 2007-02-02 15:37:33 +0000 |
commit | e65c12da5f0b2d2c3531d790953b5d288c03b4a7 (patch) | |
tree | 00a40a3349056ce9cd13fe48cb64d04615d8c814 /src/wireless-security-option.h | |
download | network-manager-applet-e65c12da5f0b2d2c3531d790953b5d288c03b4a7.tar.gz |
Initial import of nm-applet from NETWORKMANAGER_0_6_0_RELEASE branch of NM svn
svn path=/trunk/; revision=2
Diffstat (limited to 'src/wireless-security-option.h')
-rw-r--r-- | src/wireless-security-option.h | 44 |
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 */ |