aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-01-22 15:52:40 +0000
committerChristian Grothoff <christian@grothoff.org>2010-01-22 15:52:40 +0000
commit48436941449d867ef9a32ddf29439c5017d37775 (patch)
treea34b1230ba7e4d2e9deea743dcfdb283f7f7b605 /src/include
parent87487477c67697355c79d2fe079d23a5b31c7ab6 (diff)
downloadgnunet-48436941449d867ef9a32ddf29439c5017d37775.tar.gz
gnunet-48436941449d867ef9a32ddf29439c5017d37775.zip
stuff
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_server_lib.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h
index 5609d7a9e..351c0a7c1 100644
--- a/src/include/gnunet_server_lib.h
+++ b/src/include/gnunet_server_lib.h
@@ -492,9 +492,23 @@ struct GNUNET_SERVER_TransmitContext
492 * @param type type of the message 492 * @param type type of the message
493 */ 493 */
494void 494void
495GNUNET_SERVER_transmit_context_append (struct GNUNET_SERVER_TransmitContext 495GNUNET_SERVER_transmit_context_append_data (struct GNUNET_SERVER_TransmitContext
496 *tc, const void *data, size_t length, 496 *tc, const void *data, size_t length,
497 uint16_t type); 497 uint16_t type);
498
499
500/**
501 * Append a message to the transmission context.
502 * All messages in the context will be sent by
503 * the transmit_context_run method.
504 *
505 * @param tc context to use
506 * @param msg message to append
507 */
508void
509GNUNET_SERVER_transmit_context_append_message (struct GNUNET_SERVER_TransmitContext
510 *tc, const struct GNUNET_MessageHeader *msg);
511
498 512
499/** 513/**
500 * Execute a transmission context. If there is 514 * Execute a transmission context. If there is