aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-core.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-21 14:43:47 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-21 14:43:47 +0000
commit75c121f5ae37d3c7ccd95f4449aea33ccb4200f0 (patch)
tree3fb440657f99a826cc4f963db55e28cb426ed9d8 /src/core/gnunet-core.c
parenteb2371484330014aaef9b0bfac1f1ae191bc2460 (diff)
downloadgnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.tar.gz
gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.zip
change to core pai
Diffstat (limited to 'src/core/gnunet-core.c')
-rw-r--r--src/core/gnunet-core.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/core/gnunet-core.c b/src/core/gnunet-core.c
index 17b840480..87a372f30 100644
--- a/src/core/gnunet-core.c
+++ b/src/core/gnunet-core.c
@@ -74,9 +74,7 @@ shutdown_task (void *cls,
74 * @param atsi_count number of records in 'atsi' 74 * @param atsi_count number of records in 'atsi'
75 */ 75 */
76static void 76static void
77connected_peer_callback (void *cls, const struct GNUNET_PeerIdentity *peer, 77connected_peer_callback (void *cls, const struct GNUNET_PeerIdentity *peer)
78 const struct GNUNET_ATS_Information *atsi,
79 unsigned int atsi_count)
80{ 78{
81 struct GNUNET_CRYPTO_HashAsciiEncoded enc; 79 struct GNUNET_CRYPTO_HashAsciiEncoded enc;
82 80
@@ -102,12 +100,9 @@ monitor_notify_startup (void *cls,
102 * 100 *
103 * @param cls closure 101 * @param cls closure
104 * @param peer the peer that connected 102 * @param peer the peer that connected
105 * @param ats performance data
106 * @param ats_count number of entries in ats (excluding 0-termination)
107 */ 103 */
108static void 104static void
109monitor_notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, 105monitor_notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer)
110 const struct GNUNET_ATS_Information *ats, uint32_t ats_count)
111{ 106{
112 struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get(); 107 struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get();
113 const char *now_str; 108 const char *now_str;