res: Fix for Doxygen.

These are the remaining issues found in /res.

ASTERISK-29761

Change-Id: I572e6019c422780dde5ce8448b6c85c77af6046d
This commit is contained in:
Alexander Traud
2021-11-19 09:54:42 +01:00
committed by Friendly Automation
parent b2e71b82e7
commit 178cb0ffe4
39 changed files with 136 additions and 191 deletions

View File

@@ -37,7 +37,7 @@
* \brief Callback function to get the number of channels in a bridge
*
* \param metric The metric to populate
* \snapshot Bridge snapshot
* \param snapshot Bridge snapshot
*/
static void get_bridge_channel_count(struct prometheus_metric *metric, struct ast_bridge_snapshot *snapshot)
{

View File

@@ -40,7 +40,7 @@
* \brief Callback function to get a channel's current state
*
* \param metric The metric to populate
* \snapshot Channel snapshot
* \param snapshot Channel snapshot
*/
static void get_channel_state(struct prometheus_metric *metric, struct ast_channel_snapshot *snapshot)
{

View File

@@ -39,7 +39,7 @@
* \brief Callback function to get an endpoint's current state
*
* \param metric The metric to populate
* \snapshot Endpoint snapshot
* \param snapshot Endpoint snapshot
*/
static void get_endpoint_state(struct prometheus_metric *metric, struct ast_endpoint_snapshot *snapshot)
{

View File

@@ -64,8 +64,6 @@ struct prometheus_metric_wrapper {
char key[128];
};
AST_MUTEX_DEFINE_STATIC(metrics_lock);
/*!
* \internal Vector of metric wrappers
*
@@ -77,6 +75,8 @@ AST_MUTEX_DEFINE_STATIC(metrics_lock);
*/
static AST_VECTOR(, struct prometheus_metric_wrapper *) metrics;
AST_MUTEX_DEFINE_STATIC(metrics_lock);
/*!
* \internal
* \brief Create a wrapper for a metric given a key