summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2013-02-09 21:44:11 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2013-02-09 22:11:28 +0100
commit57790bc8c558ccf2e57b3d973c043088232628c7 (patch)
tree274f3b0643fcf43b1c4b00469816be7c2c41bbba /log.c
parent31e615a50b34f67bdf5562ad887415b2ec8796c8 (diff)
downloadlibsigrokdecode-57790bc8c558ccf2e57b3d973c043088232628c7.tar.gz
libsigrokdecode-57790bc8c558ccf2e57b3d973c043088232628c7.zip
Doxygen: Mark private functions/variables properly.
Diffstat (limited to 'log.c')
-rw-r--r--log.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/log.c b/log.c
index 81e9251..d6df156 100644
--- a/log.c
+++ b/log.c
@@ -40,8 +40,10 @@ static srd_log_callback_t srd_log_callback = srd_logv;
static void *srd_log_callback_data = NULL;
/* Log domain (a short string that is used as prefix for all messages). */
+/** @cond PRIVATE */
#define LOGDOMAIN_MAXLEN 30
#define LOGDOMAIN_DEFAULT "srd: "
+/** @endcond */
static char srd_log_domain[LOGDOMAIN_MAXLEN + 1] = LOGDOMAIN_DEFAULT;
/**
@@ -193,6 +195,7 @@ static int srd_logv(void *cb_data, int loglevel, const char *format,
return ret;
}
+/** @private */
SRD_PRIV int srd_log(int loglevel, const char *format, ...)
{
int ret;
@@ -205,6 +208,7 @@ SRD_PRIV int srd_log(int loglevel, const char *format, ...)
return ret;
}
+/** @private */
SRD_PRIV int srd_spew(const char *format, ...)
{
int ret;
@@ -218,6 +222,7 @@ SRD_PRIV int srd_spew(const char *format, ...)
return ret;
}
+/** @private */
SRD_PRIV int srd_dbg(const char *format, ...)
{
int ret;
@@ -231,6 +236,7 @@ SRD_PRIV int srd_dbg(const char *format, ...)
return ret;
}
+/** @private */
SRD_PRIV int srd_info(const char *format, ...)
{
int ret;
@@ -244,6 +250,7 @@ SRD_PRIV int srd_info(const char *format, ...)
return ret;
}
+/** @private */
SRD_PRIV int srd_warn(const char *format, ...)
{
int ret;
@@ -257,6 +264,7 @@ SRD_PRIV int srd_warn(const char *format, ...)
return ret;
}
+/** @private */
SRD_PRIV int srd_err(const char *format, ...)
{
int ret;