#include <windows.h>
#undef interface
-#include <aclapi.h>
-#include <lm.h>
-#include <io.h>
-#include <share.h>
-#include <direct.h>
-
-#define mkdir(path, mode) _mkdir (path)
-
-#ifndef DBUS_WINCE
-#ifndef S_ISREG
-#define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
-#endif
-#endif
-
-
#define DBUS_CONSOLE_DIR "/var/run/console/"
+void _dbus_win_set_errno (int err);
+const char* _dbus_win_error_from_last_error (void);
+
void _dbus_win_startup_winsock (void);
void _dbus_win_warn_win_error (const char *message,
int code);
+
+char * _dbus_win_error_string (int error_number);
+void _dbus_win_free_error_string (char *string);
+
extern const char* _dbus_lm_strerror (int error_number);
dbus_bool_t _dbus_get_config_file_name(DBusString *config_file,
char *s);
+dbus_bool_t _dbus_get_install_root(char *prefix, int len);
+
+void _dbus_threads_windows_init_global (void);
+void _dbus_threads_windows_ensure_ctor_linked (void);
+
#endif
/** @} end of sysdeps-win.h */