* @return #GNUNET_YES if peer has the intention to send
* #GNUNET_NO otherwise
*/
-int
+static int
Peers_check_peer_send_intention (const struct GNUNET_PeerIdentity *peer)
{
const struct PeerContext *peer_ctx;
* @return initial channel context for the channel
* (can be NULL -- that's not an error)
*/
-void *
+static void *
Peers_handle_inbound_channel (void *cls,
struct GNUNET_CADET_Channel *channel,
const struct GNUNET_PeerIdentity *initiator)
* @return #GNUNET_YES if a sending channel towards that peer exists
* #GNUNET_NO otherwise
*/
-int
+static int
Peers_check_sending_channel_exists (const struct GNUNET_PeerIdentity *peer)
{
struct PeerContext *peer_ctx;
* @return #GNUNET_YES if the given chennel is the sending channel of the peer
* #GNUNET_NO otherwise
*/
-int
+static int
Peers_check_channel_role (const struct GNUNET_PeerIdentity *peer,
const struct GNUNET_CADET_Channel *channel,
enum Peers_ChannelRole role)
* @return #GNUNET_YES if channel was destroyed
* #GNUNET_NO otherwise
*/
-int
+static int
Peers_destroy_sending_channel (const struct GNUNET_PeerIdentity *peer)
{
struct PeerContext *peer_ctx;
* @param ev envelope of the message
* @param type type of the message
*/
-void
+static void
Peers_send_message (const struct GNUNET_PeerIdentity *peer,
struct GNUNET_MQ_Envelope *ev,
const char *type)
* @return #GNUNET_YES if the operation was scheduled
* #GNUNET_NO otherwise
*/
-int
+static int
Peers_schedule_operation (const struct GNUNET_PeerIdentity *peer,
const PeerOp peer_op)
{
*
* @return The recv_channel.
*/
-struct GNUNET_CADET_Channel *
+static struct GNUNET_CADET_Channel *
Peers_get_recv_channel (const struct GNUNET_PeerIdentity *peer)
{
struct PeerContext *peer_ctx;