gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19432 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r19432 - gnunet/src/include
Date: Thu, 26 Jan 2012 14:12:03 +0100

Author: wachs
Date: 2012-01-26 14:12:03 +0100 (Thu, 26 Jan 2012)
New Revision: 19432

Modified:
   gnunet/src/include/gnunet_transport_plugin.h
Log:
- missing


Modified: gnunet/src/include/gnunet_transport_plugin.h
===================================================================
--- gnunet/src/include/gnunet_transport_plugin.h        2012-01-26 13:10:13 UTC 
(rev 19431)
+++ gnunet/src/include/gnunet_transport_plugin.h        2012-01-26 13:12:03 UTC 
(rev 19432)
@@ -373,16 +373,11 @@
  *         and does NOT mean that the message was not transmitted (DV)
  */
 typedef ssize_t (*GNUNET_TRANSPORT_TransmitFunctionWithSession) (void *cls,
-                                                      const struct
-                                                      GNUNET_PeerIdentity *
-                                                      target,
-                                                      const char *msgbuf,
-                                                      size_t msgbuf_size,
-                                                      uint32_t priority,
-                                                      struct 
GNUNET_TIME_Relative timeout,
-                                                      struct Session * session,
-                                                      
GNUNET_TRANSPORT_TransmitContinuation
-                                                      cont, void *cont_cls);
+    struct Session *session,
+    const char *msgbuf, size_t msgbuf_size,
+    unsigned int priority,
+    struct GNUNET_TIME_Relative to,
+    GNUNET_TRANSPORT_TransmitContinuation cont, void *cont_cls);
 
 
 /**
@@ -467,16 +462,14 @@
  * This session will used to send data to this peer and the plugin will
  * notify us by calling the env->session_end function
  *
- * @param cls closure
+ * @param cls the plugin
  * @param target the neighbour id
  * @param addr pointer to the address
  * @param addrlen length of addr
  * @return the session if the address is valid, NULL otherwise
  */
-typedef const void * (*GNUNET_TRANSPORT_CreateSession) (void *cls,
-                                                  const struct 
GNUNET_PeerIdentity *target,
-                                                  const void *addr,
-                                                  size_t addrlen);
+typedef struct Session * (*GNUNET_TRANSPORT_CreateSession) (void *cls,
+                      const struct GNUNET_HELLO_Address *address);
 
 
 /**
@@ -558,7 +551,7 @@
    * Function that will be called tell the plugin to create a session
    * object
    */
-  GNUNET_TRANSPORT_CreateSession create_session;
+  GNUNET_TRANSPORT_CreateSession get_session;
 };
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]