Sun, 7 Apr 2002 19:49:18 +0200, Kamil ?rot <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
>     I'm working on samba VFS module, that reads the directory structure
from
> database. But I can't fill dirent and DIR structures (results of
vfs_readdir
> and vfs_opendir) so, as samba likes it.
>     Can somebody show me the right way (or exaple :) ?

My jukebox module does this, the source can be found here:
http://home.atc.no/~floyd/jukebox/samba/

The DIR handle is simply a pointer which is passed to readdir() and
closedir(), the contents need only make sense to you. See the jukebox.readme
for more info on this.


-Andreas.


Reply via email to