freePlugin(bpContext *ctx)
This entry point is called when the this instance of the plugin is no
longer needed (the Job is ending), and the plugin should release all
memory it may have allocated for this particular instance (Job) i.e. the
pContext. This is not the final termination of the plugin signaled by a
call to unloadPlugin. Any other instances (Job) will continue to
run, and the entry point newPlugin may be called again if other jobs
start.
See also
newPlugin(bpContext *ctx)
getPluginValue(bpContext *ctx, pVariable var, void *value)
setPluginValue(bpContext *ctx, pVariable var, void *value)
handlePluginEvent(bpContext *ctx, bEvent *event, void *value)
startBackupFile(bpContext *ctx, struct save_pkt *sp)
endBackupFile(bpContext *ctx)
startVerifyFile(bpContext *ctx, struct save_pkt *sp)
startRestoreFile(bpContext *ctx, const char *cmd)
createFile(bpContext *ctx, struct restore_pkt *rp)
setFileAttributes(bpContext *ctx, struct restore_pkt *rp)
endRestoreFile(bpContext *ctx)
pluginIO(bpContext *ctx, struct io_pkt *io)
bool checkFile(bpContext *ctx, char *fname)
bRC queryParameter(bpContext *ctx, struct query_pkt *qp)