From cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 4 Nov 2009 14:10:32 +0000 Subject: bugfixes and redesigning scheduler API --- src/include/gnunet_service_lib.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/include/gnunet_service_lib.h') diff --git a/src/include/gnunet_service_lib.h b/src/include/gnunet_service_lib.h index 0c69d297c..82089954e 100644 --- a/src/include/gnunet_service_lib.h +++ b/src/include/gnunet_service_lib.h @@ -54,18 +54,6 @@ typedef void (*GNUNET_SERVICE_Main) (void *cls, cfg); -/** - * Function called when the service shuts - * down to run service-specific teardown code. - * - * @param cls closure - * @param cfg configuration to use - */ -typedef void (*GNUNET_SERVICE_Term) (void *cls, - const struct GNUNET_CONFIGURATION_Handle * - cfg); - - /** * Run a standard GNUnet service startup sequence (initialize loggers * and configuration, parse options). @@ -75,8 +63,6 @@ typedef void (*GNUNET_SERVICE_Term) (void *cls, * @param serviceName our service name * @param task main task of the service * @param task_cls closure for task - * @param term termination task of the service - * @param term_cls closure for term * @return GNUNET_SYSERR on error, GNUNET_OK * if we shutdown nicely */ @@ -84,8 +70,7 @@ int GNUNET_SERVICE_run (int argc, char *const *argv, const char *serviceName, GNUNET_SERVICE_Main task, - void *task_cls, - GNUNET_SERVICE_Term term, void *term_cls); + void *task_cls); struct GNUNET_SERVICE_Context; -- cgit v1.2.3