summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps-win.h
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2007-06-19 20:04:34 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2007-06-19 20:04:34 +0000
commita1a285b10d92708515977d8e9e5f07cb920e92c6 (patch)
tree92a811fa0831eeb75742bcdfdd652ba66373f909 /dbus/dbus-sysdeps-win.h
parentebb99420e577a0760e36ed38556aa833ace24996 (diff)
* dbus/dbus-sysdeps-win.c, dbus/dbus-sysdeps-spawn-win.c, dbus/dbus-sysdeps-win.h: disabled DBusSocket implementation Patch by Peter Kuemmel
Diffstat (limited to 'dbus/dbus-sysdeps-win.h')
-rw-r--r--dbus/dbus-sysdeps-win.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-win.h b/dbus/dbus-sysdeps-win.h
index 4c4d0e84..16dc5abe 100644
--- a/dbus/dbus-sysdeps-win.h
+++ b/dbus/dbus-sysdeps-win.h
@@ -56,6 +56,10 @@ extern BOOL WINAPI ConvertSidToStringSidA (PSID Sid, LPSTR *StringSid);
#define DBUS_CONSOLE_DIR "/var/run/console/"
+
+//#define ENABLE_DBUSSOCKET
+
+#ifdef ENABLE_DBUSSOCKET
typedef struct
{
int fd; /* File descriptor, SOCKET or file HANDLE */
@@ -71,6 +75,7 @@ DBusSocket;
extern DBusSocket *win_fds;
extern int win32_n_fds;
+#endif
void _dbus_win_startup_winsock (void);
@@ -157,14 +162,18 @@ struct DBusFile
int FDATA;
};
-
+#ifdef ENABLE_DBUSSOCKET
void _dbus_handle_to_socket (int handle,
DBusSocket **socket);
int _dbus_socket_to_handle (DBusSocket *socket);
+#endif
+
dbus_bool_t _dbus_get_config_file_name(DBusString *config_file,
char *s);
+
+
#endif
/** @} end of sysdeps-win.h */