routine file_set_translator (
    file: file_t;
    passive_flags: int;
    active_flags: int;
    oldtrans_flags: int;
    passive: data_t SCP;
    active: mach_port_send_t);

Set a translator for future lookups to a file.

passive is the passive translator; active is the active translator.

The flags are FS_TRANS_*, defined in <hurd/hurd_types.h>. oldflags are sent in an fsys goaway to an existing active translator if there is one and it is to be killed.