]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/protos.h
Implement code to turn off pruning in obtaining the next volume.
[bacula/bacula] / bacula / src / dird / protos.h
index ceec824345e5bd1f35a6dcfaf840bb69c92f8cac..0d34d664a416d7768fddc1ce36a38ba214999e57 100644 (file)
@@ -148,7 +148,8 @@ extern int bget_dirmsg(BSOCK *bs);
 extern void wait_for_storage_daemon_termination(JCR *jcr);
 
 /* next_vol.c */
-int find_next_volume_for_append(JCR *jcr, MEDIA_DBR *mr, int index, bool create);
+int find_next_volume_for_append(JCR *jcr, MEDIA_DBR *mr, int index,
+                                bool create, bool purge);
 bool has_volume_expired(JCR *jcr, MEDIA_DBR *mr);
 void check_if_volume_valid_or_recyclable(JCR *jcr, MEDIA_DBR *mr, const char **reason);