diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-25 16:42:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-25 16:42:00 +0000 |
commit | 6f8eede98c272b7312ff0e08b182f0a39b2846b9 (patch) | |
tree | 4587372a32aec7968f63a734241f8e21eaa89330 /src/util | |
parent | 084348cf917b4c117070f9811d8b9f9786d2d3fc (diff) | |
download | gnunet-6f8eede98c272b7312ff0e08b182f0a39b2846b9.tar.gz gnunet-6f8eede98c272b7312ff0e08b182f0a39b2846b9.zip |
-doxygen fixes
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/common_endian.c | 2 | ||||
-rw-r--r-- | src/util/disk.c | 6 | ||||
-rw-r--r-- | src/util/helper.c | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/util/common_endian.c b/src/util/common_endian.c index 1a2ddd9c1..56aa7b0c4 100644 --- a/src/util/common_endian.c +++ b/src/util/common_endian.c | |||
@@ -52,7 +52,7 @@ GNUNET_htonll (uint64_t n) | |||
52 | 52 | ||
53 | /** | 53 | /** |
54 | * Convert double to network-byte-order. | 54 | * Convert double to network-byte-order. |
55 | * @param n the value in network byte order | 55 | * @param d the value in network byte order |
56 | * @return the same value in host byte order | 56 | * @return the same value in host byte order |
57 | */ | 57 | */ |
58 | double | 58 | double |
diff --git a/src/util/disk.c b/src/util/disk.c index 7ce4f5808..a044482f1 100644 --- a/src/util/disk.c +++ b/src/util/disk.c | |||
@@ -1252,7 +1252,7 @@ GNUNET_DISK_directory_iterator_next (struct GNUNET_DISK_DirectoryIterator *iter, | |||
1252 | * @param dirName the name of the directory | 1252 | * @param dirName the name of the directory |
1253 | * @param callback the method to call for each file | 1253 | * @param callback the method to call for each file |
1254 | * @param callback_cls closure for callback | 1254 | * @param callback_cls closure for callback |
1255 | * @return GNUNET_YES if directory is not empty and @callback | 1255 | * @return GNUNET_YES if directory is not empty and 'callback' |
1256 | * will be called later, GNUNET_NO otherwise, GNUNET_SYSERR on error. | 1256 | * will be called later, GNUNET_NO otherwise, GNUNET_SYSERR on error. |
1257 | */ | 1257 | */ |
1258 | int | 1258 | int |
@@ -2113,10 +2113,10 @@ create_selectable_pipe (PHANDLE read_pipe_ptr, PHANDLE write_pipe_ptr, | |||
2113 | /** | 2113 | /** |
2114 | * Creates an interprocess channel | 2114 | * Creates an interprocess channel |
2115 | * | 2115 | * |
2116 | * @param blocking creates an asynchronous pipe if set to GNUNET_NO | 2116 | * @param blocking_read creates an asynchronous pipe for reading if set to GNUNET_NO |
2117 | * @param blocking_write creates an asynchronous pipe for writing if set to GNUNET_NO | ||
2117 | * @param inherit_read inherit the parent processes stdin (only for windows) | 2118 | * @param inherit_read inherit the parent processes stdin (only for windows) |
2118 | * @param inherit_write inherit the parent processes stdout (only for windows) | 2119 | * @param inherit_write inherit the parent processes stdout (only for windows) |
2119 | * | ||
2120 | * @return handle to the new pipe, NULL on error | 2120 | * @return handle to the new pipe, NULL on error |
2121 | */ | 2121 | */ |
2122 | struct GNUNET_DISK_PipeHandle * | 2122 | struct GNUNET_DISK_PipeHandle * |
diff --git a/src/util/helper.c b/src/util/helper.c index 6ebc3a444..c7e059237 100644 --- a/src/util/helper.c +++ b/src/util/helper.c | |||
@@ -216,14 +216,14 @@ restart_task (void *cls, | |||
216 | */ | 216 | */ |
217 | static void | 217 | static void |
218 | helper_read (void *cls, | 218 | helper_read (void *cls, |
219 | const struct GNUNET_SCHEDULER_TaskContext *tsdkctx) | 219 | const struct GNUNET_SCHEDULER_TaskContext *tc) |
220 | { | 220 | { |
221 | struct GNUNET_HELPER_Handle *h = cls; | 221 | struct GNUNET_HELPER_Handle *h = cls; |
222 | char buf[GNUNET_SERVER_MAX_MESSAGE_SIZE]; | 222 | char buf[GNUNET_SERVER_MAX_MESSAGE_SIZE]; |
223 | ssize_t t; | 223 | ssize_t t; |
224 | 224 | ||
225 | h->read_task = GNUNET_SCHEDULER_NO_TASK; | 225 | h->read_task = GNUNET_SCHEDULER_NO_TASK; |
226 | if (0 != (tsdkctx->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | 226 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) |
227 | { | 227 | { |
228 | /* try again */ | 228 | /* try again */ |
229 | h->read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, | 229 | h->read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, |
@@ -404,7 +404,7 @@ GNUNET_HELPER_stop (struct GNUNET_HELPER_Handle *h) | |||
404 | */ | 404 | */ |
405 | static void | 405 | static void |
406 | helper_write (void *cls, | 406 | helper_write (void *cls, |
407 | const struct GNUNET_SCHEDULER_TaskContext *tsdkctx) | 407 | const struct GNUNET_SCHEDULER_TaskContext *tc) |
408 | { | 408 | { |
409 | struct GNUNET_HELPER_Handle *h = cls; | 409 | struct GNUNET_HELPER_Handle *h = cls; |
410 | struct HelperMessageQueueEntry *qe; | 410 | struct HelperMessageQueueEntry *qe; |
@@ -412,7 +412,7 @@ helper_write (void *cls, | |||
412 | ssize_t t; | 412 | ssize_t t; |
413 | 413 | ||
414 | h->write_task = GNUNET_SCHEDULER_NO_TASK; | 414 | h->write_task = GNUNET_SCHEDULER_NO_TASK; |
415 | if (0 != (tsdkctx->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | 415 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) |
416 | { | 416 | { |
417 | /* try again */ | 417 | /* try again */ |
418 | h->write_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, | 418 | h->write_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, |