[Samba] Samba VFS opendir and readdir

Eric Liu eric.liu at uniquesoft.com
Thu Aug 16 03:43:49 MDT 2012


Hi Folks,

I am writing a VFS module, which creates virtual a file system in memory,
not on any physical storage. However, I really don't have any idea on how
to implement the VFS operation opendir and readdir, becuase SMB_STRUCT_DIR
is very hard to manipulate. For example, I can not malloc a SMB_STRUCT_DIR.
Also, there is no any document for SMB_STRUCT_DIR. I don't know how to use
it data member.

Can someone give some examples or point me to existing example code?

Many thanks
Eric


More information about the samba mailing list