diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-11 12:44:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-11 12:44:06 +0000 |
commit | 914ec7ef9e59b69868b92fced96d6693b2097e13 (patch) | |
tree | 9891a3f70dd894a2af1582baf1a3c9ccd53beb43 /src/chat | |
parent | 69d9f80b83053162a38a292fc8a024acb6a463a9 (diff) |
add cork option to core api:
Diffstat (limited to 'src/chat')
-rw-r--r-- | src/chat/gnunet-service-chat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/chat/gnunet-service-chat.c b/src/chat/gnunet-service-chat.c index bbf4dd8f11..a1e180009f 100644 --- a/src/chat/gnunet-service-chat.c +++ b/src/chat/gnunet-service-chat.c @@ -262,6 +262,7 @@ send_message_noficiation (void *cls, #endif my_msg = GNUNET_memdup (msg, ntohs (msg->header.size)); if (NULL == GNUNET_CORE_notify_transmit_ready (core, + GNUNET_NO, 1, MAX_TRANSMIT_DELAY, &pid, @@ -553,6 +554,7 @@ send_join_noficiation (void *cls, strlen (entry->room) + entry->meta_len; if (NULL == GNUNET_CORE_notify_transmit_ready (core, + GNUNET_NO, 1, MAX_TRANSMIT_DELAY, &pid, @@ -750,6 +752,7 @@ send_confirmation_receipt (void *cls, my_receipt = GNUNET_memdup (receipt, sizeof (struct P2PConfirmationReceiptMessage)); if (NULL == GNUNET_CORE_notify_transmit_ready (core, + GNUNET_YES, 1, MAX_TRANSMIT_DELAY, &pid, @@ -936,6 +939,7 @@ send_leave_noficiation (void *cls, public_key = GNUNET_memdup (&entry->public_key, sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded)); if (NULL == GNUNET_CORE_notify_transmit_ready (core, + GNUNET_YES, 1, MAX_TRANSMIT_DELAY, &pid, @@ -1408,6 +1412,7 @@ handle_p2p_sync_request (void *cls, strlen (entry->room) + entry->meta_len; th = GNUNET_CORE_notify_transmit_ready (core, + GNUNET_NO, 1, MAX_TRANSMIT_DELAY, other, @@ -1589,6 +1594,7 @@ peer_connect_handler (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Peer connected: %s\n", GNUNET_i2s (peer)); th = GNUNET_CORE_notify_transmit_ready (core, + GNUNET_YES, 1, MAX_TRANSMIT_DELAY, peer, |