From 492e1808b0adede71be81cf0ad9d112dc39255a5 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 23 Feb 2017 17:45:26 +0100 Subject: logging.h: fixup: add API doc for logging enums recently added Change-Id: Ic459b04219abe70171c8f80ed09df53d412dcfb2 --- include/osmocom/core/logging.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h index 7c8a7ef5..c4d80065 100644 --- a/include/osmocom/core/logging.h +++ b/include/osmocom/core/logging.h @@ -124,6 +124,8 @@ struct log_context { void *ctx[LOG_MAX_CTX+1]; }; +/*! \brief Indexes to indicate the object currently acted upon. + * Array indexes for the global \a log_context array. */ enum logging_ctx_items { LOGGING_CTX_GB_NSVC, LOGGING_CTX_GB_BVC, @@ -132,6 +134,9 @@ enum logging_ctx_items { _LOGGING_CTX_COUNT }; +/*! \brief Indexes to indicate objects that should be logged. + * Array indexes to log_target->filter_data and bit indexes for + * log_target->filter_map. */ enum logging_filters { LOGGING_FILTER_ALL, LOGGING_FILTER_GB_NSVC, -- cgit v1.2.3