/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-20087 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2008 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.
void _unlock_reservations();
void _lock_volumes();
void _unlock_volumes();
-void release_volume(DCR *dcr);
VOLRES *reserve_volume(DCR *dcr, const char *VolumeName);
VOLRES *find_volume(const char *VolumeName);
bool free_volume(DEVICE *dev);
bool find_suitable_device_for_job(JCR *jcr, RCTX &rctx);
int search_res_for_device(RCTX &rctx);
void release_reserve_messages(JCR *jcr);
+void debug_list_volumes(const char *imsg);
extern int reservations_lock_count;
extern int vol_list_lock_count;