diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-01-26 08:52:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-01-26 08:52:37 +0000 |
commit | 8384033b4d63e8dff136dc67e9b207401a49246d (patch) | |
tree | 6c4d425d30b1a45099c144902e828d7ff7f425e3 /src/include/gnunet_common.h | |
parent | 92772c81534ce058c079f171244b289099d3fa3a (diff) | |
download | gnunet-8384033b4d63e8dff136dc67e9b207401a49246d.tar.gz gnunet-8384033b4d63e8dff136dc67e9b207401a49246d.zip |
indenting
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index dddee068a..73945a809 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -147,6 +147,7 @@ enum GNUNET_ErrorType | |||
147 | GNUNET_ERROR_TYPE_BULK = 32 | 147 | GNUNET_ERROR_TYPE_BULK = 32 |
148 | }; | 148 | }; |
149 | 149 | ||
150 | |||
150 | /** | 151 | /** |
151 | * User-defined handler for log messages. | 152 | * User-defined handler for log messages. |
152 | * | 153 | * |
@@ -208,6 +209,7 @@ int | |||
208 | GNUNET_log_setup (const char *comp, | 209 | GNUNET_log_setup (const char *comp, |
209 | const char *loglevel, const char *logfile); | 210 | const char *loglevel, const char *logfile); |
210 | 211 | ||
212 | |||
211 | /** | 213 | /** |
212 | * Add a custom logger. | 214 | * Add a custom logger. |
213 | * | 215 | * |
@@ -216,6 +218,7 @@ GNUNET_log_setup (const char *comp, | |||
216 | */ | 218 | */ |
217 | void GNUNET_logger_add (GNUNET_Logger logger, void *logger_cls); | 219 | void GNUNET_logger_add (GNUNET_Logger logger, void *logger_cls); |
218 | 220 | ||
221 | |||
219 | /** | 222 | /** |
220 | * Remove a custom logger. | 223 | * Remove a custom logger. |
221 | * | 224 | * |
@@ -235,6 +238,7 @@ void GNUNET_logger_remove (GNUNET_Logger logger, void *logger_cls); | |||
235 | */ | 238 | */ |
236 | const char *GNUNET_h2s (const GNUNET_HashCode *hc); | 239 | const char *GNUNET_h2s (const GNUNET_HashCode *hc); |
237 | 240 | ||
241 | |||
238 | /** | 242 | /** |
239 | * Convert a hash value to a string (for printing debug messages). | 243 | * Convert a hash value to a string (for printing debug messages). |
240 | * This prints all 104 characters of a hashcode! | 244 | * This prints all 104 characters of a hashcode! |
@@ -246,6 +250,7 @@ const char *GNUNET_h2s (const GNUNET_HashCode *hc); | |||
246 | */ | 250 | */ |
247 | const char *GNUNET_h2s_full (const GNUNET_HashCode *hc); | 251 | const char *GNUNET_h2s_full (const GNUNET_HashCode *hc); |
248 | 252 | ||
253 | |||
249 | /** | 254 | /** |
250 | * Convert a peer identity to a string (for printing debug messages). | 255 | * Convert a peer identity to a string (for printing debug messages). |
251 | * This is one of the very few calls in the entire API that is | 256 | * This is one of the very few calls in the entire API that is |
@@ -279,6 +284,7 @@ const char *GNUNET_a2s (const struct sockaddr *addr, | |||
279 | */ | 284 | */ |
280 | const char *GNUNET_error_type_to_string (enum GNUNET_ErrorType kind); | 285 | const char *GNUNET_error_type_to_string (enum GNUNET_ErrorType kind); |
281 | 286 | ||
287 | |||
282 | /** | 288 | /** |
283 | * Use this for fatal errors that cannot be handled | 289 | * Use this for fatal errors that cannot be handled |
284 | */ | 290 | */ |