diff options
-rw-r--r-- | src/rps/gnunet-service-rps.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 8e8320a53..807e2bc12 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -1486,7 +1486,7 @@ Peers_indicate_sending_intention (const struct GNUNET_PeerIdentity *peer) | |||
1486 | * @return #GNUNET_YES if peer has the intention to send | 1486 | * @return #GNUNET_YES if peer has the intention to send |
1487 | * #GNUNET_NO otherwise | 1487 | * #GNUNET_NO otherwise |
1488 | */ | 1488 | */ |
1489 | int | 1489 | static int |
1490 | Peers_check_peer_send_intention (const struct GNUNET_PeerIdentity *peer) | 1490 | Peers_check_peer_send_intention (const struct GNUNET_PeerIdentity *peer) |
1491 | { | 1491 | { |
1492 | const struct PeerContext *peer_ctx; | 1492 | const struct PeerContext *peer_ctx; |
@@ -1510,7 +1510,7 @@ Peers_check_peer_send_intention (const struct GNUNET_PeerIdentity *peer) | |||
1510 | * @return initial channel context for the channel | 1510 | * @return initial channel context for the channel |
1511 | * (can be NULL -- that's not an error) | 1511 | * (can be NULL -- that's not an error) |
1512 | */ | 1512 | */ |
1513 | void * | 1513 | static void * |
1514 | Peers_handle_inbound_channel (void *cls, | 1514 | Peers_handle_inbound_channel (void *cls, |
1515 | struct GNUNET_CADET_Channel *channel, | 1515 | struct GNUNET_CADET_Channel *channel, |
1516 | const struct GNUNET_PeerIdentity *initiator) | 1516 | const struct GNUNET_PeerIdentity *initiator) |
@@ -1556,7 +1556,7 @@ Peers_handle_inbound_channel (void *cls, | |||
1556 | * @return #GNUNET_YES if a sending channel towards that peer exists | 1556 | * @return #GNUNET_YES if a sending channel towards that peer exists |
1557 | * #GNUNET_NO otherwise | 1557 | * #GNUNET_NO otherwise |
1558 | */ | 1558 | */ |
1559 | int | 1559 | static int |
1560 | Peers_check_sending_channel_exists (const struct GNUNET_PeerIdentity *peer) | 1560 | Peers_check_sending_channel_exists (const struct GNUNET_PeerIdentity *peer) |
1561 | { | 1561 | { |
1562 | struct PeerContext *peer_ctx; | 1562 | struct PeerContext *peer_ctx; |
@@ -1586,7 +1586,7 @@ Peers_check_sending_channel_exists (const struct GNUNET_PeerIdentity *peer) | |||
1586 | * @return #GNUNET_YES if the given chennel is the sending channel of the peer | 1586 | * @return #GNUNET_YES if the given chennel is the sending channel of the peer |
1587 | * #GNUNET_NO otherwise | 1587 | * #GNUNET_NO otherwise |
1588 | */ | 1588 | */ |
1589 | int | 1589 | static int |
1590 | Peers_check_channel_role (const struct GNUNET_PeerIdentity *peer, | 1590 | Peers_check_channel_role (const struct GNUNET_PeerIdentity *peer, |
1591 | const struct GNUNET_CADET_Channel *channel, | 1591 | const struct GNUNET_CADET_Channel *channel, |
1592 | enum Peers_ChannelRole role) | 1592 | enum Peers_ChannelRole role) |
@@ -1626,7 +1626,7 @@ Peers_check_channel_role (const struct GNUNET_PeerIdentity *peer, | |||
1626 | * @return #GNUNET_YES if channel was destroyed | 1626 | * @return #GNUNET_YES if channel was destroyed |
1627 | * #GNUNET_NO otherwise | 1627 | * #GNUNET_NO otherwise |
1628 | */ | 1628 | */ |
1629 | int | 1629 | static int |
1630 | Peers_destroy_sending_channel (const struct GNUNET_PeerIdentity *peer) | 1630 | Peers_destroy_sending_channel (const struct GNUNET_PeerIdentity *peer) |
1631 | { | 1631 | { |
1632 | struct PeerContext *peer_ctx; | 1632 | struct PeerContext *peer_ctx; |
@@ -1655,7 +1655,7 @@ Peers_destroy_sending_channel (const struct GNUNET_PeerIdentity *peer) | |||
1655 | * @param ev envelope of the message | 1655 | * @param ev envelope of the message |
1656 | * @param type type of the message | 1656 | * @param type type of the message |
1657 | */ | 1657 | */ |
1658 | void | 1658 | static void |
1659 | Peers_send_message (const struct GNUNET_PeerIdentity *peer, | 1659 | Peers_send_message (const struct GNUNET_PeerIdentity *peer, |
1660 | struct GNUNET_MQ_Envelope *ev, | 1660 | struct GNUNET_MQ_Envelope *ev, |
1661 | const char *type) | 1661 | const char *type) |
@@ -1685,7 +1685,7 @@ Peers_send_message (const struct GNUNET_PeerIdentity *peer, | |||
1685 | * @return #GNUNET_YES if the operation was scheduled | 1685 | * @return #GNUNET_YES if the operation was scheduled |
1686 | * #GNUNET_NO otherwise | 1686 | * #GNUNET_NO otherwise |
1687 | */ | 1687 | */ |
1688 | int | 1688 | static int |
1689 | Peers_schedule_operation (const struct GNUNET_PeerIdentity *peer, | 1689 | Peers_schedule_operation (const struct GNUNET_PeerIdentity *peer, |
1690 | const PeerOp peer_op) | 1690 | const PeerOp peer_op) |
1691 | { | 1691 | { |
@@ -1718,7 +1718,7 @@ Peers_schedule_operation (const struct GNUNET_PeerIdentity *peer, | |||
1718 | * | 1718 | * |
1719 | * @return The recv_channel. | 1719 | * @return The recv_channel. |
1720 | */ | 1720 | */ |
1721 | struct GNUNET_CADET_Channel * | 1721 | static struct GNUNET_CADET_Channel * |
1722 | Peers_get_recv_channel (const struct GNUNET_PeerIdentity *peer) | 1722 | Peers_get_recv_channel (const struct GNUNET_PeerIdentity *peer) |
1723 | { | 1723 | { |
1724 | struct PeerContext *peer_ctx; | 1724 | struct PeerContext *peer_ctx; |