dbus: Define priv argument for object rather than for method
authorWitold Sowa <witold.sowa@gmail.com>
Fri, 1 Jan 2010 09:33:41 +0000 (11:33 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 1 Jan 2010 09:33:41 +0000 (11:33 +0200)
commit1fa5995b514cb7daec3ec8b1df3a05a604dc45c4
tree005ea3be75f4b4041bc0c091b3d063f8961f719c
parentd84c8f1413965facc3602f322a4f2fd95eda8d97
dbus: Define priv argument for object rather than for method

We don't actually need to define separate user_data argument for
each method handler and property getter/setter. Instead, we can define
one argument for the whole object. That will make it easier to register
objects like BSS or Networks which require allocating and freeing
memory for their arguments.
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new_helpers.c
wpa_supplicant/dbus/dbus_new_helpers.h