Norbert Warmuth 414c7569f2 26 years ago
..
extfs 3e985246d6 Kloczek's Polish translation 26 years ago
samba 800e39ca96 * samba/configure.in: Require Autoconf 2.52 to make Debian 28 years ago
.cvsignore 3ca9a94f82 update .cvsignore 26 years ago
COPYING.LGPL a92e6f3ea8 Changed license to LGPL, added passing of vfs * (acting as self), so 26 years ago
ChangeLog 414c7569f2 26 years ago
Make-mc.in 4029fef2f3 Small bugfixes, killing of debuging hacks that escaped me. 26 years ago
Makefile.am 19ecfc2a9c 1998-10-25 Kjartan Maraas <kmaraas@fib.hl.no> 26 years ago
Makefile.in 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 years ago
README 8328d0fcd4 Added readme file 26 years ago
README.fish 8fac5dd743 More makefile fixes -mig 26 years ago
callback.h e6e9f038ed Fixed number of callbacks, added prototype of function to set 27 years ago
container.c c8a8394f56 Make it compile 26 years ago
container.h eb6b3842ab Initial revision 27 years ago
direntry.c 4029fef2f3 Small bugfixes, killing of debuging hacks that escaped me. 26 years ago
extfs.c 37e364fe67 BIG changes: tar now uses brand-new direntry.c. Hope it does not hurt 26 years ago
extfs.h 176dc1f70d static's added, do_reget hack removed 26 years ago
fish.c 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 years ago
fish.h 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 years ago
ftpfs.c 42e0c7ef84 We got some complaints about much slower ftpfs in 4.1.36 (ok, maybe a bit 26 years ago
ftpfs.h 96f4d6c760 Thu Oct 22 20:41:50 1998 Norbert Warmuth <nwarmuth@privat.circular.de> 26 years ago
local.c 176dc1f70d static's added, do_reget hack removed 26 years ago
mcfs.c 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 years ago
mcfs.h 176dc1f70d static's added, do_reget hack removed 26 years ago
mcserv.c 7a7f7a3d85 27 years ago
names.c 176dc1f70d static's added, do_reget hack removed 26 years ago
names.h eb6b3842ab Initial revision 27 years ago
sfs.c f51a940aec Removed debugging messages and fixed Makefile.in. 26 years ago
shared_ftp_fish.c 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 years ago
shared_tar_ext.c 37e364fe67 BIG changes: tar now uses brand-new direntry.c. Hope it does not hurt 26 years ago
tar.c 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 years ago
tar.h 37e364fe67 BIG changes: tar now uses brand-new direntry.c. Hope it does not hurt 26 years ago
tcputil.c a92e6f3ea8 Changed license to LGPL, added passing of vfs * (acting as self), so 26 years ago
tcputil.h eb6b3842ab Initial revision 27 years ago
undelfs.c 176dc1f70d static's added, do_reget hack removed 26 years ago
undelfs.h eb6b3842ab Initial revision 27 years ago
util-alone.c f15ee9faf9 26 years ago
util-alone.h 6fc9e99a61 27 years ago
utilvfs.c 4029fef2f3 Small bugfixes, killing of debuging hacks that escaped me. 26 years ago
vfs.c 414c7569f2 26 years ago
vfs.h 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 years ago
xdirentry.h 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 years ago

README

Hi!

I'm midnight commander's vfs layer. Before you start hacking me,
please read this file. I'm integral part of midnight commander, but I
try to go out and live my life myself as a shared library, too. That
means that I should try to use as little functions from midnight as
possible (so I'm tiny, nice and people like me), that I should not
pollute namespace by unneccessary symbols (so I do not crash fellow
programs) and that I should have a clean interface between myself and
midnight.

Because I'm rather close to midnight, try to:

* Keep updating ChangeLog file.

* Keep the indentation as the rest of the code. Following could help
you with your friend emacs:

(defun mc-c-mode ()
"C mode with adjusted defaults for use with the Midnight commander."
(interactive)
(c-mode)
(c-set-style "K&R")
(setq c-indent-level 4
c-continued-statement-offset 4
c-brace-offset 0
c-argdecl-indent 4
c-label-offset -4
c-brace-imaginary-offset 0
c-continued-brace-offset 0
c-tab-always-indent nil
c-basic-offset 4
tab-width 8
comment-column 60))

(setq auto-mode-alist (cons '(".*/mc/.*\\.[ch]$" . mc-c-mode)
auto-mode-alist))

And because I'm trying to live life on my own as libvfs.so, try to:

* Make sure all exported symbols are defined in vfs.h and begin with
'vfs_'.

* Do not make any references from midnight into modules like tar. It
would probably pollute namespace and midnight would depend on concrete
configuration of libvfs. mc_setctl() and mc_ctl() are your
friends. (And mine too :-).

Pavel Machek
pavel@ucw.cz

PS: If you'd like to use my features in whole operating system, you
might want to link me to rpc.nfsd. On
http://atrey.karlin.mff.cuni.cz/~pavel/podfuk/podfuk.html you'll find
how to do it.

PPS: I have a friend, shared library called avfs, which is LD_PRELOAD
capable. You can reach her at http://www.inf.bme.hu/~mszeredi/avfs.