+2003-01-28 Havoc Pennington <hp@pobox.com>
+
+ * dbus/dbus-server-debug.c: Add doc section comments
+
+ * dbus/dbus-transport-debug.c: add doc section comments
+
2003-01-28 Havoc Pennington <hp@redhat.com>
* dbus/dbus-string.c (_dbus_string_base64_decode): append bytes in
#ifdef DBUS_BUILD_TESTS
+/**
+ * @defgroup DBusServerDebug DBusServerDebug
+ * @ingroup DBusInternals
+ * @brief In-process debug server used in unit tests.
+ *
+ * Types and functions related to DBusServerDebug.
+ * This is used for unit testing.
+ *
+ * @{
+ */
+
#define DEFAULT_INTERVAL 10
typedef struct DBusServerDebug DBusServerDebug;
char *name; /**< Server name. */
};
+/* Not thread safe, but OK since we don't use
+ * threads in the bus
+ */
static DBusHashTable *server_hash;
static void
if (!_dbus_server_add_timeout (server, timeout))
{
- _dbus_timeout_unref (timeout);
-
+ _dbus_timeout_unref (timeout);
return FALSE;
}
return TRUE;
}
+/** @} */
+
#endif /* DBUS_BUILD_TESTS */
#ifdef DBUS_BUILD_TESTS
+/**
+ * @defgroup DBusTransportDebug DBusTransportDebug
+ * @ingroup DBusInternals
+ * @brief In-process debug transport used in unit tests.
+ *
+ * Types and functions related to DBusTransportDebug.
+ * This is used for unit testing.
+ *
+ * @{
+ */
#define DEFAULT_INTERVAL 10
return (DBusTransport *)debug_transport;
}
+/** @} */
+
#endif /* DBUS_BUILD_TESTS */