aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_peer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet_peer.h')
-rw-r--r--src/cadet/gnunet-service-cadet_peer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.h b/src/cadet/gnunet-service-cadet_peer.h
index 093cfa21a..37d735bf5 100644
--- a/src/cadet/gnunet-service-cadet_peer.h
+++ b/src/cadet/gnunet-service-cadet_peer.h
@@ -122,6 +122,7 @@ GCP_shutdown (void);
122struct CadetPeer * 122struct CadetPeer *
123GCP_get (const struct GNUNET_PeerIdentity *peer_id, int create); 123GCP_get (const struct GNUNET_PeerIdentity *peer_id, int create);
124 124
125
125/** 126/**
126 * Retrieve the CadetPeer stucture associated with the peer. Optionally create 127 * Retrieve the CadetPeer stucture associated with the peer. Optionally create
127 * one and insert it in the appropriate structures if the peer is not known yet. 128 * one and insert it in the appropriate structures if the peer is not known yet.
@@ -136,6 +137,7 @@ GCP_get (const struct GNUNET_PeerIdentity *peer_id, int create);
136struct CadetPeer * 137struct CadetPeer *
137GCP_get_short (const GNUNET_PEER_Id peer, int create); 138GCP_get_short (const GNUNET_PEER_Id peer, int create);
138 139
140
139/** 141/**
140 * Try to establish a new connection to this peer (in its tunnel). 142 * Try to establish a new connection to this peer (in its tunnel).
141 * If the peer doesn't have any path to it yet, try to get one. 143 * If the peer doesn't have any path to it yet, try to get one.
@@ -440,7 +442,8 @@ GCP_iterate_paths (struct CadetPeer *peer,
440 * @param cls Closure for @c iter. 442 * @param cls Closure for @c iter.
441 */ 443 */
442void 444void
443GCP_iterate_all (GNUNET_CONTAINER_PeerMapIterator iter, void *cls); 445GCP_iterate_all (GNUNET_CONTAINER_PeerMapIterator iter,
446 void *cls);
444 447
445 448
446/** 449/**