mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-20 08:00:11 +01:00
Test it's possible to consume libdbus as a subproject. Suggested-by: Simon McVittie <smcv@collabora.com> Signed-off-by: Daniel Wagner <dwagner@suse.de>
17 lines
292 B
C
17 lines
292 B
C
/*
|
|
* Copyright (c) 2023 SUSE LLC
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include <assert.h>
|
|
#include <dbus/dbus.h>
|
|
|
|
int main(void)
|
|
{
|
|
DBusMessage *m = NULL;
|
|
|
|
m = dbus_message_new_signal ("/", "com.example.Interface", "Signal");
|
|
assert (m != NULL);
|
|
dbus_message_unref (m);
|
|
return 0;
|
|
}
|