aboutsummaryrefslogtreecommitdiff
path: root/src/arm
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-03-15 07:05:20 +0000
committerLRN <lrn1986@gmail.com>2013-03-15 07:05:20 +0000
commit44f07a618e64d94b03e3a1be7812a1721aa63902 (patch)
tree595ac1f17f010ab5ea776495f1f25218ffb7cc92 /src/arm
parent56ab0c2d6838d7085c7d08e21d6e624e65d3a522 (diff)
downloadgnunet-44f07a618e64d94b03e3a1be7812a1721aa63902.tar.gz
gnunet-44f07a618e64d94b03e3a1be7812a1721aa63902.zip
Docfixes
Diffstat (limited to 'src/arm')
-rw-r--r--src/arm/gnunet-arm.c4
-rw-r--r--src/arm/gnunet-service-arm.c5
2 files changed, 8 insertions, 1 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 */
252void 253static void
253conn_status (void *cls, struct GNUNET_ARM_Handle *arm, unsigned char connected, unsigned char error) 254conn_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 */
343static void 346static void
344broadcast_status (const char *name, enum GNUNET_ARM_ServiceStatus status, 347broadcast_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 */
378static void 383static void
379start_process (struct ServiceList *sl, struct GNUNET_SERVER_Client *client, uint64_t request_id) 384start_process (struct ServiceList *sl, struct GNUNET_SERVER_Client *client, uint64_t request_id)