diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-09-06 21:16:12 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-09-06 21:16:12 +0000 |
commit | 61316dd897846c6ee18daccdddaf8a78650a1406 (patch) | |
tree | 9054cac6119a0608661a305b2fae65729e88a375 /bus/driver.h | |
parent | e4f3d0ca17e2b43e5f921dd6b09c3648cbb3ba63 (diff) |
* bus/driver.c:
(bus_driver_generate_introspect_string): New method for populating
a DBusString with the introspect data
(bus_driver_handle_introspect): Move introspect generation code to
bus_driver_generate_introspect_string
* bus/main.c:
(introspect): New function which prints out the intropect data and
exits
(main): Add a --introspect switch
Diffstat (limited to 'bus/driver.h')
-rw-r--r-- | bus/driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bus/driver.h b/bus/driver.h index bc430520..39bff672 100644 --- a/bus/driver.h +++ b/bus/driver.h @@ -45,5 +45,8 @@ dbus_bool_t bus_driver_send_service_owner_changed (const char *service_name const char *new_owner, BusTransaction *transaction, DBusError *error); +dbus_bool_t bus_driver_generate_introspect_string (DBusString *xml); + + #endif /* BUS_DRIVER_H */ |