Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-08-23 17:25:59 +0000
committereutarass2010-08-23 17:25:59 +0000
commit66118a191c9467e05e8ae8987291de5f98178fcd (patch)
tree4714c7cb7009305d10d45974b3a1da5acfd25287 /main/cmdline.h
parent1eafff5edfad98b5d983daae4464b4289b8d9bef (diff)
downloadorg.eclipse.tcf.agent-66118a191c9467e05e8ae8987291de5f98178fcd.tar.gz
org.eclipse.tcf.agent-66118a191c9467e05e8ae8987291de5f98178fcd.tar.xz
org.eclipse.tcf.agent-66118a191c9467e05e8ae8987291de5f98178fcd.zip
Bug 321939: [tcf][agent] It's impossible to script the client and make decision based on the output
Diffstat (limited to 'main/cmdline.h')
-rw-r--r--main/cmdline.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/cmdline.h b/main/cmdline.h
index d886f6fb..29789bd6 100644
--- a/main/cmdline.h
+++ b/main/cmdline.h
@@ -25,7 +25,14 @@
extern void cmdline_suspend(void);
extern void cmdline_resume(void);
-extern void ini_cmdline_handler(int interactive, Protocol * proto);
+/*
+ * Mode can be either :
+ * 0 = Non interactive script mode
+ * 1 = Interactive mode
+ * 2 = Single command mode
+ */
+extern void ini_cmdline_handler(int mode, Protocol * proto);
+extern void set_single_command(int keep_alive, const char * host, const char * command);
extern void open_script_file(const char * script_name);
#else /* ENABLE_Cmdline */

Back to the top