summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-internals.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-02-19 03:53:24 +0000
committerHavoc Pennington <hp@redhat.com>2003-02-19 03:53:24 +0000
commitc21511c01ab56d75f3aa4643761e9fd096a7f8be (patch)
tree7a0542dd8d02b8fd8e98e42409b1bf42564d32c0 /dbus/dbus-internals.h
parent78e16e99e753175fa49e787eab256932eefaa03f (diff)
2003-02-19 Havoc Pennington <hp@pobox.com>
Throughout: mop up all the Doxygen warnings and undocumented stuff. * dbus/dbus-sysdeps.c (do_exec): do not use execvp, we don't want to search any paths. * dbus/dbus-threads.c: move global mutex initializers to dbus-internals.h, multiple prototypes was confusing doxygen besides being kind of ugly * Doxyfile (PREDEFINED): have Doxygen define DOXYGEN_SHOULD_SKIP_THIS so we can exclude things from docs with #ifndef DOXYGEN_SHOULD_SKIP_THIS (do not abuse the feature! it's for stuff like the autogenerated macros in dbus-md5.c, not just for things you don't feel like documenting...)
Diffstat (limited to 'dbus/dbus-internals.h')
-rw-r--r--dbus/dbus-internals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dbus/dbus-internals.h b/dbus/dbus-internals.h
index 26661564..9f9cba85 100644
--- a/dbus/dbus-internals.h
+++ b/dbus/dbus-internals.h
@@ -33,6 +33,7 @@
#include <dbus/dbus-types.h>
#include <dbus/dbus-errors.h>
#include <dbus/dbus-sysdeps.h>
+#include <dbus/dbus-threads.h>
DBUS_BEGIN_DECLS;
@@ -153,6 +154,12 @@ dbus_bool_t _dbus_decrement_fail_alloc_counter (void);
#define _dbus_decrement_fail_alloc_counter() FALSE
#endif /* !DBUS_BUILD_TESTS */
+/* Thread initializers */
+DBusMutex *_dbus_list_init_lock (void);
+DBusMutex *_dbus_allocated_slots_init_lock (void);
+DBusMutex *_dbus_atomic_init_lock (void);
+DBusMutex *_dbus_message_handler_init_lock (void);
+
DBUS_END_DECLS;
#endif /* DBUS_INTERNALS_H */