]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/wx-console/csprint.h
Some Win32 fixes
[bacula/bacula] / bacula / src / wx-console / csprint.h
index 6f762557547e5185eba7bf74487dd66b5d335e15..ce0975d41e76f5d27ba37e7c6d93d6084cb4dc25 100644 (file)
@@ -32,8 +32,9 @@
 #define CS_CONNECTED     4 /* the socket is now connected */
 #define CS_DISCONNECTED  5 /* the socket is now disconnected */
 #define CS_DEBUG        10 /* used to print debug messages */
+#define CS_TERMINATED   99 /* used to signal that the thread is terminated */
 
 /* function called by console_thread to send events back to the GUI */
-void csprint(char* str, int status=CS_DATA);
+void csprint(const char* str, int status=CS_DATA);
 
 #endif