summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-03-15 04:25:09 +0000
committerHavoc Pennington <hp@redhat.com>2003-03-15 04:25:09 +0000
commit169238e99a4a163c89eb053250daeedf5f73e5cd (patch)
tree4b8f9af81765077fd9a227bae974924d905f182f /dbus/dbus-sysdeps.h
parent4c95a9782c65f88e2904c44abeb734a1b00f6353 (diff)
2003-03-14 Havoc Pennington <hp@pobox.com>
* bus/dispatch.c (bus_dispatch_test): do test using debug-pipe transport, tests more of the real codepath. Set up clients with bus_setup_debug_client. * bus/test.c (bus_setup_debug_client): function to set up debug "clients" on the main loop * dbus/dbus-transport.c (_dbus_transport_open): add debug-pipe support * dbus/dbus-server.c (dbus_server_listen): add debug-pipe server type * dbus/dbus-server-debug.c: support a debug server based on pipes * dbus/dbus-sysdeps.c (_dbus_full_duplex_pipe): new function (_dbus_close): new function * configure.in: check for socketpair
Diffstat (limited to 'dbus/dbus-sysdeps.h')
-rw-r--r--dbus/dbus-sysdeps.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h
index f1ac47c8..8cd62207 100644
--- a/dbus/dbus-sysdeps.h
+++ b/dbus/dbus-sysdeps.h
@@ -196,9 +196,14 @@ typedef struct
unsigned long ctime;
} DBusStat;
-dbus_bool_t _dbus_stat (const DBusString *filename,
- DBusStat *statbuf,
- DBusError *error);
+dbus_bool_t _dbus_stat (const DBusString *filename,
+ DBusStat *statbuf,
+ DBusError *error);
+dbus_bool_t _dbus_full_duplex_pipe (int *fd1,
+ int *fd2,
+ DBusError *error);
+dbus_bool_t _dbus_close (int fd,
+ DBusError *error);
DBUS_END_DECLS;