mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 23:00:07 +01:00
* gnome/applet/applet-compat.c - Fix bugs in GConf entry conversion * gnome/applet/applet-dbus-info.c - (nmi_dbus_get_network_properties): handle case of the BSSID list being zero-length * libnm-util/cipher-* libnm-util/dbus-helpers.c - All ciphers must now return hashed keys as UTF-8 valid hexadecimal strings, ie "8f3dae4023". They are pushed through dbus as strings too. - Consolidate various functions that do bin->hex and hex->bin conversion into cipher.c * src/nm-ap-security-wep.c src/nm-ap-security-wpa-psk.c - Handle NULL keys since we may not know keys right away * src/nm-dbus-nmi.c - (nm_dbus_get_network_data_cb): actually advance to the start of the wireless security info before we try to deserialize it * libnm-util/test-ciphers.c - Update cipher tests for the change to UTF-8 hexadecimal strings git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1230 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
38 lines
1.7 KiB
C
38 lines
1.7 KiB
C
/* 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 CIPHER_H
|
|
#define CIPHER_H
|
|
|
|
typedef struct IEEE_802_11_Cipher IEEE_802_11_Cipher;
|
|
|
|
void ieee_802_11_cipher_ref (IEEE_802_11_Cipher *cipher);
|
|
void ieee_802_11_cipher_unref (IEEE_802_11_Cipher *cipher);
|
|
int ieee_802_11_cipher_get_we_cipher (IEEE_802_11_Cipher *cipher);
|
|
int ieee_802_11_cipher_get_input_min (IEEE_802_11_Cipher *cipher);
|
|
int ieee_802_11_cipher_get_input_max (IEEE_802_11_Cipher *cipher);
|
|
char * ieee_802_11_cipher_hash (IEEE_802_11_Cipher *cipher, const char *ssid, const char *input);
|
|
int ieee_802_11_cipher_validate (IEEE_802_11_Cipher *cipher, const char *ssid, const char *input);
|
|
|
|
/* Private API members (not part of the public API) */
|
|
int ieee_802_11_cipher_refcount (IEEE_802_11_Cipher *cipher);
|
|
|
|
#endif /* CIPHER_H */
|