#if defined(BUILDING_CATS)
#ifdef HAVE_SQLITE
-#define BDB_VERSION 10
+#define BDB_VERSION 11
#include <sqlite.h>
#ifdef HAVE_SQLITE3
-#define BDB_VERSION 10
+#define BDB_VERSION 11
#include <sqlite3.h>
#ifdef HAVE_MYSQL
-#define BDB_VERSION 10
+#define BDB_VERSION 11
#include <mysql.h>
#ifdef HAVE_POSTGRESQL
-#define BDB_VERSION 10
+#define BDB_VERSION 11
#include <libpq-fe.h>
#ifdef HAVE_DBI
-#define BDB_VERSION 10
+#define BDB_VERSION 11
#include <dbi/dbi.h>
uint32_t JobErrors;
uint32_t JobMissingFiles;
uint64_t JobBytes;
+ uint64_t ReadBytes;
int PurgedFiles;
int HasBase;
uint32_t VolIndex; /* Volume seqence no. */
uint32_t FirstIndex; /* First index this Volume */
uint32_t LastIndex; /* Last index this Volume */
- uint32_t StartFile; /* File for start of data */
- uint32_t EndFile; /* End file on Volume */
- uint32_t StartBlock; /* start block on tape */
- uint32_t EndBlock; /* last block */
int32_t Slot; /* Slot */
+ uint64_t StartAddr; /* Start address */
+ uint64_t EndAddr; /* End address */
+ int32_t InChanger; /* InChanger flag */
// uint32_t Copy; /* identical copy */
// uint32_t Stripe; /* RAIT strip number */
};
char *attr; /* attributes statp */
uint32_t FileIndex;
uint32_t Stream;
+ uint32_t FileType;
JobId_t JobId;
DBId_t ClientId;
DBId_t PathId;
uint32_t MaxVolFiles; /* Max files on Volume */
uint64_t MaxVolBytes; /* Max bytes on Volume */
DBId_t RecyclePoolId; /* RecyclePool destination when media is purged */
+ DBId_t ScratchPoolId; /* ScratchPool source when media is needed */
char PoolType[MAX_NAME_LENGTH];
char LabelFormat[MAX_NAME_LENGTH];
/* Extra stuff not in DB */