]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/status.h
Merge branch 'master' into basejobv3
[bacula/bacula] / bacula / src / lib / status.h
index bf5880fdb285584cc26ae21949138b9911252aad..f496f526ebd2f02e9208738338d5b222ce294dc3 100644 (file)
@@ -20,7 +20,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   Bacula® is a registered trademark of John Walker.
+   Bacula® is a registered trademark of Kern Sibbald.
    The licensor of Bacula is the Free Software Foundation Europe
    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
    Switzerland, email:ftf@fsfeurope.org.
@@ -48,6 +48,11 @@ public:
   BSOCK *bs;                       /* used on Unix machines */
   void *context;                   /* Win32 */
   void (*callback)(const char *msg, int len, void *context);  /* Win32 */
+  bool api;                        /* set if we want API output */
+
+  /* Methods */
+  STATUS_PKT() { memset(this, 0, sizeof(STATUS_PKT)); };
+  ~STATUS_PKT() { };
 };
 
 extern void output_status(STATUS_PKT *sp);