mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-08 10:30:20 +01:00
* test/echo-client.c, test/echo-server.c: cheesy test clients. * configure.in (AC_CHECK_FUNCS): check for writev * dbus/dbus-message.c (_dbus_message_get_network_data): new function * dbus/dbus-list.c (_dbus_list_foreach): new function * dbus/dbus-internals.c (_dbus_verbose): new function * dbus/dbus-server.c, dbus/dbus-server.h: public object representing a server that listens for connections. * dbus/.cvsignore: create * dbus/dbus-errors.h, dbus/dbus-errors.c: public API for reporting errors * dbus/dbus-connection.h, dbus/dbus-connection.c: public object representing a connection that sends/receives messages. (Same object used for both client and server.) * dbus/dbus-transport.h, dbus/dbus-transport.c: Basic abstraction for different kinds of stream that we might read/write messages from.
15 lines
272 B
C
15 lines
272 B
C
/* Cheesy main loop thingy used by the test programs */
|
|
|
|
#ifndef WATCH_H
|
|
#define WATCH_H
|
|
|
|
#include <dbus/dbus.h>
|
|
|
|
void do_mainloop (void);
|
|
|
|
void quit_mainloop (void);
|
|
|
|
void setup_connection (DBusConnection *connection);
|
|
void setup_server (DBusServer *server);
|
|
|
|
#endif
|