aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_peer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh_peer.h')
-rw-r--r--src/mesh/gnunet-service-mesh_peer.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_peer.h b/src/mesh/gnunet-service-mesh_peer.h
index b5c165e9a..6ac3e3801 100644
--- a/src/mesh/gnunet-service-mesh_peer.h
+++ b/src/mesh/gnunet-service-mesh_peer.h
@@ -93,7 +93,7 @@ void
93GMP_set_tunnel (struct MeshPeer *peer, struct MeshTunnel3 *t); 93GMP_set_tunnel (struct MeshPeer *peer, struct MeshTunnel3 *t);
94 94
95/** 95/**
96 * Chech whether there is a direct (core level) connection to peer. 96 * Check whether there is a direct (core level) connection to peer.
97 * 97 *
98 * @param peer Peer to check. 98 * @param peer Peer to check.
99 * 99 *
@@ -102,6 +102,7 @@ GMP_set_tunnel (struct MeshPeer *peer, struct MeshTunnel3 *t);
102int 102int
103GMP_is_neighbor (const struct MeshPeer *peer); 103GMP_is_neighbor (const struct MeshPeer *peer);
104 104
105
105/** 106/**
106 * Add a connection to a neighboring peer. 107 * Add a connection to a neighboring peer.
107 * 108 *
@@ -131,6 +132,16 @@ struct GNUNET_PeerIdentity *
131GMP_get_id (const struct MeshPeer *peer); 132GMP_get_id (const struct MeshPeer *peer);
132 133
133/** 134/**
135 * Get the Short ID of a peer.
136 *
137 * @param peer Peer to get from.
138 *
139 * @return Short ID of peer.
140 */
141GNUNET_PEER_Id
142GMP_get_short_id (const struct MeshPeer *peer);
143
144/**
134 * Get the static string for a peer ID. 145 * Get the static string for a peer ID.
135 * 146 *
136 * @param peer Peer. 147 * @param peer Peer.