summaryrefslogtreecommitdiffstats
path: root/src/strrb.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-20 00:17:59 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-23 00:18:22 +0000
commit87e4550585c643e97e0003119b254251ac5ed1d4 (patch)
tree9287f66aba70e9253f4d62926c54dddeb492895e /src/strrb.c
parent249fb71a2e124acb191b7cd4d2c3af6a45da4a5e (diff)
doxygen: enable AUTOBRIEF, drop \brief
Especially for short descriptions, it is annoying to have to type \brief for every single API doc. Drop all \brief and enable the AUTOBRIEF feature of doxygen, which always takes the first sentence of an API doc as the brief description. Change-Id: I11a8a821b065a128108641a2a63fb5a2b1916e87
Diffstat (limited to 'src/strrb.c')
-rw-r--r--src/strrb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/strrb.c b/src/strrb.c
index 69c4ddae..0c56be24 100644
--- a/src/strrb.c
+++ b/src/strrb.c
@@ -26,7 +26,7 @@
*/
/*! \file strrb.c
- * \brief Lossy string ringbuffer for logging; keeps newest messages.
+ * Lossy string ringbuffer for logging; keeps newest messages.
*/
#include <stdio.h>
@@ -49,7 +49,7 @@
* is the case unless this is the first time the ringbuffer becomes full).
*/
-/*! \brief Create an empty, initialized osmo_strrb.
+/*! Create an empty, initialized osmo_strrb.
* \param[in] ctx The talloc memory context which should own this.
* \param[in] rb_size The number of message slots the osmo_strrb can hold.
* \returns A struct osmo_strrb* on success, NULL in case of error.
@@ -87,7 +87,7 @@ alloc_error: /* talloc_free(NULL) is safe */
return NULL;
}
-/*! \brief Check if an osmo_strrb is empty.
+/*! Check if an osmo_strrb is empty.
* \param[in] rb The osmo_strrb to check.
* \returns True if the osmo_strrb is empty, false otherwise.
*/
@@ -96,7 +96,7 @@ bool osmo_strrb_is_empty(const struct osmo_strrb *rb)
return rb->end == rb->start;
}
-/*! \brief Return a pointer to the Nth string in the osmo_strrb.
+/*! Return a pointer to the Nth string in the osmo_strrb.
* \param[in] rb The osmo_strrb to search.
* \param[in] string_index The index sought (N), zero-indexed.
*
@@ -130,7 +130,7 @@ bool _osmo_strrb_is_bufindex_valid(const struct osmo_strrb *rb,
return (bufi < rb->end) || (bufi >= rb->start);
}
-/*! \brief Count the number of log messages in an osmo_strrb.
+/*! Count the number of log messages in an osmo_strrb.
* \param[in] rb The osmo_strrb to count the elements of.
*
* \returns The number of log messages in the osmo_strrb.
@@ -143,7 +143,7 @@ size_t osmo_strrb_elements(const struct osmo_strrb *rb)
return rb->end - rb->start;
}
-/*! \brief Add a string to the osmo_strrb.
+/*! Add a string to the osmo_strrb.
* \param[in] rb The osmo_strrb to add to.
* \param[in] data The string to add.
*