Developing a VFS plugin for inhouse backup solution
Jeremy Allison
jra at samba.org
Sun Feb 13 18:26:27 GMT 2005
On Sun, Feb 13, 2005 at 12:11:15PM +0100, Stefan (metze) Metzmacher wrote:
>
> per file data can't be a simple void *private_data on the files_struct!
That wasn't how I was planning to implement it.
> each module in the stack would need to have it's on private pointer for
> the open file.
> Implementing this in the calling samba code would be very complicated
Not really. I was planning to add a "register private data" call which
took a name. The VFS caller would have to then call the requisite free
function.
Jeremy.
More information about the samba-technical
mailing list