diff options
author | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2009-01-23 07:35:41 +0200 |
---|---|---|
committer | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2009-01-23 07:35:41 +0200 |
commit | 7298936df2535ce119ea38afd81915e523957e00 (patch) | |
tree | 61a0821f904002afa465bd3d46e606f8ec65eb92 /node.h | |
parent | 26fc5b0f9071e0b6266c01e3bc46ac102b27efa6 (diff) |
Adapted node_set_translators to shadow nodes
Now this function is called node_set_translator and sets only
one translator on the supplied (shadow) node. This function has
not yet been debugged.
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -145,11 +145,12 @@ error_t node_get_size (node_t * dir, OFFSET_T * off); /*Remove the file called `name` under `dir`*/ error_t node_unlink_file (node_t * dir, char *name); /*---------------------------------------------------------------------------*/ -/*Sets the given translators on the specified node and returns the - port to the topmost one opened as `flags` require*/ -error_t node_set_translators (struct protid *diruser, node_t * np, - char *trans, /*set these on `node` */ - size_t ntrans, int flags, char * filename, - mach_port_t * port); +/*Starts translator `trans` on the (shadow) node `np`, which should + mirror the file `filename`, and returns the port `port` to the root + of the translator opened as `flags.`*/ +error_t + node_set_translator + (struct protid *diruser, node_t * np, char * trans, int flags, + char * filename, mach_port_t * port); /*---------------------------------------------------------------------------*/ #endif /*__NODE_H__*/ |