Developing a VFS plugin for inhouse backup solution

Stefan (metze) Metzmacher metze at samba.org
Mon Feb 14 07:16:47 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy Allison schrieb:
| 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.

ok, that could work, but please think about that one module can be in the stack twice and each
instance needs to register it's own data...

- --
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCEFBfm70gjA5TCD8RAh7UAKCN0eevYzO75+vWVIKeCPBOxWAvUgCdGSi7
1eyHFJ+70uT8BNw/rOXkHgw=
=eh0M
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list