Implemented file sharing checks in the server.
Added set file time server request.
Overall clean up of the file handling (DOS device handling is now
broken, should be redone).

diff --git a/include/server.h b/include/server.h
index 2e1ab61..2f386f2 100644
--- a/include/server.h
+++ b/include/server.h
@@ -255,6 +255,10 @@
 {
     unsigned int access;        /* wanted access rights */
     int          inherit;       /* inherit flag */
+    unsigned int sharing;       /* sharing flags */
+    int          create;        /* file create action */
+    unsigned int attrs;         /* file attributes for creation */
+    char         name[0];       /* file name */
 };
 struct create_file_reply
 {
@@ -298,6 +302,15 @@
 };
 
 
+/* Set a file access and modification times */
+struct set_file_time_request
+{
+    int          handle;        /* handle to the file */
+    time_t       access_time;   /* last access time */
+    time_t       write_time;    /* last write time */
+};
+
+
 /* Flush a file buffers */
 struct flush_file_request
 {
@@ -312,6 +325,7 @@
 };
 struct get_file_info_reply
 {
+    int          type;          /* file type */
     int          attr;          /* file attributes */
     time_t       access_time;   /* last access time */
     time_t       write_time;    /* last write time */