dbus_new_handlers.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bss_handler_args
struct  network_handler_args

Functions

DBusMessage * wpas_dbus_error_invalid_args (DBusMessage *message, const char *arg)
DBusMessage * wpas_dbus_error_unknown_error (DBusMessage *message, const char *arg)
DBusMessage * wpas_dbus_getter_ap_scan (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_blobs (DBusMessage *message, struct wpa_supplicant *bss)
DBusMessage * wpas_dbus_getter_bridge_ifname (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_bss_bssid (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_frequency (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_ies (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_mode (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_privacy (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_rates (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_rsn (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_signal (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_ssid (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bss_wpa (DBusMessage *message, struct bss_handler_args *bss)
DBusMessage * wpas_dbus_getter_bsss (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_capabilities (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_credentials (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_current_bss (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_current_network (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_debug_level (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_getter_debug_show_keys (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_getter_debug_timestamp (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_getter_driver (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_eap_methods (DBusMessage *message, void *nothing)
DBusMessage * wpas_dbus_getter_enabled (DBusMessage *message, struct network_handler_args *net)
DBusMessage * wpas_dbus_getter_ifname (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_interfaces (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_getter_network_properties (DBusMessage *message, struct network_handler_args *net)
DBusMessage * wpas_dbus_getter_networks (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_process_credentials (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_scanning (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_getter_state (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_add_blob (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_add_network (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_create_interface (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_handler_disconnect (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_get_blob (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_get_interface (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_handler_remove_blob (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_remove_interface (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_handler_remove_network (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_scan (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_select_network (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_handler_wps_start (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_setter_ap_scan (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_setter_debug_level (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_setter_debug_show_keys (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_setter_debug_timestamp (DBusMessage *message, struct wpa_global *global)
DBusMessage * wpas_dbus_setter_enabled (DBusMessage *message, struct network_handler_args *net)
DBusMessage * wpas_dbus_setter_network_properties (DBusMessage *message, struct network_handler_args *net)
DBusMessage * wpas_dbus_setter_process_credentials (DBusMessage *message, struct wpa_supplicant *wpa_s)
DBusMessage * wpas_dbus_simple_array_property_getter (DBusMessage *message, const int type, const void *array, size_t array_len)
DBusMessage * wpas_dbus_simple_property_getter (DBusMessage *message, const int type, const void *val)
DBusMessage * wpas_dbus_simple_property_setter (DBusMessage *message, const int type, void *val)

Function Documentation

DBusMessage* wpas_dbus_error_invalid_args ( DBusMessage *  message,
const char *  arg 
)

wpas_dbus_error_invalid_args - Return a new InvalidArgs 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 162 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_error_unknown_error ( DBusMessage *  message,
const char *  arg 
)

wpas_dbus_error_unknown_error - Return a new InvalidArgs error message : Pointer to incoming dbus message this error refers to

  • : Optional string appended to error message Returns: a dbus error message

Convenience function to create and return an UnknownError

Definition at line 117 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_ap_scan ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_ap_scan - Control roaming mode : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A message containong value of ap_scan variable

Getter function for "ApScan" property.

Definition at line 2034 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_blobs ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_blobs - Get all blobs defined for this interface : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: a dbus message containing a dictionary of pairs (blob_name, blob)

Getter for "Blobs" property.

Definition at line 2318 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bridge_ifname ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_bridge_ifname - Get interface name : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a name of bridge network interface associated with with wpa_s

Getter for "BridgeIfname" property.

Definition at line 2183 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_bssid ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_bssid - Return the BSSID of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing the bssid for the requested bss

Getter for "BSSID" property.

Definition at line 2392 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_frequency ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_frequency - Return the frequency of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing the frequency of requested bss

Getter for "Frequency" property.

Definition at line 2521 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_ies ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_ies - Return all IEs of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing IEs byte array

Getter for "IEs" property.

Definition at line 2772 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_mode ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_mode - Return the mode of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing the mode of requested bss

Getter for "Mode" property.

Definition at line 2467 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_privacy ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_privacy - Return the privacy flag of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing the privacy flag value of requested bss

Getter for "Privacy" property.

Definition at line 2441 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_rates ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_rates - Return available bit rates of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing sorted array of bit rates

Getter for "Rates" property.

Definition at line 2551 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_rsn ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_rsn - Return the RSN options of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing the RSN options of requested bss

Getter for "RSN" property.

Definition at line 2742 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_signal ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_level - Return the signal strength of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing the signal strength of requested bss

Getter for "Level" property.

Definition at line 2497 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_ssid ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_ssid - Return the SSID of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing the ssid for the requested bss

Getter for "SSID" property.

Definition at line 2416 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bss_wpa ( DBusMessage *  message,
struct bss_handler_args bss 
)

wpas_dbus_getter_bss_wpa - Return the WPA options of a BSS : Pointer to incoming dbus message : a pair of interface describing structure and bss's id Returns: a dbus message containing the WPA options of requested bss

Getter for "WPA" property.

Definition at line 2712 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_bsss ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_bsss - Get array of BSSs objects : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: a dbus message containing an array of all known BSS objects dbus paths

Getter for "BSSs" property.

Definition at line 2209 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_capabilities ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_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

Getter for "Capabilities" property of an interface.

Definition at line 1668 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_credentials ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)
DBusMessage* wpas_dbus_getter_current_bss ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_current_bss - Get current bss object path : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a DBus object path to current BSS

Getter for "CurrentBSS" property.

Definition at line 2123 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_current_network ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_current_network - Get current network object path : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a DBus object path to current network

Getter for "CurrentNetwork" property.

Definition at line 2153 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_debug_level ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_getter_debug_level - Get debug level : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: DBus message with value of debug level

Getter for "DebugLevel" property.

Definition at line 715 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_debug_show_keys ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_getter_debug_show_keys - Get debug show keys : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: DBus message with value of debug show_keys

Getter for "DebugShowKeys" property.

Definition at line 755 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_debug_timestamp ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_getter_debug_timestamp - Get debug timestamp : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: DBus message with value of debug timestamp

Getter for "DebugTimestamp" property.

Definition at line 738 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_driver ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_driver - Get interface name : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a name of network interface driver associated with with wpa_s

Getter for "Driver" property.

Definition at line 2097 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_eap_methods ( DBusMessage *  message,
void *  nothing 
)

wpas_dbus_getter_eap_methods - Request supported EAP methods list : Pointer to incoming dbus message : not used argument. may be NULL or anything else Returns: The object paths array containing supported EAP methods represented by strings or DBus error on failure

Getter for "EapMethods" property. Handles requests by dbus clients to return list of strings with supported EAP methods

Definition at line 904 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_enabled ( DBusMessage *  message,
struct network_handler_args net 
)

wpas_dbus_getter_enabled - Check whether network is enabled or disabled : Pointer to incoming dbus message : wpa_supplicant structure for a network interface and wpa_ssid structure for a configured network Returns: DBus message with boolean indicating state of configured network or DBus error on failure

Getter for "enabled" property of a configured network.

Definition at line 2798 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_ifname ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_ifname - Get interface name : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: A dbus message containing a name of network interface associated with with wpa_s

Getter for "Ifname" property.

Definition at line 2079 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_interfaces ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_getter_interfaces - Request registered interfaces list : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: The object paths array containing registered interfaces objects paths or DBus error on failure

Getter for "Interfaces" property. Handles requests by dbus clients to return list of registered interfaces objects paths

Definition at line 865 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_network_properties ( DBusMessage *  message,
struct network_handler_args net 
)

wpas_dbus_getter_network_properties - Get options for a configured network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface and wpa_ssid structure for a configured network Returns: DBus message with network properties or DBus error on failure

Getter for "Properties" property of a configured network.

Definition at line 2853 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_networks ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_networks - Get array of networks objects : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: a dbus message containing an array of all configured networks dbus object paths.

Getter for "Networks" property.

Definition at line 2259 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_process_credentials ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_process_credentials - Check if credentials are processed : Pointer to incoming dbus message : wpa_supplicant data structure Returns: DBus message with a boolean on success or DBus error on failure

Getter for "ProcessCredentials" property. Returns returned boolean will be true if wps_cred_processing configuration field is not equal to 1 or false if otherwise.

Definition at line 292 of file dbus_new_handlers_wps.c.

DBusMessage* wpas_dbus_getter_scanning ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_new_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

Getter for "scanning" property.

Definition at line 2017 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_getter_state ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_getter_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

Getter for "State" property.

Definition at line 1979 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_add_blob ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_handler_add_blob - Store named binary blob (ie, for certificates) : Pointer to incoming dbus message : wpa_supplicant data structure Returns: A dbus message containing an error on failure or NULL on success

Asks wpa_supplicant to internally store a binary blobs.

Definition at line 1503 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_add_network ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_new_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 1321 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_create_interface ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_handler_create_interface - Request registration of a network iface : 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 "CreateInterface" method call. Handles requests by dbus clients to register a network interface that wpa_supplicant will manage.

Definition at line 547 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_disconnect ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

Definition at line 1298 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_get_blob ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_handler_get_blob - Get named binary blob (ie, for certificates) : Pointer to incoming dbus message : wpa_supplicant data structure Returns: A dbus message containing array of bytes (blob)

Gets one wpa_supplicant's binary blobs.

Definition at line 1574 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_get_interface ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_handler_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.

Definition at line 676 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_remove_blob ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_remove_handler_remove_blob - Remove named binary blob : Pointer to incoming dbus message : wpa_supplicant data structure Returns: NULL on success or dbus error

Asks wpa_supplicant to internally remove a binary blobs.

Definition at line 1639 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_remove_interface ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_handler_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 644 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_remove_network ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_handler_remove_network - Remove a configured network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: NULL on success or dbus error on failure

Handler function for "RemoveNetwork" method call of a network interface.

Definition at line 1391 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_scan ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_handler_scan - Request a wireless scan on an interface : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: NULL indicating success or DBus error message on failure

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 1199 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_select_network ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_handler_select_network - Attempt association with a network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: NULL on success or dbus error on failure

Handler function for "SelectNetwork" method call of network interface.

Definition at line 1453 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_handler_wps_start ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_handler_wps_start - Start WPS configuration : Pointer to incoming dbus message : wpa_supplicant data structure Returns: DBus message dictionary on success or DBus error on failure

Handler for "Start" method call. DBus dictionary argument contains information about role (enrollee or registrar), authorization method (pin or push button) and optionally pin and bssid. Returned message has a dictionary argument which may contain newly generated pin (optional).

Definition at line 186 of file dbus_new_handlers_wps.c.

DBusMessage* wpas_dbus_setter_ap_scan ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_setter_ap_scan - Control roaming mode : Pointer to incoming dbus message : wpa_supplicant structure for a network interface Returns: NULL

Setter function for "ApScan" property.

Definition at line 2051 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_setter_debug_level ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_setter_debug_level - Set debug level : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: NULL or DBus error message

Setter for "DebugLevel" property.

Definition at line 771 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_setter_debug_show_keys ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_setter_debug_show_keys - Set debug show keys : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: NULL or DBus error message

Setter for "DebugShowKeys" property.

Definition at line 835 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_setter_debug_timestamp ( DBusMessage *  message,
struct wpa_global global 
)

wpas_dbus_setter_debug_timestamp - Set debug timestamp : Pointer to incoming dbus message : wpa_supplicant global data structure Returns: NULL or DBus error message

Setter for "DebugTimestamp" property.

Definition at line 809 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_setter_enabled ( DBusMessage *  message,
struct network_handler_args net 
)

wpas_dbus_setter_enabled - Mark a configured network as enabled or disabled : Pointer to incoming dbus message : wpa_supplicant structure for a network interface and wpa_ssid structure for a configured network Returns: NULL indicating success or DBus error on failure

Setter for "Enabled" property of a configured network.

Definition at line 2816 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_setter_network_properties ( DBusMessage *  message,
struct network_handler_args net 
)

wpas_dbus_setter_network_properties - Set options for a configured network : Pointer to incoming dbus message : wpa_supplicant structure for a network interface and wpa_ssid structure for a configured network Returns: NULL indicating success or DBus error on failure

Setter for "Properties" property of a configured network.

Definition at line 2927 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_setter_process_credentials ( DBusMessage *  message,
struct wpa_supplicant wpa_s 
)

wpas_dbus_setter_process_credentials - Set credentials_processed conf param : Pointer to incoming dbus message : wpa_supplicant data structure Returns: NULL on success or DBus error on failure

Setter for "ProcessCredentials" property. Sets credentials_processed on 2 if boolean argument is true or on 1 if otherwise.

Definition at line 310 of file dbus_new_handlers_wps.c.

DBusMessage* wpas_dbus_simple_array_property_getter ( DBusMessage *  message,
const int  type,
const void *  array,
size_t  array_len 
)

wpas_dbus_simple_array_property_getter - Get array type property : Pointer to incoming dbus message : DBus type of property array elements (must be basic type) : pointer to array of elements to put into response message : length of above array Returns: The DBus message containing response for Properties.Get call or DBus error message if error occurred.

Generic getter for array type properties. Array elements type is required to be basic.

Definition at line 438 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_simple_property_getter ( DBusMessage *  message,
const int  type,
const void *  val 
)

wpas_dbus_simple_property_getter - Get basic type property : Pointer to incoming dbus message : DBus type of property (must be basic type) : pointer to place holding property value Returns: The DBus message containing response for Properties.Get call or DBus error message if error occurred.

Generic getter for basic type properties. Type is required to be basic.

Definition at line 337 of file dbus_new_handlers.c.

DBusMessage* wpas_dbus_simple_property_setter ( DBusMessage *  message,
const int  type,
void *  val 
)

wpas_dbus_simple_property_setter - Set basic type property : Pointer to incoming dbus message : DBus type of property (must be basic type) : pointer to place where value being set will be stored Returns: NULL or DBus error message if error occurred.

Generic setter for basic type properties. Type is required to be basic.

Definition at line 391 of file dbus_new_handlers.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:04:17 2013