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

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.