aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-07-15 08:27:00 +0000
committerGabor X Toth <*@tg-x.net>2013-07-15 08:27:00 +0000
commit27b0a68e9260e345e3ff712c8ea64db1b8b535e2 (patch)
tree9895f7d88fd3437e103ec8de488be25fe5da6aa0 /src
parenta34643853662890750a0440f0fae4be55a4652ac (diff)
downloadgnunet-27b0a68e9260e345e3ff712c8ea64db1b8b535e2.tar.gz
gnunet-27b0a68e9260e345e3ff712c8ea64db1b8b535e2.zip
social: use the TransmitReadyNotify callback from the connection lib for transmissions
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_psyc_service.h4
-rw-r--r--src/include/gnunet_social_service.h12
2 files changed, 8 insertions, 8 deletions
diff --git a/src/include/gnunet_psyc_service.h b/src/include/gnunet_psyc_service.h
index 0882a3b02..8016ea498 100644
--- a/src/include/gnunet_psyc_service.h
+++ b/src/include/gnunet_psyc_service.h
@@ -416,8 +416,8 @@ GNUNET_PSYC_slave_part (struct GNUNET_PSYC_Slave *slave);
416 * #GNUNET_YES if this completes the transmission (all data supplied). 416 * #GNUNET_YES if this completes the transmission (all data supplied).
417 */ 417 */
418typedef int (*GNUNET_PSYC_SlaveReadyNotify)(void *cls, 418typedef int (*GNUNET_PSYC_SlaveReadyNotify)(void *cls,
419 size_t *data_size, 419 size_t *data_size,
420 char *data); 420 char *data);
421 421
422 422
423/** 423/**
diff --git a/src/include/gnunet_social_service.h b/src/include/gnunet_social_service.h
index df98a7d4a..1e9dfc459 100644
--- a/src/include/gnunet_social_service.h
+++ b/src/include/gnunet_social_service.h
@@ -345,7 +345,7 @@ struct GNUNET_SOCIAL_Announcement *
345GNUNET_SOCIAL_home_announce (struct GNUNET_SOCIAL_Home *home, 345GNUNET_SOCIAL_home_announce (struct GNUNET_SOCIAL_Home *home,
346 const char *method_name, 346 const char *method_name,
347 const struct GNUNET_ENV_Environment *env, 347 const struct GNUNET_ENV_Environment *env,
348 GNUNET_PSYC_OriginReadyNotify notify, 348 GNUNET_CONNECTION_TransmitReadyNotify notify,
349 void *notify_cls); 349 void *notify_cls);
350 350
351 351
@@ -533,17 +533,17 @@ struct GNUNET_SOCIAL_TalkRequest;
533 * 533 *
534 * @param place Place where we want to talk to the host. 534 * @param place Place where we want to talk to the host.
535 * @param method_name Method to invoke on the host. 535 * @param method_name Method to invoke on the host.
536 * @param cb Function to use to get the payload for the method. 536 * @param notify Function to use to get the payload for the method.
537 * @param cb_cls Closure for @a cb. 537 * @param notifyv_cls Closure for @a notify.
538 * @return NULL if we are already trying to talk to the host, 538 * @return NULL if we are already trying to talk to the host,
539 * otherwise handle to cancel the request. 539 * otherwise handle to cancel the request.
540 */ 540 */
541struct GNUNET_SOCIAL_TalkRequest * 541struct GNUNET_SOCIAL_TalkRequest *
542GNUNET_SOCIAL_place_talk (struct GNUNET_SOCIAL_Place *place, 542GNUNET_SOCIAL_place_talk (struct GNUNET_SOCIAL_Place *place,
543 const char *method_name, 543 const char *method_name,
544 const struct GNUNET_ENV_Environment *env, 544 const struct GNUNET_ENV_Environment *env,
545 GNUNET_PSYC_OriginReadyNotify cb, 545 GNUNET_CONNECTION_TransmitReadyNotify notify,
546 void *cb_cls); 546 void *notify_cls);
547 547
548 548
549/** 549/**