sal: fix invalid doxygen

Change-Id: Ib26a695c88d02a0ce5a3c9974fae9f88d8ae89ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136783
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Chris Sherlock 2022-07-03 01:28:18 +10:00 committed by Stephan Bergmann
parent 9b558357a3
commit 18dacc47b2
10 changed files with 22 additions and 20 deletions

View file

@ -36,7 +36,9 @@ namespace osl
public:
/** Create a mutex.
@return 0 if the mutex could not be created, otherwise a handle to the mutex.
The mutex value is 0 if it could not be created, otherwise a handle to the mutex.
@see ::osl_createMutex()
*/
Mutex()

View file

@ -48,7 +48,8 @@ namespace osl {
public:
/** Open or create a configuration profile.
@retval 0 if the profile could not be created, otherwise a handle to the profile.
Sets a handle to the profile, otherwise if the profile could not be opened then throw an exception.
*/
Profile(const rtl::OUString & strProfileName, oslProfileOption Options = Profile_DEFAULT )
{

View file

@ -162,7 +162,6 @@ SAL_DLLPUBLIC sal_Bool SAL_CALL osl_loadUserProfile(
/** Unload a User Profile
Implemented just for Windows
@param[in] Security previously fetch Security of the User
@return nothing is returned!
*/
SAL_DLLPUBLIC void SAL_CALL osl_unloadUserProfile(

View file

@ -832,7 +832,8 @@ SAL_DLLPUBLIC void SAL_CALL osl_destroyHostAddr(oslHostAddr Addr);
/** Get the hostname member of Addr.
@return The hostname or 0 upon failure.
@param Addr address for host name
@param strHostname The host name or 0 upon failure.
*/
SAL_DLLPUBLIC void SAL_CALL osl_getHostnameOfHostAddr(const oslHostAddr Addr, rtl_uString **strHostname);

View file

@ -174,8 +174,10 @@ namespace osl
static inline ::rtl::OUString SAL_CALL getLocalHostname( oslSocketResult *pResult = NULL);
/** Tries to find an address for a host.
@see osl_resolveHostname()
@return A new created socket-address or 0 if the name could not be found.
@param strHostName hostname
@param Addr A newly created socket-address or 0 if the name could not be found.
*/
static inline void SAL_CALL resolveHostname(
const ::rtl::OUString & strHostName , SocketAddr & Addr );

View file

@ -68,8 +68,10 @@ SAL_DLLPUBLIC void * SAL_CALL rtl_reallocateMemory (
/** Free memory.
Memory is released, and the pointer is invalidated.
@param[in] Ptr pointer to the previously allocated memory.
@return none. Memory is released. Ptr is invalid.
*/
SAL_DLLPUBLIC void SAL_CALL rtl_freeMemory (
void * Ptr
@ -103,10 +105,12 @@ SAL_DLLPUBLIC void SAL_CALL rtl_secureZeroMemory (
/** Zero and free memory.
Memory is zero'ed with rtl_secureZeroMemory() and released.
The original pointer is no longer valid.
@param[in] Ptr pointer to the previously allocated memory.
@param[in] Bytes memory size.
@return none. Memory is zero'ed with rtl_secureZeroMemory() and released.
Ptr is invalid.
*/
SAL_DLLPUBLIC void SAL_CALL rtl_freeZeroMemory (
void * Ptr,
@ -136,8 +140,9 @@ SAL_DLLPUBLIC void* SAL_CALL rtl_allocateAlignedMemory (
/** Free memory allocated with rtl_allocateAlignedMemory().
Memory is released, and the pointer invalidated.
@param[in] Ptr pointer to the previously allocated memory.
@return none. Memory is released. Ptr is invalid.
@since LibreOffice 4.3
*/
@ -179,7 +184,6 @@ SAL_DLLPUBLIC rtl_arena_type * SAL_CALL rtl_arena_create (
/**
* @param[in] pArena the arena to destroy.
* @return None
*
* @see rtl_arena_create()
*/
@ -207,8 +211,6 @@ SAL_DLLPUBLIC void * SAL_CALL rtl_arena_alloc (
* @param[in] pAddr resource to free.
* @param[in] nBytes size of resource.
*
* @return None.
*
* @see rtl_arena_alloc()
*/
SAL_DLLPUBLIC void SAL_CALL rtl_arena_free (
@ -257,8 +259,6 @@ SAL_DLLPUBLIC rtl_cache_type * SAL_CALL rtl_cache_create (
/**
* @param[in] pCache the cache to destroy.
*
* @return None.
*
* @see rtl_cache_create()
*/
SAL_DLLPUBLIC void SAL_CALL rtl_cache_destroy (
@ -280,8 +280,6 @@ SAL_DLLPUBLIC void * SAL_CALL rtl_cache_alloc (
* @param[in] pCache cache from which object was allocated.
* @param[in] pObj object to free.
*
* @return None.
*
* @see rtl_cache_alloc()
*/
SAL_DLLPUBLIC void SAL_CALL rtl_cache_free (

View file

@ -171,8 +171,10 @@ SAL_DLLPUBLIC rtlCipherError SAL_CALL rtl_cipher_decode (
) SAL_THROW_EXTERN_C();
/** Destroy a cipher handle.
Cipher handle destroyed and invalid.
@param[in] Cipher cipher handle to be destroyed.
@return None. Cipher handle destroyed and invalid.
*/
SAL_DLLPUBLIC void SAL_CALL rtl_cipher_destroy (
rtlCipher Cipher

View file

@ -92,7 +92,6 @@ SAL_DLLPUBLIC rtlDigest SAL_CALL rtl_digest_create (
/** Destroy a digest handle.
@post Digest handle destroyed and invalid.
@param[in] Digest digest handle to be destroyed.
@return None.
*/
SAL_DLLPUBLIC void SAL_CALL rtl_digest_destroy (
rtlDigest Digest

View file

@ -62,7 +62,6 @@ SAL_DLLPUBLIC rtlRandomPool SAL_CALL rtl_random_createPool (void) SAL_THROW_EXTE
/** Destroy a Random Pool.
@param[in] Pool a Random Pool.
@return none. Pool is invalid.
*/
SAL_DLLPUBLIC void SAL_CALL rtl_random_destroyPool (
rtlRandomPool Pool

View file

@ -1345,7 +1345,6 @@ SAL_DLLPUBLIC void SAL_CALL rtl_uString_newFromStr_WithLength(
@param[in] from the String to take the substring from.
@param[in] beginIndex the beginning index, inclusive.
@param[in] count the number of characters.
@return the specified substring.
@since LibreOffice 4.0
*/