aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_stream_lib.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2013-05-22 10:29:15 +0000
committerFlorian Dold <florian.dold@gmail.com>2013-05-22 10:29:15 +0000
commit4289fca5aeefd0652ae60bc16f90ed911c7e1c60 (patch)
treeda266c48ada44f11ce88a38833960b0eb08c1c5d /src/include/gnunet_stream_lib.h
parent3418f171c455980c99ac6363a74116243bddede6 (diff)
downloadgnunet-4289fca5aeefd0652ae60bc16f90ed911c7e1c60.tar.gz
gnunet-4289fca5aeefd0652ae60bc16f90ed911c7e1c60.zip
- moved MQ to util
- MQ support for stream - set api - starting to use set for consensus
Diffstat (limited to 'src/include/gnunet_stream_lib.h')
-rw-r--r--src/include/gnunet_stream_lib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_stream_lib.h b/src/include/gnunet_stream_lib.h
index 056695ba3..ece60c033 100644
--- a/src/include/gnunet_stream_lib.h
+++ b/src/include/gnunet_stream_lib.h
@@ -395,6 +395,21 @@ void
395GNUNET_STREAM_read_cancel (struct GNUNET_STREAM_ReadHandle *rh); 395GNUNET_STREAM_read_cancel (struct GNUNET_STREAM_ReadHandle *rh);
396 396
397 397
398/**
399 * Create a message queue for a stream socket.
400 *
401 * @param socket the socket to read/write in the message queue
402 * @param msg_handlers message handler array
403 * @param error_handler callback for errors
404 * @return the message queue for the socket
405 */
406struct GNUNET_MQ_MessageQueue *
407GNUNET_STREAM_mq_create (struct GNUNET_STREAM_Socket *socket,
408 const struct GNUNET_MQ_Handler *msg_handlers,
409 GNUNET_MQ_ErrorHandler error_handler,
410 void *cls);
411
412
398#if 0 413#if 0
399{ 414{
400#endif 415#endif