$search
#include "includes.h"
#include <dbus/dbus.h>
#include "common.h"
#include "eap_peer/eap_methods.h"
#include "common/ieee802_11_defs.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "rsn_supp/wpa.h"
#include "../config.h"
#include "../wpa_supplicant_i.h"
#include "../driver_i.h"
#include "../notify.h"
#include "../wpas_glue.h"
#include "../bss.h"
#include "../scan.h"
#include "dbus_old.h"
#include "dbus_old_handlers.h"
#include "dbus_dict_helpers.h"
Go to the source code of this file.
Functions | |
static dbus_bool_t | should_quote_opt (const char *key) |
DBusMessage * | wpas_dbus_bssid_properties (DBusMessage *message, struct wpa_supplicant *wpa_s, struct wpa_bss *bss) |
DBusMessage * | wpas_dbus_global_add_interface (DBusMessage *message, struct wpa_global *global) |
DBusMessage * | wpas_dbus_global_get_interface (DBusMessage *message, struct wpa_global *global) |
DBusMessage * | wpas_dbus_global_remove_interface (DBusMessage *message, struct wpa_global *global) |
DBusMessage * | wpas_dbus_global_set_debugparams (DBusMessage *message, struct wpa_global *global) |
DBusMessage * | wpas_dbus_iface_add_network (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_capabilities (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_disable_network (DBusMessage *message, struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) |
DBusMessage * | wpas_dbus_iface_disconnect (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_enable_network (DBusMessage *message, struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) |
DBusMessage * | wpas_dbus_iface_get_scanning (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_get_state (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_remove_blobs (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_remove_network (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_scan (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_scan_results (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_select_network (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_set_ap_scan (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_set_blobs (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_iface_set_network (DBusMessage *message, struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) |
DBusMessage * | wpas_dbus_iface_set_smartcard_modules (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage * | wpas_dbus_new_invalid_opts_error (DBusMessage *message, const char *arg) |
DBusMessage * | wpas_dbus_new_success_reply (DBusMessage *message) |
Variables | |
static const char * | dont_quote [] |
int | wpa_debug_level |
int | wpa_debug_show_keys |
int | wpa_debug_timestamp |
static dbus_bool_t should_quote_opt | ( | const char * | key | ) | [static] |
Definition at line 892 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_bssid_properties | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s, | |||
struct wpa_bss * | bss | |||
) |
wpas_dbus_bssid_properties - Return the properties of a scanned network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface : wpa_supplicant scan result for which to get properties Returns: a dbus message containing the properties for the requested network
Handler function for "properties" method call of a scanned network. Returns a dbus message containing the the properties.
Definition at line 403 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_global_add_interface | ( | DBusMessage * | message, | |
struct wpa_global * | global | |||
) |
wpas_dbus_global_add_interface - Request registration of a network interface : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: The object path of the new interface object, or a dbus error message with more information
Handler function for "addInterface" method call. Handles requests by dbus clients to register a network interface that wpa_supplicant will manage.
Definition at line 92 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_global_get_interface | ( | DBusMessage * | message, | |
struct wpa_global * | global | |||
) |
wpas_dbus_global_get_interface - Get the object path for an interface name : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: The object path of the interface object, or a dbus error message with more information
Handler function for "getInterface" method call. Handles requests by dbus clients for the object path of an specific network interface.
Definition at line 256 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_global_remove_interface | ( | DBusMessage * | message, | |
struct wpa_global * | global | |||
) |
wpas_dbus_global_remove_interface - Request deregistration of an interface : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: a dbus message containing a UINT32 indicating success (1) or failure (0), or returns a dbus error message with more information
Handler function for "removeInterface" method call. Handles requests by dbus clients to deregister a network interface that wpa_supplicant currently manages.
Definition at line 212 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_global_set_debugparams | ( | DBusMessage * | message, | |
struct wpa_global * | global | |||
) |
wpas_dbus_global_set_debugparams- Set the debug params : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: a dbus message containing a UINT32 indicating success (1) or failure (0), or returns a dbus error message with more information
Handler function for "setDebugParams" method call. Handles requests by dbus clients for the object path of an specific network interface.
Definition at line 298 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_add_network | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_add_network - Add a new configured network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing the object path of the new network
Handler function for "addNetwork" method call of a network interface.
Definition at line 786 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_capabilities | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_capabilities - Return interface capabilities : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a dict of strings
Handler function for "capabilities" method call of an interface.
Definition at line 498 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_disable_network | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s, | |||
struct wpa_ssid * | ssid | |||
) |
wpas_dbus_iface_disable_network - Mark a configured network as disabled : Pointer to incoming dbus message : wpa_supplicant structure for a network interface : wpa_ssid structure for a configured network Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "disable" method call of a configured network.
Definition at line 1051 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_disconnect | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_disconnect - Terminate the current connection : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "disconnect" method call of network interface.
Definition at line 1140 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_enable_network | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s, | |||
struct wpa_ssid * | ssid | |||
) |
wpas_dbus_iface_enable_network - Mark a configured network as enabled : Pointer to incoming dbus message : wpa_supplicant structure for a network interface : wpa_ssid structure for a configured network Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "enable" method call of a configured network.
Definition at line 1032 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_get_scanning | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_get_scanning - Get interface scanning state : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing whether the interface is scanning
Handler function for "scanning" method call.
Definition at line 1289 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_get_state | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_get_state - Get interface state : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a STRING representing the current interface state
Handler function for "state" method call.
Definition at line 1264 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_remove_blobs | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_remove_blob - Remove named binary blobs : Pointer to incoming dbus message : wpa_supplicant data structure Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Asks wpa_supplicant to remove one or more previously stored binary blobs.
Definition at line 1403 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_remove_network | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_remove_network - Remove a configured network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "removeNetwork" method call of a network interface.
Definition at line 828 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_scan | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_scan - Request a wireless scan on an interface : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: a dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "scan" method call of a network device. Requests that wpa_supplicant perform a wireless scan as soon as possible on a particular wireless interface.
Definition at line 337 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_scan_results | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_scan_results - Get the results of a recent scan request : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: a dbus message containing a dbus array of objects paths, or returns a dbus error message if not scan results could be found
Handler function for "scanResults" method call of a network device. Returns a dbus message containing the object paths of wireless networks found.
Definition at line 356 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_select_network | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_select_network - Attempt association with a configured network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "selectNetwork" method call of network interface.
Definition at line 1069 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_set_ap_scan | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_set_ap_scan - Control roaming mode : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "setAPScan" method call.
Definition at line 1159 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_set_blobs | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_set_blobs - Store named binary blobs (ie, for certificates) : Pointer to incoming dbus message : wpa_supplicant data structure Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Asks wpa_supplicant to internally store a one or more binary blobs.
Definition at line 1317 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_set_network | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s, | |||
struct wpa_ssid * | ssid | |||
) |
wpas_dbus_iface_set_network - Set options for a configured network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface : wpa_ssid structure for a configured network Returns: a dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "set" method call of a configured network.
Definition at line 914 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_iface_set_smartcard_modules | ( | DBusMessage * | message, | |
struct wpa_supplicant * | wpa_s | |||
) |
wpas_dbus_iface_set_smartcard_modules - Set smartcard related module paths : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a UINT32 indicating success (1) or failure (0)
Handler function for "setSmartcardModules" method call.
Definition at line 1192 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_new_invalid_opts_error | ( | DBusMessage * | message, | |
const char * | arg | |||
) |
wpas_dbus_new_invalid_opts_error - Return a new invalid options error message : Pointer to incoming dbus message this error refers to Returns: a dbus error message
Convenience function to create and return an invalid options error
Definition at line 45 of file dbus_old_handlers.c.
DBusMessage* wpas_dbus_new_success_reply | ( | DBusMessage * | message | ) |
wpas_dbus_new_success_reply - Return a new success reply message : Pointer to incoming dbus message this reply refers to Returns: a dbus message containing a single UINT32 that indicates success (ie, a value of 1)
Convenience function to create and return a success reply message
Definition at line 69 of file dbus_old_handlers.c.
const char* dont_quote[] [static] |
{ "key_mgmt", "proto", "pairwise", "auth_alg", "group", "eap", "opensc_engine_path", "pkcs11_engine_path", "pkcs11_module_path", "bssid", NULL }
Definition at line 885 of file dbus_old_handlers.c.
int wpa_debug_level |
Definition at line 29 of file wpa_debug.c.
Definition at line 30 of file wpa_debug.c.
Definition at line 31 of file wpa_debug.c.