/*
Bacula® - The Network Backup Solution
- Copyright (C) 2007-2010 Free Software Foundation Europe e.V.
+ Copyright (C) 2007-2012 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
static bRC endRestoreFile(bpContext *ctx);
static bRC createFile(bpContext *ctx, struct restore_pkt *rp);
static bRC setFileAttributes(bpContext *ctx, struct restore_pkt *rp);
+static bRC checkFile(bpContext *ctx, char *fname);
static char *apply_rp_codes(struct plugin_ctx * p_ctx);
PLUGIN_AUTHOR,
PLUGIN_DATE,
PLUGIN_VERSION,
- PLUGIN_DESCRIPTION,
+ PLUGIN_DESCRIPTION
};
/* Plugin entry points for Bacula */
endRestoreFile,
pluginIO,
createFile,
- setFileAttributes
+ setFileAttributes,
+ checkFile
};
/*
return bRC_OK;
}
+/* When using Incremental dump, all previous dumps are necessary */
+static bRC checkFile(bpContext *ctx, char *fname)
+{
+ return bRC_OK;
+}
+
/*************************************************************************
* Apply codes in writer command:
* %w -> "where"
return omsg;
}
-
#ifdef __cplusplus
}
#endif