From 44f07a618e64d94b03e3a1be7812a1721aa63902 Mon Sep 17 00:00:00 2001 From: LRN Date: Fri, 15 Mar 2013 07:05:20 +0000 Subject: [PATCH] Docfixes --- src/arm/gnunet-arm.c | 4 +++- src/arm/gnunet-service-arm.c | 5 +++++ src/include/gnunet_disk_lib.h | 2 +- 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 * Function called whenever we connect to or disconnect from ARM. * * @param cls closure + * @param arm handle to the ARM connection * @param connected GNUNET_YES if connected, GNUNET_NO if disconnected * @param error GNUNET_YES if we encountered a permanent error, and there * will be no re-connection. */ -void +static void conn_status (void *cls, struct GNUNET_ARM_Handle *arm, unsigned char connected, unsigned char error) { if (GNUNET_YES == error) @@ -504,6 +505,7 @@ action_loop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) * Function called when a service starts or stops. * * @param cls closure + * @param arm handle to the ARM connection * @param service service name * @param status status of the service */ 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) * * @param client who is being signalled * @param name name of the service + * @param request_id id of the request that is being responded to. * @param result message type to send * @return NULL if it was not found */ @@ -339,6 +340,8 @@ signal_result (struct GNUNET_SERVER_Client *client, const char *name, * * @param name name of the service * @param status message type to send + * @param unicast if not NULL, send to this client only. + * otherwise, send to all clients in the notifier */ static void broadcast_status (const char *name, enum GNUNET_ARM_ServiceStatus status, @@ -374,6 +377,8 @@ broadcast_status (const char *name, enum GNUNET_ARM_ServiceStatus status, * * @param sl identifies service to start * @param client that asked to start the service (may be NULL) + * @param request_id id of the request in response to which the process is + * being started. 0 if starting was not requested. */ static void 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); /** * Get a handle from a native integer FD. * - * @param fd native integer file descriptor + * @param fno native integer file descriptor * @return file handle corresponding to the descriptor */ 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, * Writes the pseudonym infomation into a file * * @param cfg overall configuration - * @param nsid id of the pseudonym + * @param pseudonym id of the pseudonym * @param name name to set. Must be the non-unique version of it. * May be NULL, in which case it erases pseudonym's name! * @param md metadata to set @@ -284,7 +284,7 @@ GNUNET_PSEUDONYM_set_info (const struct GNUNET_CONFIGURATION_Handle *cfg, * Read pseudonym infomation from a file * * @param cfg configuration to use - * @param nsid hash code of a pseudonym + * @param pseudonym hash code of a pseudonym * @param meta meta data to be read from a file * @param rank rank of a pseudonym * @param ns_name name of a pseudonym -- 2.25.1