/*!
* \file UDPC.h
* \brief Public API for UDPConnection
+ *
+ * Note that all functions are thread-safe unless mentioned otherwise in the
+ * function's documentation.
*/
#ifndef UDPC_CONNECTION_H
* \warning The returned pointer must be freed with free(), or
* UDPC_atostr_unsafe_free(), or UDPC_atostr_unsafe_free_ptr().
*
- * This function is thread-safe.
- *
* UDPC internally uses UDPC_atostr() for logging. This means that while UDPC
* is running, a string created with UDPC_atostr() may be overwritten
* eventually by UDPC. To avoid this situation, UDPC_atostr_unsafe() or
* \warning The returned pointer must be freed with free(), or
* UDPC_atostr_unsafe_free(), or UDPC_atostr_unsafe_free_ptr().
*
- * This function is thread-safe.
- *
* UDPC internally uses UDPC_atostr() for logging. This means that while UDPC
* is running, a string created with UDPC_atostr() may be overwritten
* eventually by UDPC. To avoid this situation, UDPC_atostr_unsafe() or
/*!
* \brief Free an addr string created with UDPC_atostr_unsafe().
- *
- * This function is thread-safe.
*/
UDPC_EXPORT void UDPC_atostr_unsafe_free(const char *addrBuf);
* \brief Free an addr string created with UDPC_atostr_unsafe() and zeroes the
* pointer.
*
- * This function is thread-safe.
- *
* \code{.c}
* UDPC_ConnectionId aConnectionId = ...;
* const char *addrString = UDPC_atostr_unsafe_cid(aConnectionId);