Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2010-08-12 20:49:34 +0000
committerAndrew Niefer2010-08-12 20:49:34 +0000
commit67a27df7f4e3927c6360476f790ac72360d9457a (patch)
tree44e42391fe46adb1bc00b03349035639307bf590 /bundles/org.eclipse.equinox.executable/library/eclipseUtil.h
parent3eda7983ef723579cf2d4b5b3d4574c7c9c8fba9 (diff)
downloadrt.equinox.framework-67a27df7f4e3927c6360476f790ac72360d9457a.tar.gz
rt.equinox.framework-67a27df7f4e3927c6360476f790ac72360d9457a.tar.xz
rt.equinox.framework-67a27df7f4e3927c6360476f790ac72360d9457a.zip
bug 149994 - --launcher.appendVmargs
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseUtil.h')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseUtil.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseUtil.h b/bundles/org.eclipse.equinox.executable/library/eclipseUtil.h
index 970aba374..f9d500364 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseUtil.h
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseUtil.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,6 +8,7 @@
* Contributors:
* IBM Corporation - initial API and implementation
* Kevin Cornell (Rational Software Corporation)
+ * Martin Oberhuber (Wind River) - [149994] Add --launcher.appendVmargs
*******************************************************************************/
#ifndef ECLIPSE_UTIL_H
@@ -37,6 +38,12 @@ extern _TCHAR * checkPathList( _TCHAR* pathList, _TCHAR* programDir, int reverse
/* take a NULL terminated array of strings and concatenate them together into one string */
extern _TCHAR * concatStrings(_TCHAR** strs);
+/* Concatenates two NULL-terminated arrays of strings into a new array of strings */
+extern _TCHAR** concatArgs(_TCHAR** l1, _TCHAR** l2);
+
+/* Returns the relative position of arg in the NULL-terminated list of args, or -1 */
+extern int indexOf(_TCHAR *arg, _TCHAR **args);
+
/* take a NULL terminated array of strings and concatenate them together using the give pathSeparator */
extern _TCHAR* concatPaths(_TCHAR** paths, _TCHAR pathSeparator);

Back to the top