"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/test-utils.h" between
dbus-1.13.12.tar.xz and dbus-1.13.14.tar.xz

About: D-Bus is an inter-process communication (IPC) system, allowing multiple, concurrently-running applications to communicate with one another. D-Bus supplies both a system daemon and a per-user-login-session daemon. Development version.

test-utils.h  (dbus-1.13.12.tar.xz):test-utils.h  (dbus-1.13.14.tar.xz)
/* /*
* Copyright 2002-2008 Red Hat Inc. * Copyright 2002-2009 Red Hat Inc.
* Copyright 2011-2017 Collabora Ltd. * Copyright 2011-2017 Collabora Ltd.
* Copyright 2017 Endless Mobile, Inc.
* *
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
* *
* Permission is hereby granted, free of charge, to any person * Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation files * obtaining a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction, * (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, * including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software, * publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so, * and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions: * subject to the following conditions:
skipping to change at line 40 skipping to change at line 41
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <dbus/dbus.h> #include <dbus/dbus.h>
#include <dbus/dbus-mainloop.h> #include <dbus/dbus-mainloop.h>
#include <dbus/dbus-internals.h> #include <dbus/dbus-internals.h>
#include <dbus/dbus-types.h> #include <dbus/dbus-types.h>
#include "dbus/dbus-test-tap.h"
typedef DBusLoop TestMainContext; typedef DBusLoop TestMainContext;
_DBUS_WARN_UNUSED_RESULT _DBUS_WARN_UNUSED_RESULT
TestMainContext *test_main_context_get (void); TestMainContext *test_main_context_get (void);
_DBUS_WARN_UNUSED_RESULT _DBUS_WARN_UNUSED_RESULT
TestMainContext *test_main_context_try_get (void); TestMainContext *test_main_context_try_get (void);
TestMainContext *test_main_context_ref (TestMainContext *ctx); TestMainContext *test_main_context_ref (TestMainContext *ctx);
void test_main_context_unref (TestMainContext *ctx); void test_main_context_unref (TestMainContext *ctx);
void test_main_context_iterate (TestMainContext *ctx, void test_main_context_iterate (TestMainContext *ctx,
dbus_bool_t may_block); dbus_bool_t may_block);
skipping to change at line 99 skipping to change at line 102
void (*test_post_hook) (void)); void (*test_post_hook) (void));
_DBUS_WARN_UNUSED_RESULT _DBUS_WARN_UNUSED_RESULT
dbus_bool_t _dbus_test_append_different_uid (DBusString *uid); dbus_bool_t _dbus_test_append_different_uid (DBusString *uid);
#ifdef DBUS_UNIX #ifdef DBUS_UNIX
_DBUS_WARN_UNUSED_RESULT _DBUS_WARN_UNUSED_RESULT
dbus_bool_t _dbus_test_append_different_username (DBusString *username); dbus_bool_t _dbus_test_append_different_username (DBusString *username);
#endif #endif
typedef struct DBusInitialFDs DBusInitialFDs;
DBusInitialFDs *_dbus_check_fdleaks_enter (void);
void _dbus_check_fdleaks_leave (DBusInitialFDs *fds,
const char *context);
#endif #endif
 End of changes. 4 change blocks. 
1 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)