From a6d8f4bb835dc01344861e26b78867273322cb52 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 14 Aug 2008 01:25:48 +0200 Subject: First steps into providing API documentation --- src/log.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/log.c') diff --git a/src/log.c b/src/log.c index 93026d53..b195df2f 100644 --- a/src/log.c +++ b/src/log.c @@ -30,6 +30,13 @@ static volatile gboolean debug_enabled = FALSE; +/** + * connman_info: + * @format: format string + * @Varargs: list of arguments + * + * Output general information + */ void connman_info(const char *format, ...) { va_list ap; @@ -41,6 +48,13 @@ void connman_info(const char *format, ...) va_end(ap); } +/** + * connman_error: + * @format: format string + * @varargs: list of arguments + * + * Output error messages + */ void connman_error(const char *format, ...) { va_list ap; @@ -52,6 +66,16 @@ void connman_error(const char *format, ...) va_end(ap); } +/** + * connman_debug: + * @format: format string + * @varargs: list of arguments + * + * Output debug message + * + * The actual output of the debug message is controlled via a command line + * switch. If not enabled, these messages will be ignored. + */ void connman_debug(const char *format, ...) { va_list ap; -- cgit v1.2.3