os/ossrv/ofdbus/dbus/tsrc/testapps/dbus_test_cases/test-utils.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /* Portion Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.*/
     2 #ifndef TEST_UTILS_H
     3 #define TEST_UTILS_H
     4 #ifndef __SYMBIAN32__
     5 #include <config.h>
     6 #else
     7 #include "config.h"
     8 #endif //__SYMBIAN32__
     9 #define DBUS_COMPILATION /* Cheat and use private stuff */
    10 #include <dbus/dbus.h>
    11 #include <stdio.h>
    12 #include <stdlib.h>
    13 #ifndef __SYMBIAN32__
    14 #include <dbus/dbus-mainloop.h>
    15 #include <dbus/dbus-internals.h>
    16 #else
    17 #include "dbus-mainloop.h"
    18 #include "dbus-internals.h"
    19 #endif //__SYMBIAN32__
    20 #undef DBUS_COMPILATION
    21 
    22 dbus_bool_t test_connection_setup                 (DBusLoop       *loop,
    23                                                    DBusConnection *connection);
    24 void        test_connection_shutdown              (DBusLoop       *loop,
    25                                                    DBusConnection *connection);
    26 void        test_connection_dispatch_all_messages (DBusConnection *connection);
    27 dbus_bool_t test_connection_dispatch_one_message  (DBusConnection *connection);
    28 
    29 
    30 #endif