path: root/wpa_supplicant/dbus/dbus_new_introspect.c
Commit message (Collapse)AuthorAgeFilesLines
* dbus: Expose interface globals via D-Bus propertiesDan Williams2015-10-281-2/+2
| | | | | | | All interface globals are now exposed as D-Bus properties of type string, and parsed via the normal interface global parsing functions. Signed-off-by: Dan Williams <dcbw@redhat.com>
* D-Bus: Add InvitationReceived SignalManeesh Jain2015-09-271-1/+1
| | | | | | | | This is equivalent to the P2P_EVENT_INVITATION_RECEIVED signal on the control interface. It can be used to sent the Invitation Received signal to applications written using D-Bus. Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
* D-Bus: Fix Introspect() in case of os_strdup() failureJouni Malinen2015-01-071-2/+4
| | | | | | | add_interface() did not check for os_strdup() return value and could end up dereferencing a NULL pointer if memory allocation failed. Signed-off-by: Jouni Malinen <j@w1.fi>
* D-Bus: Coding style cleanupJouni Malinen2015-01-021-3/+8
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* Update license notification in D-Bus interface filesJouni Malinen2012-07-021-8/+2
| | | | | | | | This updates these files to use the license notification that uses only the BSD license. The changes were acknowledged by email (Dan Williams <dcbw@redhat.com>, Sun, 01 Jul 2012 15:53:36 -0500). Signed-hostap: Jouni Malinen <j@w1.fi>
* dbus: Increase buffer size to fix Introspect XMLJouni Malinen2011-12-311-1/+7
| | | | | | | | | | | Commit e9c3c1afedd2d0c6a0939f40c40701af8c450e1f added a new D-Bus method and that was enough to push the Introspect XML buffer over the previously allocated 8000 bytes. Increase the buffer size to make enough room for P2P interface. In addition, add a debug message to indicate if an XML segment does not fit into the buffer to make this types of failures somewhat easier to catch. Signed-hostap: Jouni Malinen <j@w1.fi>
* dbus: Remove separate access variable from propertiesJouni Malinen2011-08-071-3/+4
| | | | | | The read, write, read-write permissions can be figured out from getter/setter function pointers, so there is no need for maintaining that information separately.
* DBus: Increase introspection buffer sizesJohannes Berg2011-02-021-2/+2
| | | | | | | The P2P additions will add more data so that the current buffers aren't big enough. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* dbus: Remove duplication of object methods/signals/propertiesJouni Malinen2010-01-021-20/+20
| | | | | | | | | There is no need to duplicate the method/signal/property arrays that were registered for objects. The registration was using static arrays on methods/signals/properties in all places and we can as well use those throughout without having to allocate memory and copy all the entries for every object. This reduces number of allocations and amount of unnecessary code quite a bit.
* dbus: Optimize introspection to use single pass for interfacesJouni Malinen2010-01-011-124/+76
| | | | | | | There is no need to go through methods, signals, and properties in two loops and only collect interfaces in the first run. Get rid of unnecessary CPU use by generating the XML data for interfaces with a single pass.
* dbus: Get rid of libxml2 dependency with introspectionJouni Malinen2010-01-011-321/+236
| | | | | | The XML used in D-Bus introspection is simple and there is no need to use libxml2 to generate it. This gets rid of the dependency on the large library by using internal XML generation.
* dbus: Split extract_interfaces() into helper functionsJouni Malinen2010-01-011-45/+55
* dbus: Cleanup and fix loopsJouni Malinen2010-01-011-68/+24
| | | | | | Simpler to use for loops instead of handling next pointer selection in all places. In addition, couple of functions could have ended up in an infinite loop on error path since the pointer update was missed.
* dbus: Use strdup instead of malloc+strncpyJouni Malinen2010-01-011-13/+4
* dbus: Move introspection support into a separate fileJouni Malinen2010-01-011-0/+454