diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-06 21:32:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-06 21:32:05 +0000 |
commit | ca1cd117f6a59c0d19f841f72ac37340284ada57 (patch) | |
tree | 698e924a91c96d6ff79b738262a463f0d5004be6 /src/core/gnunet-service-core_sessions.h | |
parent | 68f027903ee06b86c56c9f16dba9a83333936dbe (diff) | |
download | gnunet-ca1cd117f6a59c0d19f841f72ac37340284ada57.tar.gz gnunet-ca1cd117f6a59c0d19f841f72ac37340284ada57.zip |
towards KX
Diffstat (limited to 'src/core/gnunet-service-core_sessions.h')
-rw-r--r-- | src/core/gnunet-service-core_sessions.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core_sessions.h b/src/core/gnunet-service-core_sessions.h index fc5944cda..781398d44 100644 --- a/src/core/gnunet-service-core_sessions.h +++ b/src/core/gnunet-service-core_sessions.h | |||
@@ -147,6 +147,28 @@ GSC_SESSIONS_handle_client_request_info (void *cls, struct GNUNET_SERVER_Client | |||
147 | 147 | ||
148 | 148 | ||
149 | /** | 149 | /** |
150 | * Create a session, a key exchange was just completed. | ||
151 | */ | ||
152 | void | ||
153 | GSC_SESSIONS_create (const struct GNUNET_PeerIdentity *peer); | ||
154 | |||
155 | /** | ||
156 | * Update information about a session. | ||
157 | * | ||
158 | * @param peer peer who's session should be updated | ||
159 | * @param bw_out new outbound bandwidth limit for the peer | ||
160 | * @param atsi performance information | ||
161 | * @param atsi_count number of performance records supplied | ||
162 | */ | ||
163 | void | ||
164 | GSC_SESSIONS_update (const struct GNUNET_PeerIdentity *peer, | ||
165 | struct GNUNET_BANDWIDTH_Value32NBO bw_out, | ||
166 | const struct GNUNET_TRANSPORT_ATS_Information *atsi, | ||
167 | uint32_t atsi_count); | ||
168 | |||
169 | |||
170 | |||
171 | /** | ||
150 | * Initialize sessions subsystem. | 172 | * Initialize sessions subsystem. |
151 | */ | 173 | */ |
152 | void | 174 | void |