diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-01-30 16:01:57 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-01-30 16:01:57 +0000 |
commit | fab82ce632cff5d6db7006dedc8522214525080e (patch) | |
tree | bccf7fa3dd0193225e5a1b33383f56767569984f /src/testbed/gnunet-service-testbed.h | |
parent | fc7bafd3ef0dd1c89a17e758f2b451a053b8b51b (diff) | |
download | gnunet-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.h | 5 |
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 | */ |
812 | typedef void (*GST_cache_callback) (void *cls, struct GNUNET_CORE_Handle *ch, | 814 | typedef 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 | /** |