diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-06-24 15:11:53 +1000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-25 11:54:53 +0200 |
commit | a56e7f790dda566edb75a82fdfcc9e0cbb4e8dc3 (patch) | |
tree | 75d60ef7554ca4e9e36f04e696e423904c28365b /sal | |
parent | e496a707b23d9ab0fb0ac20e7411cf316f2f1412 (diff) |
osl: doxygen comments in unx/file.cxx
Change-Id: I26d8b665e8940fd3821d29ced0046c2d1dd5a59c
Reviewed-on: https://gerrit.libreoffice.org/39200
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/file.cxx | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index 945d989def21..1a469d78d8d1 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -60,7 +60,7 @@ struct FileHandle_Impl { pthread_mutex_t m_mutex; - rtl_String * m_strFilePath; /* holds native file path */ + rtl_String * m_strFilePath; /*< holds native file path */ int m_fd; enum Kind @@ -73,19 +73,19 @@ struct FileHandle_Impl */ enum StateBits { - STATE_SEEKABLE = 1, /* default */ - STATE_READABLE = 2, /* default */ - STATE_WRITEABLE = 4, /* open() sets, write() requires, else osl_File_E_BADF */ - STATE_MODIFIED = 8 /* write() sets, flush() resets */ + STATE_SEEKABLE = 1, /*< default */ + STATE_READABLE = 2, /*< default */ + STATE_WRITEABLE = 4, /*< open() sets, write() requires, else osl_File_E_BADF */ + STATE_MODIFIED = 8 /*< write() sets, flush() resets */ }; int m_state; - sal_uInt64 m_size; /* file size */ - off_t m_offset; /* physical offset from begin of file */ - off_t m_fileptr; /* logical offset from begin of file */ + sal_uInt64 m_size; /*< file size */ + off_t m_offset; /*< physical offset from begin of file */ + off_t m_fileptr; /*< logical offset from begin of file */ - off_t m_bufptr; /* buffer offset from begin of file */ - size_t m_buflen; /* buffer filled [0, m_bufsiz - 1] */ + off_t m_bufptr; /*< buffer offset from begin of file */ + size_t m_buflen; /*< buffer filled [0, m_bufsiz - 1] */ size_t m_bufsiz; sal_uInt8 * m_buffer; @@ -161,8 +161,6 @@ struct FileHandle_Impl ~Allocator(); }; - /** Guard. - */ class Guard { pthread_mutex_t * m_mutex; |