summaryrefslogtreecommitdiff
path: root/sal/osl/unx/file_path_helper.h
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2002-12-14 12:21:38 +0000
committerTino Rachui <tra@openoffice.org>2002-12-14 12:21:38 +0000
commit471e6df111e776056a80f5deb8ba3eef2a201018 (patch)
treea8b5d9cfbba1ec3041f4a7dea0b1a8ca0759ae25 /sal/osl/unx/file_path_helper.h
parentffbab40f7fde9557ec7585dc5b4f4daa7dff4dc5 (diff)
#104563#added osl_searchPath
Diffstat (limited to 'sal/osl/unx/file_path_helper.h')
-rw-r--r--sal/osl/unx/file_path_helper.h33
1 files changed, 31 insertions, 2 deletions
diff --git a/sal/osl/unx/file_path_helper.h b/sal/osl/unx/file_path_helper.h
index 982492dbd0ff..59cbe4d80314 100644
--- a/sal/osl/unx/file_path_helper.h
+++ b/sal/osl/unx/file_path_helper.h
@@ -2,9 +2,9 @@
*
* $RCSfile: file_path_helper.h,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: tra $ $Date: 2002-11-29 10:38:20 $
+ * last change: $Author: tra $ $Date: 2002-12-14 13:21:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -288,6 +288,35 @@
const rtl_uString* pustrPath);
+ /************************************************
+ osl_searchPath
+ Searches for a file name or path name in all
+ directories specified by a given path list.
+ Symbolic links in the resulting path will not be
+ resolved, it's up to the caller to do this.
+
+ @param pustrFilePath [in] a file name or
+ directory name to search for, the name must
+ be provided as system path not as a file URL
+
+ @param pustrSearchPathList [in] a ':'
+ separated list of paths in which to search for
+ the file or directory name
+
+ @ppustrPathFound [out] on success receives the
+ complete path of the file or directory found
+ as a system path
+
+ @returns sal_True if the specified file or
+ directory was found else sal_False
+ ***********************************************/
+
+ sal_Bool SAL_CALL osl_searchPath(
+ const rtl_uString* pustrFilePath,
+ const rtl_uString* pustrSearchPathList,
+ rtl_uString** ppustrPathFound);
+
+
#ifdef __cplusplus
}
#endif