diff options
author | harsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-07-18 13:25:11 +0000 |
---|---|---|
committer | harsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-07-18 13:25:11 +0000 |
commit | e58a745d36583b856754c064fa7a64abcebbbbd2 (patch) | |
tree | 8e8b2044eae9d92cf140335e9fd2bfb2837e728d /src/testbed/testbed_api_peers.c | |
parent | b46f937081b92a3176bb0c8e90f4907413cf3552 (diff) |
API internal function call changes
git-svn-id: https://gnunet.org/svn/gnunet@22749 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/testbed/testbed_api_peers.c')
-rw-r--r-- | src/testbed/testbed_api_peers.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testbed/testbed_api_peers.c b/src/testbed/testbed_api_peers.c index 16dc57d23e..f2dc4dbe2c 100644 --- a/src/testbed/testbed_api_peers.c +++ b/src/testbed/testbed_api_peers.c @@ -93,7 +93,7 @@ GNUNET_TESTBED_peer_create_with_id_ (uint32_t unique_id, peer->host = host; peer->unique_id = unique_id; config = GNUNET_CONFIGURATION_serialize (cfg, &c_size); - xc_size = GNUNET_TESTBED_compress_config (config, c_size, &xconfig); + xc_size = GNUNET_TESTBED_compress_config_ (config, c_size, &xconfig); GNUNET_free (config); msize = xc_size + sizeof (struct GNUNET_TESTBED_PeerCreateMessage); msg = GNUNET_realloc (xconfig, msize); @@ -103,8 +103,8 @@ GNUNET_TESTBED_peer_create_with_id_ (uint32_t unique_id, msg->host_id = htonl (GNUNET_TESTBED_host_get_id_ (peer->host)); msg->peer_id = htonl (peer->unique_id); msg->config_size = htonl (c_size); - GNUNET_TESTBED_queue_message (controller, - (struct GNUNET_MessageHeader *) msg); + GNUNET_TESTBED_queue_message_ (controller, + (struct GNUNET_MessageHeader *) msg); return peer; } @@ -245,8 +245,8 @@ GNUNET_TESTBED_peer_destroy (struct GNUNET_TESTBED_Peer *peer) msg->operation_id = GNUNET_htonll (op->operation_id); GNUNET_CONTAINER_DLL_insert_tail (peer->controller->op_head, peer->controller->op_tail, op); - GNUNET_TESTBED_queue_message (peer->controller, - (struct GNUNET_MessageHeader *) msg); + GNUNET_TESTBED_queue_message_ (peer->controller, + (struct GNUNET_MessageHeader *) msg); return op; } |