#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