diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-19 12:23:23 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-19 12:25:02 +0000 |
commit | 4a086fca7b0a77c20bc9f1c97507966e2861f3da (patch) | |
tree | a065ccbf7fd0adb66c4e335d181056f27f52512a /sal/inc | |
parent | 755f299eccee79aa91ce6d935b85d2b00fe74974 (diff) |
fix SvStream to not require a custom open or lstat method.
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/osl/detail/file.h | 12 | ||||
-rw-r--r-- | sal/inc/osl/file.h | 1 |
2 files changed, 1 insertions, 12 deletions
diff --git a/sal/inc/osl/detail/file.h b/sal/inc/osl/detail/file.h index 108d2306b36d..065c3551b108 100644 --- a/sal/inc/osl/detail/file.h +++ b/sal/inc/osl/detail/file.h @@ -49,25 +49,13 @@ extern "C" { #define osl_File_OpenFlag_Trunc 0x00000010L #define osl_File_OpenFlag_NoExcl 0x00000020L -/* Variant of osl_openFile that takes the file pathname directly as a - char* -*/ - -SAL_DLLPUBLIC oslFileError SAL_CALL osl_openFilePath( - const char *cpFilePath, - oslFileHandle *pHandle, - sal_uInt32 uFlags ); - /* Compare directory items for being the same underlying file * this unwinds unix hard-links and symlinks etc. */ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_identicalDirectoryItem(oslDirectory a, oslDirectory b); -SAL_DLLPUBLIC oslFileError SAL_CALL osl_lstatFilePath( const char *cpFilePath, struct stat *statb ); - /* Get the OS specific "handle" of an open file. */ - SAL_DLLPUBLIC oslFileError SAL_CALL osl_getFileOSHandle( oslFileHandle Handle, sal_IntPtr *piFileHandle ); diff --git a/sal/inc/osl/file.h b/sal/inc/osl/file.h index 2a8cf378330b..0e0d7657679c 100644 --- a/sal/inc/osl/file.h +++ b/sal/inc/osl/file.h @@ -664,6 +664,7 @@ typedef void *oslFileHandle; #define osl_File_OpenFlag_Write 0x00000002L #define osl_File_OpenFlag_Create 0x00000004L #define osl_File_OpenFlag_NoLock 0x00000008L +/* larger bit-fields reserved for internal use cf. detail/file.h */ /** Open a regular file. |