* nih/dbus.h: Add NihAsyncNotifyData struct for passing data to the DBusPendingCall callback. * nih/nih_dbus_tool.py (asyncDispatchPrototype): Remove useless in_args/out_args calculations and change arguments to use an NihAsyncNotifyData rather than just a function pointer. (asyncNotifyPrototype): Add userdata to callback prototype (asyncNotifyFunction): Remove useless in_args calculations and change arguments to use an NihAsyncNotifyData rather than just a function pointer. Also fix a double deref, and make reply arguments allocated as children of the proxy. (asyncDispatchFunction): Use NihAsyncNotifyData not a function pointer. (staticPrototypes): Move async notify function here (exportPrototypes): Remove async notify function from here * nih/tests/test_com.netsplit.Nih.Test_proxy.c: Add a testcase for async calls