aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-01-30 16:01:57 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-01-30 16:01:57 +0000
commitfab82ce632cff5d6db7006dedc8522214525080e (patch)
treebccf7fa3dd0193225e5a1b33383f56767569984f /src/testbed/gnunet-service-testbed.h
parentfc7bafd3ef0dd1c89a17e758f2b451a053b8b51b (diff)
downloadgnunet-fab82ce632cff5d6db7006dedc8522214525080e.tar.gz
gnunet-fab82ce632cff5d6db7006dedc8522214525080e.zip
- unified notify callback for cached transport and core handles
Diffstat (limited to 'src/testbed/gnunet-service-testbed.h')
-rw-r--r--src/testbed/gnunet-service-testbed.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testbed/gnunet-service-testbed.h b/src/testbed/gnunet-service-testbed.h
index b7924dc59..bd18d69c8 100644
--- a/src/testbed/gnunet-service-testbed.h
+++ b/src/testbed/gnunet-service-testbed.h
@@ -808,9 +808,12 @@ GST_cache_add_hello (const unsigned int peer_id,
808 * @param cls the closure passed to GST_cache_get_handle_transport() 808 * @param cls the closure passed to GST_cache_get_handle_transport()
809 * @param ch the handle to CORE. Can be NULL if it is not requested 809 * @param ch the handle to CORE. Can be NULL if it is not requested
810 * @param th the handle to TRANSPORT. Can be NULL if it is not requested 810 * @param th the handle to TRANSPORT. Can be NULL if it is not requested
811 * @param peer_id the identity of the peer. Will be NULL if ch is NULL. In other
812 * cases, its value being NULL means that CORE connection has failed.
811 */ 813 */
812typedef void (*GST_cache_callback) (void *cls, struct GNUNET_CORE_Handle *ch, 814typedef void (*GST_cache_callback) (void *cls, struct GNUNET_CORE_Handle *ch,
813 struct GNUNET_TRANSPORT_Handle *th); 815 struct GNUNET_TRANSPORT_Handle *th,
816 const struct GNUNET_PeerIdentity *peer_id);
814 817
815 818
816/** 819/**