diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-08-29 11:27:21 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-08-29 11:27:21 +0000 |
commit | 6ad7f6037f6c56b0225118b6a641d66c16263f3a (patch) | |
tree | 52cd9e52c8ed7ebad3fb21c71d9e886c6ccdd2c2 /src/include/gnunet_service_lib.h | |
parent | e05d5770a919fc617b87cbea87d81ba14e33ad18 (diff) | |
download | gnunet-6ad7f6037f6c56b0225118b6a641d66c16263f3a.tar.gz gnunet-6ad7f6037f6c56b0225118b6a641d66c16263f3a.zip |
docs for service api
Diffstat (limited to 'src/include/gnunet_service_lib.h')
-rw-r--r-- | src/include/gnunet_service_lib.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/include/gnunet_service_lib.h b/src/include/gnunet_service_lib.h index a3ad76f60..85b8f5f9c 100644 --- a/src/include/gnunet_service_lib.h +++ b/src/include/gnunet_service_lib.h | |||
@@ -355,29 +355,32 @@ GNUNET_SERVICE_ruN_ (int argc, | |||
355 | 355 | ||
356 | 356 | ||
357 | /** | 357 | /** |
358 | * Suspend accepting connections from the listen socket temporarily. | ||
359 | * Resume activity using #GNUNET_SERVICE_resume. | ||
358 | * | 360 | * |
359 | * @param sh | 361 | * @param sh service to stop accepting connections. |
360 | */ | 362 | */ |
361 | void | 363 | void |
362 | GNUNET_SERVICE_suspend (struct GNUNET_SERVICE_Handle *sh); | 364 | GNUNET_SERVICE_suspend (struct GNUNET_SERVICE_Handle *sh); |
363 | 365 | ||
364 | /** | 366 | /** |
367 | * Resume accepting connections from the listen socket. | ||
365 | * | 368 | * |
366 | * @param sh | 369 | * @param sh service to resume accepting connections. |
367 | */ | 370 | */ |
368 | void | 371 | void |
369 | GNUNET_SERVICE_resume (struct GNUNET_SERVICE_Handle *sh); | 372 | GNUNET_SERVICE_resume (struct GNUNET_SERVICE_Handle *sh); |
370 | 373 | ||
371 | /** | 374 | /** |
375 | * Continue receiving further messages from the given client. | ||
376 | * Must be called after each message received. | ||
372 | * | 377 | * |
373 | * @param c | 378 | * @param c the client to continue receiving from |
374 | */ | 379 | */ |
375 | void | 380 | void |
376 | GNUNET_SERVICE_client_continue (struct GNUNET_SERVICE_Client *c); | 381 | GNUNET_SERVICE_client_continue (struct GNUNET_SERVICE_Client *c); |
377 | 382 | ||
378 | /** | 383 | /** |
379 | * | ||
380 | * @param c | ||
381 | */ | 384 | */ |
382 | void | 385 | void |
383 | GNUNET_SERVICE_client_disable_continue_warning (struct GNUNET_SERVICE_Client *c); | 386 | GNUNET_SERVICE_client_disable_continue_warning (struct GNUNET_SERVICE_Client *c); |