server: Add an open_file() function to the object operations.
diff --git a/server/object.h b/server/object.h
index a2d7029..a6632ba 100644
--- a/server/object.h
+++ b/server/object.h
@@ -76,6 +76,9 @@
     unsigned int (*map_access)(struct object *, unsigned int);
     /* lookup a name if an object has a namespace */
     struct object *(*lookup_name)(struct object *, struct unicode_str *,unsigned int);
+    /* open a file object to access this object */
+    struct object *(*open_file)(struct object *, unsigned int access, unsigned int sharing,
+                                unsigned int options);
     /* close a handle to this object */
     int (*close_handle)(struct object *,struct process *,obj_handle_t);
     /* destroy on refcount == 0 */
@@ -125,6 +128,8 @@
 extern struct fd *no_get_fd( struct object *obj );
 extern unsigned int no_map_access( struct object *obj, unsigned int access );
 extern struct object *no_lookup_name( struct object *obj, struct unicode_str *name, unsigned int attributes );
+extern struct object *no_open_file( struct object *obj, unsigned int access, unsigned int sharing,
+                                    unsigned int options );
 extern int no_close_handle( struct object *obj, struct process *process, obj_handle_t handle );
 extern void no_destroy( struct object *obj );
 #ifdef DEBUG_OBJECTS