2006-11-01 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Thu, 2 Nov 2006 04:26:23 +0000 (04:26 +0000)
committerHavoc Pennington <hp@redhat.com>
Thu, 2 Nov 2006 04:26:23 +0000 (04:26 +0000)
* bus/dbus-daemon.1.in: document standard_session_servicedirs

ChangeLog
bus/dbus-daemon.1.in
dbus/dbus-sysdeps.h

index cad03d5..853880b 100644 (file)
--- 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
index 3eb016b..2298bb7 100644 (file)
@@ -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
index e7b3eac..2218cfc 100644 (file)
 
 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)))