@@ -1,6 +1,6 @@
/*
* @file src/libnsdb/nsdb-internal.h
- * @brief Common public declarations for the NSDB API
+ * @brief Private declarations for the NSDB API
*/
/*
@@ -334,7 +334,7 @@ const char *nsdb_hostname(const nsdb_t host)
* Return length of nsdb_t's hostname, in bytes
*
* @param host pointer to initialized nsdb_t
- * @return NUL-terminated C string containing NSDB's hostname
+ * @return the number of bytes in "host's" hostname, excluding the terminating NUL
*/
size_t nsdb_hostname_len(const nsdb_t host)
{
@@ -356,7 +356,7 @@ unsigned short nsdb_port(const nsdb_t host)
* Return nsdb_t's NSDB connection security type
*
* @param host pointer to initialized nsdb_t struct
- * @return NSDB's port number
+ * @return NSDB's connection security type
*/
FedFsConnectionSec nsdb_sectype(const nsdb_t host)
{
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- src/libnsdb/nsdb-internal.h | 2 +- src/libnsdb/nsdb.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)