Samba3 VFS: Opaque vs. Transparent.

James Peach jorgar at gmail.com
Fri Jan 11 19:25:50 GMT 2008


On 11/01/2008, Christopher R. Hertel <crh at ubiqx.mn.org> wrote:
> Thanks, James.
>
> So, if I understand you correctly...
>
> - Calling SMB_VFS_NEXT_XXXX() from a function marked Opaque would have
>   no effect.

Not sure .. it might crash :)

> - *Not* calling SMB_VFS_NEXT_XXXX() from a function marked Transparent
>   would effectively make that function opaque.

Yes.

> Let me know if I'm close.  I have situations in which I may need to
> optionally call the NEXT function in the chain so.  If I have this right, I
> would want to mark those functions as Transparent and only call the NEXT
> function when needed.

Yes. I think there are a few modules that do this.

-- 
James Peach | jorgar at gmail.com


More information about the samba-technical mailing list