aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_mhd_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_mhd_lib.h')
-rw-r--r--src/include/taler_mhd_lib.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/taler_mhd_lib.h b/src/include/taler_mhd_lib.h
index 0e30d6600..3af413fa8 100644
--- a/src/include/taler_mhd_lib.h
+++ b/src/include/taler_mhd_lib.h
@@ -468,6 +468,35 @@ TALER_MHD_bind (const struct GNUNET_CONFIGURATION_Handle *cfg,
468 468
469 469
470/** 470/**
471 * Start to run an event loop for @a daemon.
472 * Only one daemon can be running per process
473 * using this API.
474 *
475 * @param daemon the MHD service to run
476 */
477void
478TALER_MHD_daemon_start (struct MHD_Daemon *daemon);
479
480
481/**
482 * Stop running the event loop for MHD.
483 *
484 * @return the daemon that we were previously running,
485 * or NULL if none was active
486 */
487struct MHD_Daemon *
488TALER_MHD_daemon_stop (void);
489
490
491/**
492 * Trigger MHD daemon that is running. Needed when
493 * a connection was resumed.
494 */
495void
496TALER_MHD_daemon_trigger (void);
497
498
499/**
471 * Prepared responses for legal documents 500 * Prepared responses for legal documents
472 * (terms of service, privacy policy). 501 * (terms of service, privacy policy).
473 */ 502 */