summaryrefslogtreecommitdiff
path: root/test/use-as-subproject/use-libdbus.c
blob: 3acbde1c3c723efb219afcedf98a80dbc061d424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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;
}