diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-22 21:59:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-22 21:59:27 +0000 |
commit | f44c0036572d5557d2496748a4190a61e40e61ff (patch) | |
tree | bceb908e8542883ed246f96b4c619c0c49a06782 /src/core/test_core_api_start_only.c | |
parent | 9d87d51965287d83ee332b8c50baff95bd62649a (diff) | |
download | gnunet-f44c0036572d5557d2496748a4190a61e40e61ff.tar.gz gnunet-f44c0036572d5557d2496748a4190a61e40e61ff.zip |
replacing 0-terminated atsi-array with array+length in core API (and the core-connect IPC)
Diffstat (limited to 'src/core/test_core_api_start_only.c')
-rw-r--r-- | src/core/test_core_api_start_only.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index 9825131be..f27866c19 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -67,7 +67,8 @@ static int ok; | |||
67 | 67 | ||
68 | static void | 68 | static void |
69 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, | 69 | connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, |
70 | const struct GNUNET_ATS_Information *atsi) | 70 | const struct GNUNET_ATS_Information *atsi, |
71 | unsigned int atsi_count) | ||
71 | { | 72 | { |
72 | } | 73 | } |
73 | 74 | ||
@@ -81,7 +82,8 @@ disconnect_notify (void *cls, const struct GNUNET_PeerIdentity *peer) | |||
81 | static int | 82 | static int |
82 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 83 | inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, |
83 | const struct GNUNET_MessageHeader *message, | 84 | const struct GNUNET_MessageHeader *message, |
84 | const struct GNUNET_ATS_Information *atsi) | 85 | const struct GNUNET_ATS_Information *atsi, |
86 | unsigned int atsi_count) | ||
85 | { | 87 | { |
86 | return GNUNET_OK; | 88 | return GNUNET_OK; |
87 | } | 89 | } |
@@ -90,7 +92,8 @@ inbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | |||
90 | static int | 92 | static int |
91 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, | 93 | outbound_notify (void *cls, const struct GNUNET_PeerIdentity *other, |
92 | const struct GNUNET_MessageHeader *message, | 94 | const struct GNUNET_MessageHeader *message, |
93 | const struct GNUNET_ATS_Information *atsi) | 95 | const struct GNUNET_ATS_Information *atsi, |
96 | unsigned int atsi_count) | ||
94 | { | 97 | { |
95 | return GNUNET_OK; | 98 | return GNUNET_OK; |
96 | } | 99 | } |