summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2006-11-02 04:26:23 +0000
committerHavoc Pennington <hp@redhat.com>2006-11-02 04:26:23 +0000
commit524ddfcb34c2050f008a4797357c5c2abc48ca55 (patch)
treec3cd11b27b83c6e19cba82bc8b03b90e634d5606
parent5640f7a57b6c8b2e1847e99db412db3c41c9eb98 (diff)
2006-11-01 Havoc Pennington <hp@redhat.com>
* bus/dbus-daemon.1.in: document standard_session_servicedirs
-rw-r--r--ChangeLog4
-rw-r--r--bus/dbus-daemon.1.in21
-rw-r--r--dbus/dbus-sysdeps.h14
3 files changed, 33 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index cad03d59..853880b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-01 Havoc Pennington <hp@redhat.com>
+
+ * bus/dbus-daemon.1.in: document standard_session_servicedirs
+
2006-11-01 John (J5) Palmieri <johnp@redhat.com>
* configure.in: expose DBUS_DATADIR
diff --git a/bus/dbus-daemon.1.in b/bus/dbus-daemon.1.in
index 3eb016b9..2298bb75 100644
--- a/bus/dbus-daemon.1.in
+++ b/bus/dbus-daemon.1.in
@@ -247,6 +247,27 @@ They are primarily used with the per-user-session bus,
not the systemwide bus.
.TP
+.I "<standard_session_servicedirs/>"
+
+.PP
+<standard_session_servicedirs/> is equivalent to specifying a series
+of <servicedir/> elements for each of the data directories in the "XDG
+Base Directory Specification" with the subdirectory "dbus-1/services",
+so for example "/usr/share/dbus-1/services" would be among the
+directories searched.
+
+.PP
+The "XDG Base Directory Specification" can be found at
+http://freedesktop.org/wiki/Standards/basedir-spec if it hasn't moved,
+otherwise try your favorite search engine.
+
+.PP
+The <standard_session_servicedirs/> option is only relevant to the
+per-user-session bus daemon defined in
+@EXPANDED_SYSCONFDIR@/dbus-1/session.conf. Putting it in any other
+configuration file would probably be nonsense.
+
+.TP
.I "<limit>"
.PP
diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h
index e7b3eac0..2218cfc1 100644
--- a/dbus/dbus-sysdeps.h
+++ b/dbus/dbus-sysdeps.h
@@ -41,6 +41,14 @@
DBUS_BEGIN_DECLS
+/* Forward declarations */
+
+/** An opaque string type */
+typedef struct DBusString DBusString;
+
+/** An opaque list type */
+typedef struct DBusList DBusList;
+
/**
* @addtogroup DBusSysdeps
*
@@ -56,12 +64,6 @@ DBUS_BEGIN_DECLS
* dbus-memory.c)
*/
-/** An opaque string type */
-typedef struct DBusString DBusString;
-
-/** avoid circular includes with DBusList */
-typedef struct DBusList DBusList;
-
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
#define _DBUS_GNUC_PRINTF( format_idx, arg_idx ) \
__attribute__((__format__ (__printf__, format_idx, arg_idx)))