aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-07 23:46:34 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-07 23:46:34 +0100
commit831572e37e88c219e13d558d9abac23160a10741 (patch)
tree726f7c67352519ecf584ad3b6fcbcfc22ccbec55
parent0e592870059883b779d02a14fa5ea13be5f50595 (diff)
downloadgnunet-831572e37e88c219e13d558d9abac23160a10741.tar.gz
gnunet-831572e37e88c219e13d558d9abac23160a10741.zip
remove dead APItaler-0.2.1
-rw-r--r--src/include/gnunet_core_service.h53
1 files changed, 1 insertions, 52 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index 8136770b7..ace223c11 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2009-2014, 2016 GNUnet e.V. 3 Copyright (C) 2009-2017 GNUnet e.V.
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -197,57 +197,6 @@ GNUNET_CORE_get_mq (const struct GNUNET_CORE_Handle *h,
197 197
198 198
199/** 199/**
200 * Handle for a transmission request.
201 */
202struct GNUNET_CORE_TransmitHandle;
203
204
205/**
206 * Ask the core to call @a notify once it is ready to transmit the
207 * given number of bytes to the specified @a target. Must only be
208 * called after a connection to the respective peer has been
209 * established (and the client has been informed about this). You may
210 * have one request of this type pending for each connected peer at
211 * any time. If a peer disconnects, the application MUST call
212 * #GNUNET_CORE_notify_transmit_ready_cancel() on the respective
213 * transmission request, if one such request is pending.
214 *
215 * @param handle connection to core service
216 * @param cork is corking allowed for this transmission?
217 * @param priority how important is the message?
218 * @param maxdelay how long can the message wait? Only effective if @a cork is #GNUNET_YES
219 * @param target who should receive the message, never NULL (can be this peer's identity for loopback)
220 * @param notify_size how many bytes of buffer space does @a notify want?
221 * @param notify function to call when buffer space is available;
222 * will be called with NULL on timeout; clients MUST cancel
223 * all pending transmission requests DURING the disconnect
224 * handler
225 * @param notify_cls closure for @a notify
226 * @return non-NULL if the notify callback was queued,
227 * NULL if we can not even queue the request (request already pending);
228 * if NULL is returned, @a notify will NOT be called.
229 */
230struct GNUNET_CORE_TransmitHandle *
231GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle,
232 int cork,
233 enum GNUNET_CORE_Priority priority,
234 struct GNUNET_TIME_Relative maxdelay,
235 const struct GNUNET_PeerIdentity *target,
236 size_t notify_size,
237 GNUNET_CONNECTION_TransmitReadyNotify notify,
238 void *notify_cls);
239
240
241/**
242 * Cancel the specified transmission-ready notification.
243 *
244 * @param th handle that was returned by #GNUNET_CORE_notify_transmit_ready().
245 */
246void
247GNUNET_CORE_notify_transmit_ready_cancel (struct GNUNET_CORE_TransmitHandle *th);
248
249
250/**
251 * Handle to a CORE monitoring operation. 200 * Handle to a CORE monitoring operation.
252 */ 201 */
253struct GNUNET_CORE_MonitorHandle; 202struct GNUNET_CORE_MonitorHandle;