aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-03-25 12:21:50 +0000
committerChristian Grothoff <christian@grothoff.org>2013-03-25 12:21:50 +0000
commitea69f50952d863c6e7250bc92559a3dca27ce97b (patch)
tree6dfa1aa9279518b44588bf23b6b11532e2da8bea /src/transport/gnunet-service-transport.h
parent654ebcd8d7fe00a0ecde4871b1fc79e4030aa201 (diff)
downloadgnunet-ea69f50952d863c6e7250bc92559a3dca27ce97b.tar.gz
gnunet-ea69f50952d863c6e7250bc92559a3dca27ce97b.zip
-const
Diffstat (limited to 'src/transport/gnunet-service-transport.h')
-rw-r--r--src/transport/gnunet-service-transport.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/transport/gnunet-service-transport.h b/src/transport/gnunet-service-transport.h
index b944da730..5e3a25031 100644
--- a/src/transport/gnunet-service-transport.h
+++ b/src/transport/gnunet-service-transport.h
@@ -89,18 +89,20 @@ extern struct GNUNET_ATS_SchedulingHandle *GST_ats;
89 * (plugins that do not support this, can ignore the return value) 89 * (plugins that do not support this, can ignore the return value)
90 */ 90 */
91struct GNUNET_TIME_Relative 91struct GNUNET_TIME_Relative
92GST_receive_callback (void *cls, const struct GNUNET_PeerIdentity *peer, 92GST_receive_callback (void *cls,
93 const struct GNUNET_MessageHeader *message, 93 const struct GNUNET_PeerIdentity *peer,
94 struct Session *session, 94 const struct GNUNET_MessageHeader *message,
95 const char *sender_address, 95 struct Session *session,
96 uint16_t sender_address_len); 96 const char *sender_address,
97 uint16_t sender_address_len);
98
97 99
98void 100void
99GST_update_ats_metrics (struct GNUNET_PeerIdentity *peer, 101GST_update_ats_metrics (const struct GNUNET_PeerIdentity *peer,
100 struct GNUNET_HELLO_Address *address, 102 const struct GNUNET_HELLO_Address *address,
101 struct Session *session, 103 struct Session *session,
102 struct GNUNET_ATS_Information *ats, 104 const struct GNUNET_ATS_Information *ats,
103 uint32_t ats_count); 105 uint32_t ats_count);
104 106
105#endif 107#endif
106/* end of file gnunet-service-transport_plugins.h */ 108/* end of file gnunet-service-transport_plugins.h */