]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/file_dev.h
When read-only volume found mark it in catalog -- fixes bug #2337
[bacula/bacula] / bacula / src / stored / file_dev.h
index eef61b29d62280d4ec4071ee1021dcb86f30b938..0c841cf26f5436a457baf0a518e5fb81a4f4219d 100644 (file)
@@ -1,17 +1,20 @@
 /*
-   Bacula® - The Network Backup Solution
+   Bacula(R) - The Network Backup Solution
 
-   Copyright (C) 2014-2014 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2017 Kern Sibbald
 
-   The main author of Bacula is Kern Sibbald, with contributions from many
-   others, a complete list can be found in the file AUTHORS.
+   The original author of Bacula is Kern Sibbald, with contributions
+   from many others, a complete list can be found in the file AUTHORS.
 
    You may use this file and others of this release according to the
    license defined in the LICENSE file, which includes the Affero General
    Public License, v3.0 ("AGPLv3") and some additional permissions and
    terms pursuant to its AGPLv3 Section 7.
 
-   Bacula® is a registered trademark of Kern Sibbald.
+   This notice must be preserved when any source code is
+   conveyed and/or propagated.
+
+   Bacula(R) is a registered trademark of Kern Sibbald.
 */
 /*
  * Inspired by vtape.h
@@ -25,6 +28,10 @@ public:
 
    file_dev() { };
    ~file_dev() { m_fd = -1; };
+   bool is_eod_valid(DCR *dcr);
+   bool eod(DCR *dcr);
+   bool open_device(DCR *dcr, int omode);
+   const char *print_type();
 };
 
 #endif /* __FILE_DEV_ */