aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-07 11:08:40 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-07 11:08:40 +0000
commit93522adc0728de13e94a7b13730781345144e434 (patch)
tree5e8389010559b5c326909bba7d8b18b858eeab35 /src/testing
parenta3247ccf829ff52285721529bbcba00a0da39dcd (diff)
downloadgnunet-93522adc0728de13e94a7b13730781345144e434.tar.gz
gnunet-93522adc0728de13e94a7b13730781345144e434.zip
removing 'publicKey' argument from CORE init callback
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_testing_large_topology.c8
-rw-r--r--src/testing/test_testing_topology.c8
-rw-r--r--src/testing/testing.c5
-rw-r--r--src/testing/testing_group.c4
4 files changed, 6 insertions, 19 deletions
diff --git a/src/testing/test_testing_large_topology.c b/src/testing/test_testing_large_topology.c
index 9581dc9b2..33a9eb787 100644
--- a/src/testing/test_testing_large_topology.c
+++ b/src/testing/test_testing_large_topology.c
@@ -459,9 +459,7 @@ static struct GNUNET_CORE_MessageHandler handlers[] = {
459 459
460static void 460static void
461init_notify_peer2 (void *cls, struct GNUNET_CORE_Handle *server, 461init_notify_peer2 (void *cls, struct GNUNET_CORE_Handle *server,
462 const struct GNUNET_PeerIdentity *my_identity, 462 const struct GNUNET_PeerIdentity *my_identity)
463 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded
464 *publicKey)
465{ 463{
466 struct TestMessageContext *pos = cls; 464 struct TestMessageContext *pos = cls;
467 465
@@ -547,9 +545,7 @@ connect_notify_peers (void *cls, const struct GNUNET_PeerIdentity *peer,
547 545
548static void 546static void
549init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server, 547init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server,
550 const struct GNUNET_PeerIdentity *my_identity, 548 const struct GNUNET_PeerIdentity *my_identity)
551 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded
552 *publicKey)
553{ 549{
554 struct TestMessageContext *pos = cls; 550 struct TestMessageContext *pos = cls;
555 551
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c
index 152b5cdcc..e29a3ff32 100644
--- a/src/testing/test_testing_topology.c
+++ b/src/testing/test_testing_topology.c
@@ -498,9 +498,7 @@ static struct GNUNET_CORE_MessageHandler handlers[] = {
498 498
499static void 499static void
500init_notify_peer2 (void *cls, struct GNUNET_CORE_Handle *server, 500init_notify_peer2 (void *cls, struct GNUNET_CORE_Handle *server,
501 const struct GNUNET_PeerIdentity *my_identity, 501 const struct GNUNET_PeerIdentity *my_identity)
502 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded
503 *publicKey)
504{ 502{
505 struct TestMessageContext *pos = cls; 503 struct TestMessageContext *pos = cls;
506 504
@@ -586,9 +584,7 @@ connect_notify_peers (void *cls, const struct GNUNET_PeerIdentity *peer,
586 584
587static void 585static void
588init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server, 586init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server,
589 const struct GNUNET_PeerIdentity *my_identity, 587 const struct GNUNET_PeerIdentity *my_identity)
590 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded
591 *publicKey)
592{ 588{
593 struct TestMessageContext *pos = cls; 589 struct TestMessageContext *pos = cls;
594 590
diff --git a/src/testing/testing.c b/src/testing/testing.c
index 8b080d800..ca7ed6376 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -1952,13 +1952,10 @@ send_hello (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1952 * @param cls a ConnectContext 1952 * @param cls a ConnectContext
1953 * @param server handle to the core service 1953 * @param server handle to the core service
1954 * @param my_identity the peer identity of this peer 1954 * @param my_identity the peer identity of this peer
1955 * @param publicKey the public key of the peer
1956 */ 1955 */
1957void 1956void
1958core_init_notify (void *cls, struct GNUNET_CORE_Handle *server, 1957core_init_notify (void *cls, struct GNUNET_CORE_Handle *server,
1959 const struct GNUNET_PeerIdentity *my_identity, 1958 const struct GNUNET_PeerIdentity *my_identity)
1960 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded
1961 *publicKey)
1962{ 1959{
1963 struct GNUNET_TESTING_ConnectContext *connect_ctx = cls; 1960 struct GNUNET_TESTING_ConnectContext *connect_ctx = cls;
1964 1961
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c
index 3f31c6e1a..1889cf7df 100644
--- a/src/testing/testing_group.c
+++ b/src/testing/testing_group.c
@@ -3483,12 +3483,10 @@ core_connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer,
3483 * @param cls a struct SendHelloContext * 3483 * @param cls a struct SendHelloContext *
3484 * @param server handle to the core service 3484 * @param server handle to the core service
3485 * @param my_identity the peer identity of this peer 3485 * @param my_identity the peer identity of this peer
3486 * @param publicKey the public key of the peer
3487 */ 3486 */
3488void 3487void
3489core_init (void *cls, struct GNUNET_CORE_Handle *server, 3488core_init (void *cls, struct GNUNET_CORE_Handle *server,
3490 const struct GNUNET_PeerIdentity *my_identity, 3489 struct GNUNET_PeerIdentity *my_identity)
3491 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *publicKey)
3492{ 3490{
3493 struct SendHelloContext *send_hello_context = cls; 3491 struct SendHelloContext *send_hello_context = cls;
3494 3492