Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2008-08-28 17:46:23 +0000
committereutarass2008-08-28 17:46:23 +0000
commit8ea5fe28ae91619ce3ed884210a199af96c6a489 (patch)
tree575e2d055c18555586539b7a28ef68fe5b58933c /cmdline.h
parentc59b6c603fb22fec2405cf041aa6845b88750bd6 (diff)
downloadorg.eclipse.tcf.agent-8ea5fe28ae91619ce3ed884210a199af96c6a489.tar.gz
org.eclipse.tcf.agent-8ea5fe28ae91619ce3ed884210a199af96c6a489.tar.xz
org.eclipse.tcf.agent-8ea5fe28ae91619ce3ed884210a199af96c6a489.zip
Bug 245511 [tcf] Interactive mode should be optional
Diffstat (limited to 'cmdline.h')
-rw-r--r--cmdline.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/cmdline.h b/cmdline.h
index 1068a7ae..4ee3a1ee 100644
--- a/cmdline.h
+++ b/cmdline.h
@@ -19,12 +19,18 @@
#ifndef D_cmdline
#define D_cmdline
-#include "channel.h"
-
-extern Channel *chan;
+#if ENABLE_Cmdline
extern void cmdline_suspend(void);
extern void cmdline_resume(void);
extern void ini_cmdline_handler(int interactive);
extern void open_script_file(char * script_name);
+
+#else
+
+#define cmdline_suspend() 0
+#define cmdline_resume() 0
+
+#endif
+
#endif

Back to the top