Hello,

Some time ago, you asked if plugins work with compression and encryption.  
I've now had a chance to look at the code, and in principle, the answer is 
yes.

When a command plugin is being used, the plugin_save() entry point is called 
rather than the normal save_file() entry point.  After setting everything up, 
the plugin_save routine then calls the standard save_file() routine.  In 
principle (I haven't actually traced the code), the only difference after 
that point is that at a very low level when the I/O routines are called to 
read a file, it is instead directed to the plugin which does the I/O.

I've used the words "in principle" several times, because this is what was 
designed, but it really needs testing and verification, and possibly fixing 
if it doesn't work correctly.

The question of plugins working with Accurate mode are different because of 
its design.  Recently I have enhanced the plugin API so that "in principle" a 
conforming plugin will be able to work correctly with accurate mode or at 
least fail the job if it cannot.  The work to modify the Exchange plugin to 
become conforming is still in progress.

Best regards,

Kern

------------------------------------------------------------------------------
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to