diff options
author | LRN <lrn1986@gmail.com> | 2013-03-15 07:05:20 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-03-15 07:05:20 +0000 |
commit | 44f07a618e64d94b03e3a1be7812a1721aa63902 (patch) | |
tree | 595ac1f17f010ab5ea776495f1f25218ffb7cc92 /src | |
parent | 56ab0c2d6838d7085c7d08e21d6e624e65d3a522 (diff) | |
download | gnunet-44f07a618e64d94b03e3a1be7812a1721aa63902.tar.gz gnunet-44f07a618e64d94b03e3a1be7812a1721aa63902.zip |
Docfixes
Diffstat (limited to 'src')
-rw-r--r-- | src/arm/gnunet-arm.c | 4 | ||||
-rw-r--r-- | src/arm/gnunet-service-arm.c | 5 | ||||
-rw-r--r-- | src/include/gnunet_disk_lib.h | 2 | ||||
-rw-r--r-- | src/util/pseudonym.c | 4 |
4 files changed, 11 insertions, 4 deletions
diff --git a/src/arm/gnunet-arm.c b/src/arm/gnunet-arm.c index 12a280c45..f1a4cc4bb 100644 --- a/src/arm/gnunet-arm.c +++ b/src/arm/gnunet-arm.c | |||
@@ -245,11 +245,12 @@ static void action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *t | |||
245 | * Function called whenever we connect to or disconnect from ARM. | 245 | * Function called whenever we connect to or disconnect from ARM. |
246 | * | 246 | * |
247 | * @param cls closure | 247 | * @param cls closure |
248 | * @param arm handle to the ARM connection | ||
248 | * @param connected GNUNET_YES if connected, GNUNET_NO if disconnected | 249 | * @param connected GNUNET_YES if connected, GNUNET_NO if disconnected |
249 | * @param error GNUNET_YES if we encountered a permanent error, and there | 250 | * @param error GNUNET_YES if we encountered a permanent error, and there |
250 | * will be no re-connection. | 251 | * will be no re-connection. |
251 | */ | 252 | */ |
252 | void | 253 | static void |
253 | conn_status (void *cls, struct GNUNET_ARM_Handle *arm, unsigned char connected, unsigned char error) | 254 | conn_status (void *cls, struct GNUNET_ARM_Handle *arm, unsigned char connected, unsigned char error) |
254 | { | 255 | { |
255 | if (GNUNET_YES == error) | 256 | if (GNUNET_YES == error) |
@@ -504,6 +505,7 @@ action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
504 | * Function called when a service starts or stops. | 505 | * Function called when a service starts or stops. |
505 | * | 506 | * |
506 | * @param cls closure | 507 | * @param cls closure |
508 | * @param arm handle to the ARM connection | ||
507 | * @param service service name | 509 | * @param service service name |
508 | * @param status status of the service | 510 | * @param status status of the service |
509 | */ | 511 | */ |
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c index bd9050e10..0406a96e2 100644 --- a/src/arm/gnunet-service-arm.c +++ b/src/arm/gnunet-service-arm.c | |||
@@ -312,6 +312,7 @@ write_list_result (void *cls, size_t size, void *buf) | |||
312 | * | 312 | * |
313 | * @param client who is being signalled | 313 | * @param client who is being signalled |
314 | * @param name name of the service | 314 | * @param name name of the service |
315 | * @param request_id id of the request that is being responded to. | ||
315 | * @param result message type to send | 316 | * @param result message type to send |
316 | * @return NULL if it was not found | 317 | * @return NULL if it was not found |
317 | */ | 318 | */ |
@@ -339,6 +340,8 @@ signal_result (struct GNUNET_SERVER_Client *client, const char *name, | |||
339 | * | 340 | * |
340 | * @param name name of the service | 341 | * @param name name of the service |
341 | * @param status message type to send | 342 | * @param status message type to send |
343 | * @param unicast if not NULL, send to this client only. | ||
344 | * otherwise, send to all clients in the notifier | ||
342 | */ | 345 | */ |
343 | static void | 346 | static void |
344 | broadcast_status (const char *name, enum GNUNET_ARM_ServiceStatus status, | 347 | broadcast_status (const char *name, enum GNUNET_ARM_ServiceStatus status, |
@@ -374,6 +377,8 @@ broadcast_status (const char *name, enum GNUNET_ARM_ServiceStatus status, | |||
374 | * | 377 | * |
375 | * @param sl identifies service to start | 378 | * @param sl identifies service to start |
376 | * @param client that asked to start the service (may be NULL) | 379 | * @param client that asked to start the service (may be NULL) |
380 | * @param request_id id of the request in response to which the process is | ||
381 | * being started. 0 if starting was not requested. | ||
377 | */ | 382 | */ |
378 | static void | 383 | static void |
379 | start_process (struct ServiceList *sl, struct GNUNET_SERVER_Client *client, uint64_t request_id) | 384 | start_process (struct ServiceList *sl, struct GNUNET_SERVER_Client *client, uint64_t request_id) |
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 2e1276374..427b55c08 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h | |||
@@ -519,7 +519,7 @@ GNUNET_DISK_get_handle_from_w32_handle (HANDLE osfh); | |||
519 | /** | 519 | /** |
520 | * Get a handle from a native integer FD. | 520 | * Get a handle from a native integer FD. |
521 | * | 521 | * |
522 | * @param fd native integer file descriptor | 522 | * @param fno native integer file descriptor |
523 | * @return file handle corresponding to the descriptor | 523 | * @return file handle corresponding to the descriptor |
524 | */ | 524 | */ |
525 | struct GNUNET_DISK_FileHandle * | 525 | struct GNUNET_DISK_FileHandle * |
diff --git a/src/util/pseudonym.c b/src/util/pseudonym.c index 47fe36ddc..994373052 100644 --- a/src/util/pseudonym.c +++ b/src/util/pseudonym.c | |||
@@ -230,7 +230,7 @@ get_data_filename_hash (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
230 | * Writes the pseudonym infomation into a file | 230 | * Writes the pseudonym infomation into a file |
231 | * | 231 | * |
232 | * @param cfg overall configuration | 232 | * @param cfg overall configuration |
233 | * @param nsid id of the pseudonym | 233 | * @param pseudonym id of the pseudonym |
234 | * @param name name to set. Must be the non-unique version of it. | 234 | * @param name name to set. Must be the non-unique version of it. |
235 | * May be NULL, in which case it erases pseudonym's name! | 235 | * May be NULL, in which case it erases pseudonym's name! |
236 | * @param md metadata to set | 236 | * @param md metadata to set |
@@ -284,7 +284,7 @@ GNUNET_PSEUDONYM_set_info (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
284 | * Read pseudonym infomation from a file | 284 | * Read pseudonym infomation from a file |
285 | * | 285 | * |
286 | * @param cfg configuration to use | 286 | * @param cfg configuration to use |
287 | * @param nsid hash code of a pseudonym | 287 | * @param pseudonym hash code of a pseudonym |
288 | * @param meta meta data to be read from a file | 288 | * @param meta meta data to be read from a file |
289 | * @param rank rank of a pseudonym | 289 | * @param rank rank of a pseudonym |
290 | * @param ns_name name of a pseudonym | 290 | * @param ns_name name of a pseudonym |