[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r19547 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r19547 - gnunet/src/include |
Date: |
Mon, 30 Jan 2012 21:41:35 +0100 |
Author: harsha
Date: 2012-01-30 21:41:35 +0100 (Mon, 30 Jan 2012)
New Revision: 19547
Modified:
gnunet/src/include/gnunet_stream_lib.h
Log:
-added configuration parameter
Modified: gnunet/src/include/gnunet_stream_lib.h
===================================================================
--- gnunet/src/include/gnunet_stream_lib.h 2012-01-30 19:03:16 UTC (rev
19546)
+++ gnunet/src/include/gnunet_stream_lib.h 2012-01-30 20:41:35 UTC (rev
19547)
@@ -105,6 +105,7 @@
/**
* Tries to open a stream to the target peer
*
+ * @param cfg configuration to use
* @param target the target peer to which the stream has to be opened
* @param app_port the application port number which uniquely identifies this
* stream
@@ -115,7 +116,8 @@
* opened
*/
struct GNUNET_STREAM_Socket *
-GNUNET_STREAM_open (const struct GNUNET_PeerIdentity *target,
+GNUNET_STREAM_open (const struct GNUNET_CONFIGURATION_Handle *cfg,
+ const struct GNUNET_PeerIdentity *target,
GNUNET_MESH_ApplicationType app_port,
GNUNET_STREAM_OpenCallback open_cb,
void *open_cb_cls,
@@ -166,6 +168,7 @@
/**
* Listens for stream connections for a specific application ports
*
+ * @param cfg the configuration to use
* @param app_port the application port for which new streams will be accepted
* @param listen_cb this function will be called when a peer tries to establish
* a stream with us
@@ -173,7 +176,8 @@
* @return listen socket, NULL for any error
*/
struct GNUNET_STREAM_ListenSocket *
-GNUNET_STREAM_listen (GNUNET_MESH_ApplicationType app_port,
+GNUNET_STREAM_listen (const struct GNUNET_CONFIGURATION_Handle *cfg,
+ GNUNET_MESH_ApplicationType app_port,
GNUNET_STREAM_ListenCallback listen_cb,
void *listen_cb_cls);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r19547 - gnunet/src/include,
gnunet <=