aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_core_service.h
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/include/gnunet_core_service.h
parenteb2371484330014aaef9b0bfac1f1ae191bc2460 (diff)
downloadgnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.tar.gz
gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.zip
change to core pai
Diffstat (limited to 'src/include/gnunet_core_service.h')
-rw-r--r--src/include/gnunet_core_service.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h
index 6f8da2487..90b971933 100644
--- a/src/include/gnunet_core_service.h
+++ b/src/include/gnunet_core_service.h
@@ -56,15 +56,10 @@ struct GNUNET_CORE_Handle;
56 * 56 *
57 * @param cls closure 57 * @param cls closure
58 * @param peer peer identity this notification is about 58 * @param peer peer identity this notification is about
59 * @param atsi performance data for the connection
60 * @param atsi_count number of records in 'atsi'
61 */ 59 */
62typedef void (*GNUNET_CORE_ConnectEventHandler) (void *cls, 60typedef void (*GNUNET_CORE_ConnectEventHandler) (void *cls,
63 const struct 61 const struct
64 GNUNET_PeerIdentity * peer, 62 GNUNET_PeerIdentity * peer);
65 const struct
66 GNUNET_ATS_Information * atsi,
67 unsigned int atsi_count);
68 63
69 64
70/** 65/**
@@ -86,8 +81,6 @@ typedef void (*GNUNET_CORE_DisconnectEventHandler) (void *cls,
86 * @param peer the other peer involved (sender or receiver, NULL 81 * @param peer the other peer involved (sender or receiver, NULL
87 * for loopback messages where we are both sender and receiver) 82 * for loopback messages where we are both sender and receiver)
88 * @param message the actual message 83 * @param message the actual message
89 * @param atsi performance data for the connection
90 * @param atsi_count number of records in 'atsi'
91 * @return GNUNET_OK to keep the connection open, 84 * @return GNUNET_OK to keep the connection open,
92 * GNUNET_SYSERR to close it (signal serious error) 85 * GNUNET_SYSERR to close it (signal serious error)
93 */ 86 */
@@ -95,9 +88,7 @@ typedef int (*GNUNET_CORE_MessageCallback) (void *cls,
95 const struct GNUNET_PeerIdentity * 88 const struct GNUNET_PeerIdentity *
96 other, 89 other,
97 const struct GNUNET_MessageHeader * 90 const struct GNUNET_MessageHeader *
98 message, 91 message);
99 const struct GNUNET_ATS_Information
100 * atsi, unsigned int atsi_count);
101 92
102 93
103/** 94/**