dbus/dbus dbus-sysdeps-unix.c,1.19,1.20 dbus-sysdeps.h,1.68,1.69

Ralf Habacker rhabacker at kemper.freedesktop.org
Thu Mar 8 12:25:17 PST 2007


Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv16278/dbus

Modified Files:
	dbus-sysdeps-unix.c dbus-sysdeps.h 
Log Message:
* bus/bus.c, dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps.h: rename pipe related write() function calls to _dbus_write_pipe().

Index: dbus-sysdeps-unix.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-unix.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- dbus-sysdeps-unix.c	3 Mar 2007 10:36:45 -0000	1.19
+++ dbus-sysdeps-unix.c	8 Mar 2007 20:25:15 -0000	1.20
@@ -169,6 +169,15 @@
   return _dbus_write (fd, buffer, start, len);
 }
 
+int
+_dbus_write_pipe (DBusPipe         pipe,
+                  const DBusString *buffer,
+                  int               start,
+                  int               len)
+{
+	return _dbus_write (pipe, buffer, start, len);
+}
+
 /**
  * Like _dbus_write_two() but only works on sockets and is thus
  * available on Windows.

Index: dbus-sysdeps.h
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps.h,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- dbus-sysdeps.h	31 Dec 2006 12:16:04 -0000	1.68
+++ dbus-sysdeps.h	8 Mar 2007 20:25:15 -0000	1.69
@@ -302,6 +302,12 @@
 
 dbus_bool_t _dbus_get_standard_session_servicedirs (DBusList **dirs);
 
+typedef int DBusPipe;
+int _dbus_write_pipe (DBusPipe          pipe,
+                      const DBusString *buffer,
+                      int               start,
+                      int               len);
+
 /** Opaque type for reading a directory listing */
 typedef struct DBusDirIter DBusDirIter;
 



More information about the dbus-commit mailing list