1 #ifndef TEST_UTILS_H 2 #define TEST_UTILS_H 3 #include <config.h> 4 #define DBUS_COMPILATION /* Cheat and use private stuff */ 5 #include <dbus/dbus.h> 6 #include <stdio.h> 7 #include <stdlib.h> 8 #include <dbus/dbus-mainloop.h> 9 #include <dbus/dbus-internals.h> 10 #undef DBUS_COMPILATION 11 12 dbus_bool_t test_connection_setup (DBusLoop *loop, 13 DBusConnection *connection); 14 void test_connection_shutdown (DBusLoop *loop, 15 DBusConnection *connection); 16 void test_connection_dispatch_all_messages (DBusConnection *connection); 17 dbus_bool_t test_connection_dispatch_one_message (DBusConnection *connection); 18 19 20 #endif 21