diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-14 12:21:48 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-14 12:21:48 +0000 |
commit | 75357bec5d503045dcf5d5cfd5805300e0605d9d (patch) | |
tree | 95508483a8285f39068282002ca85cc114446818 /src/include/gnunet_testbed_service.h | |
parent | 27fcf1fd9a5800ff97eaf8d9863ba48614b378d0 (diff) | |
download | gnunet-75357bec5d503045dcf5d5cfd5805300e0605d9d.tar.gz gnunet-75357bec5d503045dcf5d5cfd5805300e0605d9d.zip |
operation closure in peer start
Diffstat (limited to 'src/include/gnunet_testbed_service.h')
-rw-r--r-- | src/include/gnunet_testbed_service.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h index ea1765946..7953feb6e 100644 --- a/src/include/gnunet_testbed_service.h +++ b/src/include/gnunet_testbed_service.h | |||
@@ -705,13 +705,16 @@ typedef void (*GNUNET_TESTBED_PeerChurnCallback) (void *cls, | |||
705 | /** | 705 | /** |
706 | * Start the given peer. | 706 | * Start the given peer. |
707 | * | 707 | * |
708 | * @param op_cls the closure for this operation; will be set in | ||
709 | * event->details.operation_finished.op_cls when this operation fails. | ||
708 | * @param peer peer to start | 710 | * @param peer peer to start |
709 | * @param pcc function to call upon completion | 711 | * @param pcc function to call upon completion |
710 | * @param pcc_cls closure for 'pcc' | 712 | * @param pcc_cls closure for 'pcc' |
711 | * @return handle to the operation | 713 | * @return handle to the operation |
712 | */ | 714 | */ |
713 | struct GNUNET_TESTBED_Operation * | 715 | struct GNUNET_TESTBED_Operation * |
714 | GNUNET_TESTBED_peer_start (struct GNUNET_TESTBED_Peer *peer, | 716 | GNUNET_TESTBED_peer_start (void *op_cls, |
717 | struct GNUNET_TESTBED_Peer *peer, | ||
715 | GNUNET_TESTBED_PeerChurnCallback pcc, | 718 | GNUNET_TESTBED_PeerChurnCallback pcc, |
716 | void *pcc_cls); | 719 | void *pcc_cls); |
717 | 720 | ||