wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Functions
dbus_new_introspect.c File Reference

wpa_supplicant - D-Bus introspection Copyright (c) 2009, Witold Sowa witol.nosp@m.d.so.nosp@m.wa@gm.nosp@m.ail..nosp@m.com Copyright (c) 2010, Jouni Malinen j@w1..nosp@m.fi More...

#include "utils/includes.h"
#include "utils/common.h"
#include "utils/list.h"
#include "utils/wpabuf.h"
#include "dbus_common_i.h"
#include "dbus_new_helpers.h"

Data Structures

struct  interfaces
 

Functions

DBusMessage * wpa_dbus_introspect (DBusMessage *message, struct wpa_dbus_object_desc *obj_dsc)
 Responds for Introspect calls on object. More...
 

Detailed Description

wpa_supplicant - D-Bus introspection Copyright (c) 2009, Witold Sowa witol.nosp@m.d.so.nosp@m.wa@gm.nosp@m.ail..nosp@m.com Copyright (c) 2010, Jouni Malinen j@w1..nosp@m.fi

Function Documentation

DBusMessage* wpa_dbus_introspect ( DBusMessage *  message,
struct wpa_dbus_object_desc obj_dsc 
)

Responds for Introspect calls on object.

Parameters
messageMessage with Introspect call
obj_dscObject description on which Introspect was called
Returns
Message with introspection result XML string as only argument

Iterates over all methods, signals and properties registered with object and generates introspection data for the object as XML string.