More general approach to file descriptor types and flags.

diff --git a/server/named_pipe.c b/server/named_pipe.c
index 309407e..bce7b23 100644
--- a/server/named_pipe.c
+++ b/server/named_pipe.c
@@ -87,7 +87,7 @@
 static void pipe_user_dump( struct object *obj, int verbose );
 static void pipe_user_destroy( struct object *obj);
 static int pipe_user_get_fd( struct object *obj );
-static int pipe_user_get_info( struct object *obj, struct get_file_info_reply *reply );
+static int pipe_user_get_info( struct object *obj, struct get_file_info_reply *reply, int *flags );
 
 static const struct object_ops pipe_user_ops =
 {
@@ -182,7 +182,7 @@
     return user->obj.fd;
 }
 
-static int pipe_user_get_info( struct object *obj, struct get_file_info_reply *reply )
+static int pipe_user_get_info( struct object *obj, struct get_file_info_reply *reply, int *flags )
 {
     if (reply)
     {
@@ -197,6 +197,7 @@
         reply->index_low   = 0;
         reply->serial      = 0;
     }
+    *flags = 0;
     return FD_TYPE_DEFAULT;
 }