diff options
author | Miles Bader <miles@gnu.org> | 1997-06-20 05:46:05 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-06-20 05:46:05 +0000 |
commit | 15b69fdfdc311dcc7f3ebb922ba89096a9e331ed (patch) | |
tree | e5838603643e05332fce4527c1020de5dd06534b /libnetfs/netfs.h | |
parent | af4bbc207d34d2ff90b448a02cf55df315b4b1b4 (diff) |
(netfs_get_translator):
New declaration.
(struct node):
Remove istranslated field.
Diffstat (limited to 'libnetfs/netfs.h')
-rw-r--r-- | libnetfs/netfs.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index 692ee6de..f7e97b60 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -77,8 +77,6 @@ struct node struct netnode *nn; struct stat nn_stat; - - int istranslated; struct mutex lock; @@ -134,12 +132,19 @@ error_t netfs_attempt_mksymlink (struct iouser *cred, struct node *np, error_t netfs_attempt_mkdev (struct iouser *cred, struct node *np, mode_t type, dev_t indexes); -/* The user must define this function. Attempt to set the passive +/* The user may define this function. Attempt to set the passive translator record for FILE to ARGZ (of length ARGZLEN) for user CRED. */ error_t netfs_set_translator (struct iouser *cred, struct node *np, char *argz, size_t argzlen); +/* The user may define this function (but should define it together with + netfs_set_translator). For locked node NODE with S_IPTRANS set in its + mode, look up the name of its translator. Store the name into newly + malloced storage, and return it in *ARGZ; set *ARGZ_LEN to the total + length. */ +error_t netfs_get_translator (struct node *node, char **argz, size_t *argz_len); + /* The user must define this function. This should attempt a chflags call for the user specified by CRED on node NODE, to change the flags to FLAGS. */ |