* Version $Id$
*/
/*
- Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
+ Copyright (C) 2000-2003 Kern Sibbald and John Walker
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
#include "stored.h"
static void get_session_record(DEVICE *dev, DEV_RECORD *rec, SESSION_LABEL *sessrec);
+#ifdef DEBUG
static char *rec_state_to_str(DEV_RECORD *rec);
-
+#endif
int read_records(JCR *jcr, DEVICE *dev,
void record_cb(JCR *jcr, DEVICE *dev, DEV_BLOCK *block, DEV_RECORD *rec),
DEV_BLOCK *block;
DEV_RECORD *rec;
uint32_t record, num_files = 0;
- int verbose = FALSE;
int ok = TRUE;
int done = FALSE;
SESSION_LABEL sessrec;
rtype, rec->VolSessionId, rec->VolSessionTime, rec->Stream, rec->data_len);
}
+#ifdef DEBUG
static char *rec_state_to_str(DEV_RECORD *rec)
{
static char buf[200];
}
return buf;
}
+#endif