[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10106 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10106 - gnunet/src/core |
Date: |
Thu, 21 Jan 2010 19:32:42 +0100 |
Author: grothoff
Date: 2010-01-21 19:32:42 +0100 (Thu, 21 Jan 2010)
New Revision: 10106
Modified:
gnunet/src/core/test_core_api.c
gnunet/src/core/test_core_api_start_only.c
Log:
fixes
Modified: gnunet/src/core/test_core_api.c
===================================================================
--- gnunet/src/core/test_core_api.c 2010-01-21 16:23:12 UTC (rev 10105)
+++ gnunet/src/core/test_core_api.c 2010-01-21 18:32:42 UTC (rev 10106)
@@ -104,7 +104,9 @@
static void
connect_notify (void *cls,
- const struct GNUNET_PeerIdentity *peer)
+ const struct GNUNET_PeerIdentity *peer,
+ struct GNUNET_TIME_Relative latency,
+ uint32_t distance)
{
GNUNET_assert ((ok == 5) || (ok == 6));
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -125,7 +127,9 @@
static int
inbound_notify (void *cls,
const struct GNUNET_PeerIdentity *other,
- const struct GNUNET_MessageHeader *message)
+ const struct GNUNET_MessageHeader *message,
+ struct GNUNET_TIME_Relative latency,
+ uint32_t distance)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Core provides inbound data from `%4s'.\n", GNUNET_i2s (other));
@@ -136,7 +140,9 @@
static int
outbound_notify (void *cls,
const struct GNUNET_PeerIdentity *other,
- const struct GNUNET_MessageHeader *message)
+ const struct GNUNET_MessageHeader *message,
+ struct GNUNET_TIME_Relative latency,
+ uint32_t distance)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Core notifies about outbound data for `%4s'.\n",
@@ -151,7 +157,9 @@
static int
process_mtype (void *cls,
const struct GNUNET_PeerIdentity *peer,
- const struct GNUNET_MessageHeader *message)
+ const struct GNUNET_MessageHeader *message,
+ struct GNUNET_TIME_Relative latency,
+ uint32_t distance)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Receiving message from `%4s'.\n", GNUNET_i2s (peer));
Modified: gnunet/src/core/test_core_api_start_only.c
===================================================================
--- gnunet/src/core/test_core_api_start_only.c 2010-01-21 16:23:12 UTC (rev
10105)
+++ gnunet/src/core/test_core_api_start_only.c 2010-01-21 18:32:42 UTC (rev
10106)
@@ -71,7 +71,9 @@
static void
connect_notify (void *cls,
- const struct GNUNET_PeerIdentity *peer)
+ const struct GNUNET_PeerIdentity *peer,
+ struct GNUNET_TIME_Relative latency,
+ uint32_t distance)
{
}
@@ -86,7 +88,9 @@
static int
inbound_notify (void *cls,
const struct GNUNET_PeerIdentity *other,
- const struct GNUNET_MessageHeader *message)
+ const struct GNUNET_MessageHeader *message,
+ struct GNUNET_TIME_Relative latency,
+ uint32_t distance)
{
return GNUNET_OK;
}
@@ -95,7 +99,9 @@
static int
outbound_notify (void *cls,
const struct GNUNET_PeerIdentity *other,
- const struct GNUNET_MessageHeader *message)
+ const struct GNUNET_MessageHeader *message,
+ struct GNUNET_TIME_Relative latency,
+ uint32_t distance)
{
return GNUNET_OK;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10106 - gnunet/src/core,
gnunet <=