dbus: Remove duplication of object methods/signals/properties
authorJouni Malinen <j@w1.fi>
Sat, 2 Jan 2010 22:52:30 +0000 (00:52 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 2 Jan 2010 22:52:30 +0000 (00:52 +0200)
commite90bd80cf5545601c91b237e378f3e9854bf6dcf
tree08ec4cecb7dbc792fb19398f129bbe27534f846c
parent3e87bd5478595af09d51bfe58ed166d2dfbb6b7b
dbus: Remove duplication of object methods/signals/properties

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.
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new_helpers.c
wpa_supplicant/dbus/dbus_new_helpers.h
wpa_supplicant/dbus/dbus_new_introspect.c