aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-21 14:51:19 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-21 14:51:19 +0000
commitbb9075688c6ceef12f3cc762cf1da130b7ca73d2 (patch)
treeabd3351d4f6f58710c3871e787bd387ade4286d8 /src/integration-tests
parent9f36a60e41f9a5e7b3f2b2e71245955e390d125d (diff)
downloadgnunet-bb9075688c6ceef12f3cc762cf1da130b7ca73d2.tar.gz
gnunet-bb9075688c6ceef12f3cc762cf1da130b7ca73d2.zip
api change
Diffstat (limited to 'src/integration-tests')
-rw-r--r--src/integration-tests/connection_watchdog.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/integration-tests/connection_watchdog.c b/src/integration-tests/connection_watchdog.c
index 0998a367e..5bfe39e9a 100644
--- a/src/integration-tests/connection_watchdog.c
+++ b/src/integration-tests/connection_watchdog.c
@@ -780,11 +780,7 @@ cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
780 780
781static void 781static void
782transport_notify_connect_cb (void *cls, 782transport_notify_connect_cb (void *cls,
783 const struct GNUNET_PeerIdentity 783 const struct GNUNET_PeerIdentity* peer)
784 * peer,
785 const struct
786 GNUNET_ATS_Information * ats,
787 uint32_t ats_count)
788{ 784{
789 transport_connections ++; 785 transport_connections ++;
790 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "TRANSPORT connect for peer `%s' (%u total)\n", 786 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "TRANSPORT connect for peer `%s' (%u total)\n",
@@ -818,10 +814,7 @@ transport_notify_receive_cb (void *cls,
818 GNUNET_PeerIdentity * peer, 814 GNUNET_PeerIdentity * peer,
819 const struct 815 const struct
820 GNUNET_MessageHeader * 816 GNUNET_MessageHeader *
821 message, 817 message)
822 const struct
823 GNUNET_ATS_Information * ats,
824 uint32_t ats_count)
825{ 818{
826 819
827 820
@@ -865,9 +858,7 @@ transport_notify_receive_cb (void *cls,
865static int 858static int
866core_notify_receive_cb (void *cls, 859core_notify_receive_cb (void *cls,
867 const struct GNUNET_PeerIdentity * peer, 860 const struct GNUNET_PeerIdentity * peer,
868 const struct GNUNET_MessageHeader * message, 861 const struct GNUNET_MessageHeader * message)
869 const struct GNUNET_ATS_Information* atsi,
870 unsigned int atsi_count)
871{ 862{
872 struct PeerContainer *pc = NULL; 863 struct PeerContainer *pc = NULL;
873 864
@@ -919,9 +910,7 @@ core_notify_receive_cb (void *cls,
919} 910}
920 911
921static void 912static void
922core_connect_cb (void *cls, const struct GNUNET_PeerIdentity *peer, 913core_connect_cb (void *cls, const struct GNUNET_PeerIdentity *peer)
923 const struct GNUNET_ATS_Information *atsi,
924 unsigned int atsi_count)
925{ 914{
926 if (0 != memcmp (peer, &my_peer_id, sizeof (struct GNUNET_PeerIdentity))) 915 if (0 != memcmp (peer, &my_peer_id, sizeof (struct GNUNET_PeerIdentity)))
927 { 916 {