Pavel Roskin 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
..
extfs d2026648fe * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the 24 лет назад
samba 7df26a45b5 * vfs/samba/lib/util_sock.c (socket_options): Made static const. 24 лет назад
.cvsignore c9c3e9538e *.sor added. 24 лет назад
COPYING.LGPL 2a8730b21c 26 лет назад
ChangeLog 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
Make-mc.in aa8c484f31 * shared_ftp_fish.c: Remove. 24 лет назад
Makefile.am aa8c484f31 * shared_ftp_fish.c: Remove. 24 лет назад
Makefile.in bc97907e77 Make cpiofs compilable. 25 лет назад
README ea0410522b Ran file through ispell, this is result :-) 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 e828211662 Updated address of Free Software Foundation 24 лет назад
container.h eb6b3842ab Initial revision 27 лет назад
cpio.c 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
direntry.c 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
extfs.c 5da3b42969 * ftpfs.c: Declare functions without declarations static. Don't 24 лет назад
extfs.h e828211662 Updated address of Free Software Foundation 24 лет назад
fish.c 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
fish.h 4706638b22 Big merge: fish now uses proper caching, small fixes almost 26 лет назад
ftpfs.c 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
ftpfs.h 07b052699e * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds, ftpfs_first_cd_then_ls, 24 лет назад
local.c 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
local.h e52a2125fa *** empty log message *** 26 лет назад
mcfs.c 5da3b42969 * ftpfs.c: Declare functions without declarations static. Don't 24 лет назад
mcfs.h 176dc1f70d static's added, do_reget hack removed 26 лет назад
mcserv.c 5da3b42969 * ftpfs.c: Declare functions without declarations static. Don't 24 лет назад
names.c 176dc1f70d static's added, do_reget hack removed 26 лет назад
names.h eb6b3842ab Initial revision 27 лет назад
sfs.c 269af251b8 * sfs.c: Remark about shell removed. 24 лет назад
shared_tar_ext.c 459e0ee296 * shared_tar_ext.c (__find_entry): Make sure that the parent is a 24 лет назад
smbfs.c 1eadb1fc3f * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h, 24 лет назад
smbfs.h abaec46551 26 лет назад
tar.c 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
tar.h e828211662 Updated address of Free Software Foundation 24 лет назад
tcputil.c f76a2c4576 * tcputil.c (sig_pipe): Use the same declaration with one int 24 лет назад
tcputil.h eb6b3842ab Initial revision 27 лет назад
undelfs.c 6fe51516de * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem. 24 лет назад
util-alone.c 22a3755dc0 * util-alone.c: Use indented #error. 24 лет назад
util-alone.h 3bfe8a0b3c 25 лет назад
utilvfs.c e828211662 Updated address of Free Software Foundation 24 лет назад
utilvfs.h 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад
vfs.c 442bf424d9 * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually 24 лет назад
vfs.h 5da3b42969 * ftpfs.c: Declare functions without declarations static. Don't 24 лет назад
xdirentry.h 680f3f7ed2 * cpio.c: Include <config.h> before everything else. 24 лет назад

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 name space by unnecessary 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 name space 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.