aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dht_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_dht_service.h')
-rw-r--r--src/include/gnunet_dht_service.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h
index d798482e3..a4c63889e 100644
--- a/src/include/gnunet_dht_service.h
+++ b/src/include/gnunet_dht_service.h
@@ -142,22 +142,6 @@ struct GNUNET_DHT_PutHandle;
142 142
143 143
144/** 144/**
145 * Type of a PUT continuation. You must not call
146 * #GNUNET_DHT_disconnect in this continuation.
147 *
148 * @param cls closure
149 * @param success #GNUNET_OK if the PUT was transmitted,
150 * #GNUNET_NO on timeout,
151 * #GNUNET_SYSERR on disconnect from service
152 * after the PUT message was transmitted
153 * (so we don't know if it was received or not)
154 */
155typedef void
156(*GNUNET_DHT_PutContinuation)(void *cls,
157 int success);
158
159
160/**
161 * Perform a PUT operation storing data in the DHT. 145 * Perform a PUT operation storing data in the DHT.
162 * 146 *
163 * @param handle handle to DHT service 147 * @param handle handle to DHT service
@@ -184,7 +168,7 @@ GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle,
184 size_t size, 168 size_t size,
185 const void *data, 169 const void *data,
186 struct GNUNET_TIME_Absolute exp, 170 struct GNUNET_TIME_Absolute exp,
187 GNUNET_DHT_PutContinuation cont, 171 GNUNET_SCHEDULER_TaskCallback cont,
188 void *cont_cls); 172 void *cont_cls);
189 173
190 174