[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r372 - GNUnet/src/applications/session
From: |
grothoff |
Subject: |
[GNUnet-SVN] r372 - GNUnet/src/applications/session |
Date: |
Fri, 4 Mar 2005 22:52:19 -0800 (PST) |
Author: grothoff
Date: 2005-03-04 22:52:18 -0800 (Fri, 04 Mar 2005)
New Revision: 372
Modified:
GNUnet/src/applications/session/connect.c
Log:
minor compile error
Modified: GNUnet/src/applications/session/connect.c
===================================================================
--- GNUnet/src/applications/session/connect.c 2005-03-05 06:50:15 UTC (rev
371)
+++ GNUnet/src/applications/session/connect.c 2005-03-05 06:52:18 UTC (rev
372)
@@ -35,6 +35,7 @@
#include "gnunet_identity_service.h"
#include "gnunet_pingpong_service.h"
#include "gnunet_session_service.h"
+#include "gnunet_topology_service.h"
#define HELO_HELPER_TABLE_START_SIZE 64
@@ -48,6 +49,8 @@
static Pingpong_ServiceAPI * pingpong;
+static Topology_ServiceAPI * topology;
+
/**
* @brief message for session key exchange.
*/
@@ -298,7 +301,7 @@
GNUNET_ASSERT(receiver != NULL);
if ( (topology != NULL) &&
- (topology->allowConnection(receiver) == SYSERR) )
+ (topology->allowConnectionFrom(receiver) == SYSERR) )
return SYSERR;
hash2enc(&receiver->hashPubKey,
&enc);
@@ -439,7 +442,7 @@
EncName enc;
if ( (topology != NULL) &&
- (topology->allowConnection(sender) == SYSERR) )
+ (topology->allowConnectionFrom(sender) == SYSERR) )
return SYSERR;
hash2enc(&sender->hashPubKey,
&enc);
@@ -588,7 +591,7 @@
*/
static int tryConnect(const PeerIdentity * peer) {
if ( (topology != NULL) &&
- (topology->allowConnection(peer) == SYSERR) )
+ (topology->allowConnectionFrom(peer) == SYSERR) )
return SYSERR;
if (coreAPI->queryBPMfromPeer(peer) != 0)
return YES; /* trivial case */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r372 - GNUnet/src/applications/session,
grothoff <=