summaryrefslogtreecommitdiff
path: root/lnode.c
AgeCommit message (Collapse)Author
2013-02-11Fix build against libpthreadSamuel Thibault
* Makefile.am (nsmux_LDADD): Link against libpthread instead of libthreads. * nsmux.h: Include <pthread.h> instead of <cthreads.h> * lnode.h: Use pthread type instead of cthreads structure. * node.h: Likewise. * ncache.h: Likewise. * lnode.c: Use pthread functions instead of cthreads functions. * node.c: Likewise. * ncache.c: Likewise. * nsmux.c: Likewise.
2009-04-09Updated copyright yearsSergiu Ivanov
The copyright years were listed only up to 2008, so I added 2009. Also, some of the files I created from scratch used to list copyright years starting with 2001, which was wrong. This has also been corrected.
2008-11-21Moved the code to GCSSergiu Ivanov
Now the code is (hopefully) compliant with GNU Coding Standards.
2008-09-07Added proxy nodes, optimized node management policySergiu Ivanov
Now, when 'file,,x' is requested, nsmux will create a proxy node and will set the translator 'x' on this node, not on the real filesystem node. Also, nsmux will not create nodes for simple file looks, instead it will simply return the port to the required file, thus avoiding the necessity to handle IO operations inside itself.
2008-07-22Added the possibility to propagate translators onto directories. Fixed bugs.Sergiu Ivanov
Now the user can enter directories using the following command: cd dir,,x All files in this directory will then be implicitly translated by translator 'x'; in other words, if there is a file 'file' in directory 'dir', after executing the command mentioned above, and after running cat file the user will obtain the content of 'file' translated by 'x'. Also fixed several rather serious bugs in lookup of file names of the type 'file,,x'.
2008-07-19Added the code for looking up files with names like 'file,,x'.Sergiu Ivanov
The user can now request files with special names like 'file,,x' and the proxy will start the translator 'x' on file 'file' and return the port to the user. If 'x' is not an absolute path, the default prefix '/hurd/' is added to it.
2008-07-13Copied the skeleton for mirroring a directory from filterfs.Sergiu Ivanov
At the moment nsmux is only capable of creating a read-only mirror of the given directory.