diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-04 14:10:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-04 14:10:32 +0000 |
commit | cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9 (patch) | |
tree | 5cb37c041743daff5af528dbbe24f5c563ce702e /src/include/gnunet_service_lib.h | |
parent | b91546a3de767292e6472c6b1927480adba43d88 (diff) | |
download | gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.tar.gz gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.zip |
bugfixes and redesigning scheduler API
Diffstat (limited to 'src/include/gnunet_service_lib.h')
-rw-r--r-- | src/include/gnunet_service_lib.h | 17 |
1 files changed, 1 insertions, 16 deletions
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 | |||
@@ -55,18 +55,6 @@ typedef void (*GNUNET_SERVICE_Main) (void *cls, | |||
55 | 55 | ||
56 | 56 | ||
57 | /** | 57 | /** |
58 | * Function called when the service shuts | ||
59 | * down to run service-specific teardown code. | ||
60 | * | ||
61 | * @param cls closure | ||
62 | * @param cfg configuration to use | ||
63 | */ | ||
64 | typedef void (*GNUNET_SERVICE_Term) (void *cls, | ||
65 | const struct GNUNET_CONFIGURATION_Handle * | ||
66 | cfg); | ||
67 | |||
68 | |||
69 | /** | ||
70 | * Run a standard GNUnet service startup sequence (initialize loggers | 58 | * Run a standard GNUnet service startup sequence (initialize loggers |
71 | * and configuration, parse options). | 59 | * and configuration, parse options). |
72 | * | 60 | * |
@@ -75,8 +63,6 @@ typedef void (*GNUNET_SERVICE_Term) (void *cls, | |||
75 | * @param serviceName our service name | 63 | * @param serviceName our service name |
76 | * @param task main task of the service | 64 | * @param task main task of the service |
77 | * @param task_cls closure for task | 65 | * @param task_cls closure for task |
78 | * @param term termination task of the service | ||
79 | * @param term_cls closure for term | ||
80 | * @return GNUNET_SYSERR on error, GNUNET_OK | 66 | * @return GNUNET_SYSERR on error, GNUNET_OK |
81 | * if we shutdown nicely | 67 | * if we shutdown nicely |
82 | */ | 68 | */ |
@@ -84,8 +70,7 @@ int GNUNET_SERVICE_run (int argc, | |||
84 | char *const *argv, | 70 | char *const *argv, |
85 | const char *serviceName, | 71 | const char *serviceName, |
86 | GNUNET_SERVICE_Main task, | 72 | GNUNET_SERVICE_Main task, |
87 | void *task_cls, | 73 | void *task_cls); |
88 | GNUNET_SERVICE_Term term, void *term_cls); | ||
89 | 74 | ||
90 | 75 | ||
91 | struct GNUNET_SERVICE_Context; | 76 | struct GNUNET_SERVICE_Context; |