diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-14 01:25:48 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-14 01:25:48 +0200 |
commit | a6d8f4bb835dc01344861e26b78867273322cb52 (patch) | |
tree | 36c4cea88536c8015563abf2991d8313966af229 /src/log.c | |
parent | b5fc727db22139bb3f28367d1f31f241ccc1e236 (diff) | |
download | connman-a6d8f4bb835dc01344861e26b78867273322cb52.tar.gz connman-a6d8f4bb835dc01344861e26b78867273322cb52.tar.bz2 connman-a6d8f4bb835dc01344861e26b78867273322cb52.zip |
First steps into providing API documentation
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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; |