gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r28035 - gnunet/src/include
Date: Mon, 15 Jul 2013 10:27:00 +0200

Author: tg
Date: 2013-07-15 10:27:00 +0200 (Mon, 15 Jul 2013)
New Revision: 28035

Modified:
   gnunet/src/include/gnunet_psyc_service.h
   gnunet/src/include/gnunet_social_service.h
Log:
social: use the TransmitReadyNotify callback from the connection lib for 
transmissions

Modified: gnunet/src/include/gnunet_psyc_service.h
===================================================================
--- gnunet/src/include/gnunet_psyc_service.h    2013-07-15 07:54:18 UTC (rev 
28034)
+++ gnunet/src/include/gnunet_psyc_service.h    2013-07-15 08:27:00 UTC (rev 
28035)
@@ -416,8 +416,8 @@
  *         #GNUNET_YES if this completes the transmission (all data supplied).
  */
 typedef int (*GNUNET_PSYC_SlaveReadyNotify)(void *cls,
-                                            size_t *data_size,
-                                            char *data);
+                                            size_t *data_size,
+                                            char *data);
 
 
 /** 

Modified: gnunet/src/include/gnunet_social_service.h
===================================================================
--- gnunet/src/include/gnunet_social_service.h  2013-07-15 07:54:18 UTC (rev 
28034)
+++ gnunet/src/include/gnunet_social_service.h  2013-07-15 08:27:00 UTC (rev 
28035)
@@ -345,7 +345,7 @@
 GNUNET_SOCIAL_home_announce (struct GNUNET_SOCIAL_Home *home,
                              const char *method_name,
                              const struct GNUNET_ENV_Environment *env,
-                             GNUNET_PSYC_OriginReadyNotify notify,
+                             GNUNET_CONNECTION_TransmitReadyNotify notify,
                              void *notify_cls);
 
 
@@ -533,17 +533,17 @@
  *
  * @param place Place where we want to talk to the host.
  * @param method_name Method to invoke on the host.
- * @param cb Function to use to get the payload for the method.
- * @param cb_cls Closure for @a cb.
+ * @param notify Function to use to get the payload for the method.
+ * @param notifyv_cls Closure for @a notify.
  * @return NULL if we are already trying to talk to the host,
  *         otherwise handle to cancel the request.
  */
 struct GNUNET_SOCIAL_TalkRequest *
 GNUNET_SOCIAL_place_talk (struct GNUNET_SOCIAL_Place *place,
-                         const char *method_name,
+                          const char *method_name,
                           const struct GNUNET_ENV_Environment *env,
-                         GNUNET_PSYC_OriginReadyNotify cb,
-                         void *cb_cls);
+                          GNUNET_CONNECTION_TransmitReadyNotify notify,
+                          void *notify_cls);
 
 
 /** 




reply via email to

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