summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-bus.h
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2005-09-26 18:49:53 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2005-09-26 18:49:53 +0000
commit9ad0aafe37b87ddc5d9e885df481b2331fbc5597 (patch)
tree5836adac2dd1278139a11ea0e9101943c49e216c /dbus/dbus-bus.h
parentcd883ae0436e0be1234cd0cde3c2e9a8b994d0e8 (diff)
* Integrate patches from Lennart Poettering <mzsqb at 0pointer.de>:
- dbus/dbus-bus.c (internal_bus_get): new method that take over the heavy lifting of dbus_bus_get and adds the ability to get a private connection to the bus (dbus_bus_get): wrapper to internal_bus_get that provides the same interface as in previous versions (dbus_bus_get_private): new method that is a wrapper to internal_bus_get to get a private connection to the bus - dbus/dbus-bus.h (dbus_bus_get_private): add as a public libdbus interface - dbus-1.pc.in: output system_bus_default_address and sysconfdir variables so apps can use them when compiling
Diffstat (limited to 'dbus/dbus-bus.h')
-rw-r--r--dbus/dbus-bus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/dbus-bus.h b/dbus/dbus-bus.h
index 7843c7ed..24470672 100644
--- a/dbus/dbus-bus.h
+++ b/dbus/dbus-bus.h
@@ -33,6 +33,9 @@ DBUS_BEGIN_DECLS
DBusConnection *dbus_bus_get (DBusBusType type,
DBusError *error);
+DBusConnection *dbus_bus_get_private (DBusBusType type,
+ DBusError *error);
+
dbus_bool_t dbus_bus_register (DBusConnection *connection,
DBusError *error);
dbus_bool_t dbus_bus_set_unique_name (DBusConnection *connection,