From 6a786656f8400a47cbba5e985b529c387bcfba39 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 2 Jul 1996 15:02:42 +0000 Subject: (netfs_identity_class): New variable. (netfs_release_identity): New function. (struct identity): New type. --- libnetfs/netfs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libnetfs/netfs.h') diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index c13f3320..5cd180b0 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -86,6 +86,15 @@ struct node struct dirmod *dirmod_reqs; }; +/* Attached to exported file identity ports to hold a reference to + the associated node. */ +struct identity +{ + struct port_info pi; + struct node *np; +}; + + /* The user must define this function. Make sure that NP->nn_stat is filled with current information. CRED identifies the user responsible for the operation. */ @@ -318,11 +327,13 @@ struct peropen *netfs_make_peropen (struct node *, int, mach_port_t); void netfs_drop_node (struct node *); void netfs_release_protid (void *); void netfs_release_peropen (struct peropen *); +void netfs_release_identity (void *); int netfs_demuxer (mach_msg_header_t *, mach_msg_header_t *); error_t netfs_shutdown (int); extern struct port_class *netfs_protid_class; extern struct port_class *netfs_control_class; +extern struct port_class *netfs_identity_class; extern struct port_bucket *netfs_port_bucket; extern struct node *netfs_root_node; extern mach_port_t netfs_fsys_identity; -- cgit v1.2.3