summaryrefslogtreecommitdiff
path: root/sal/osl/unx/uunxapi.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/uunxapi.hxx')
-rw-r--r--sal/osl/unx/uunxapi.hxx46
1 files changed, 7 insertions, 39 deletions
diff --git a/sal/osl/unx/uunxapi.hxx b/sal/osl/unx/uunxapi.hxx
index 5030b75ca214..1d0b26c92dc2 100644
--- a/sal/osl/unx/uunxapi.hxx
+++ b/sal/osl/unx/uunxapi.hxx
@@ -28,30 +28,10 @@
#include <rtl/ustring.hxx>
-int access_u(const rtl_uString* pustrPath, int mode);
-
-/***********************************
- @descr
- The return value differs from the
- realpath function
-
- @returns sal_True on success else
- sal_False
-
- @see realpath
- **********************************/
-bool realpath_u(
- const rtl_uString* pustrFileName,
- rtl_uString** ppustrResolvedName);
-
int stat_c(const char *cpPath, struct stat* buf);
int lstat_c(const char *cpPath, struct stat* buf);
-int lstat_u(const rtl_uString* pustrPath, struct stat* buf);
-
-int mkdir_u(const rtl_uString* path, mode_t mode);
-
int open_c(const char *cpPath, int oflag, int mode);
int utime_c(const char *cpPath, struct utimbuf *times);
@@ -60,10 +40,7 @@ int ftruncate_with_name(int fd, sal_uInt64 uSize, rtl_String* path);
namespace osl
{
- inline int access(const OUString& ustrPath, int mode)
- {
- return access_u(ustrPath.pData, mode);
- }
+ int access(const OUString& ustrPath, int mode);
/***********************************
osl::realpath
@@ -78,22 +55,13 @@ namespace osl
@see realpath
**********************************/
- inline bool realpath(
+ bool realpath(
const OUString& ustrFileName,
- OUString& ustrResolvedName)
- {
- return realpath_u(ustrFileName.pData, &ustrResolvedName.pData);
- }
-
- inline int lstat(const OUString& ustrPath, struct stat& buf)
- {
- return lstat_u(ustrPath.pData, &buf);
- }
-
- inline int mkdir(const OUString& aPath, mode_t aMode)
- {
- return mkdir_u(aPath.pData, aMode);
- }
+ OUString& ustrResolvedName);
+
+ int lstat(const OUString& ustrPath, struct stat& buf);
+
+ int mkdir(const OUString& aPath, mode_t aMode);
} // end namespace osl
#endif // INCLUDED_SAL_OSL_UNX_UUNXAPI_HXX