+/* Used in ua_prune.c and ua_purge.c */
+
+struct s_count_ctx {
+ int count;
+};
+
+#define MAX_DEL_LIST_LEN 2000000
+
+struct del_ctx {
+ JobId_t *JobId; /* array of JobIds */
+ char *PurgedFiles; /* Array of PurgedFile flags */
+ int num_ids; /* ids stored */
+ int max_ids; /* size of array */
+ int num_del; /* number deleted */
+ int tot_ids; /* total to process */
+};
+
+/* Flags for find_next_volume_for_append() */
+enum {
+ fnv_create_vol = true,
+ fnv_no_create_vol = false,
+ fnv_prune = true,
+ fnv_no_prune = false
+};
+
+
+
+#include "protos.h"