aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_sessions.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
commit6c471eeb15e27f8226492b4860a3c2acb94c5f25 (patch)
treea3a9dcba12ee5356c03056c10b7aba5367b2ef34 /src/core/gnunet-service-core_sessions.c
parent16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff)
downloadgnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz
gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/core/gnunet-service-core_sessions.c')
-rw-r--r--src/core/gnunet-service-core_sessions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/gnunet-service-core_sessions.c b/src/core/gnunet-service-core_sessions.c
index 054ad97f4..fa69134cb 100644
--- a/src/core/gnunet-service-core_sessions.c
+++ b/src/core/gnunet-service-core_sessions.c
@@ -283,7 +283,7 @@ GSC_SESSIONS_create (const struct GNUNET_PeerIdentity *peer,
283 * @return GNUNET_OK (continue to iterate) 283 * @return GNUNET_OK (continue to iterate)
284 */ 284 */
285static int 285static int
286notify_client_about_session (void *cls, const GNUNET_HashCode * key, 286notify_client_about_session (void *cls, const struct GNUNET_HashCode * key,
287 void *value) 287 void *value)
288{ 288{
289 struct GSC_Client *client = cls; 289 struct GSC_Client *client = cls;
@@ -549,7 +549,7 @@ try_transmission (struct Session *session)
549 * @return always GNUNET_OK 549 * @return always GNUNET_OK
550 */ 550 */
551static int 551static int
552do_send_message (void *cls, const GNUNET_HashCode * key, void *value) 552do_send_message (void *cls, const struct GNUNET_HashCode * key, void *value)
553{ 553{
554 const struct GNUNET_MessageHeader *hdr = cls; 554 const struct GNUNET_MessageHeader *hdr = cls;
555 struct Session *session = value; 555 struct Session *session = value;
@@ -642,7 +642,7 @@ GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car,
642 */ 642 */
643#include "core.h" 643#include "core.h"
644static int 644static int
645queue_connect_message (void *cls, const GNUNET_HashCode * key, void *value) 645queue_connect_message (void *cls, const struct GNUNET_HashCode * key, void *value)
646{ 646{
647 struct GNUNET_SERVER_TransmitContext *tc = cls; 647 struct GNUNET_SERVER_TransmitContext *tc = cls;
648 struct Session *session = value; 648 struct Session *session = value;
@@ -795,7 +795,7 @@ GSC_SESSIONS_init ()
795 * @return GNUNET_OK (continue to iterate) 795 * @return GNUNET_OK (continue to iterate)
796 */ 796 */
797static int 797static int
798free_session_helper (void *cls, const GNUNET_HashCode * key, void *value) 798free_session_helper (void *cls, const struct GNUNET_HashCode * key, void *value)
799{ 799{
800 struct Session *session = value; 800 struct Session *session = value;
801 801