summaryrefslogtreecommitdiff
path: root/libnetfs/netfs.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-02 15:02:42 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-02 15:02:42 +0000
commit6a786656f8400a47cbba5e985b529c387bcfba39 (patch)
tree4ca5b161df68cfbb433d29699ede5caacebde734 /libnetfs/netfs.h
parent4d3b34b0366b57d8bb330f1304e1da6f4dffe2ca (diff)
(netfs_identity_class): New variable.
(netfs_release_identity): New function. (struct identity): New type.
Diffstat (limited to 'libnetfs/netfs.h')
-rw-r--r--libnetfs/netfs.h11
1 files changed, 11 insertions, 0 deletions
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;