]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/status.h
kes Correctly detect Ubuntu systems, and add ubuntu platform directory.
[bacula/bacula] / bacula / src / lib / status.h
index bf5880fdb285584cc26ae21949138b9911252aad..c7c2a934d97497b87846ec62eaff39d792b56e37 100644 (file)
@@ -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);