Create the server directory and socket file in /tmp.
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
diff --git a/server/request.h b/server/request.h
index 5f893ab..deadd77 100644
--- a/server/request.h
+++ b/server/request.h
@@ -59,6 +59,7 @@
extern void open_master_socket(void);
extern void close_master_socket(void);
extern void lock_master_socket( int locked );
+extern int wait_for_lock(void);
extern void trace_request(void);
extern void trace_reply( enum request req, const union generic_reply *reply );