aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rps/gnunet-service-rps.c16
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 */
1489int 1489static int
1490Peers_check_peer_send_intention (const struct GNUNET_PeerIdentity *peer) 1490Peers_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 */
1513void * 1513static void *
1514Peers_handle_inbound_channel (void *cls, 1514Peers_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 */
1559int 1559static int
1560Peers_check_sending_channel_exists (const struct GNUNET_PeerIdentity *peer) 1560Peers_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 */
1589int 1589static int
1590Peers_check_channel_role (const struct GNUNET_PeerIdentity *peer, 1590Peers_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 */
1629int 1629static int
1630Peers_destroy_sending_channel (const struct GNUNET_PeerIdentity *peer) 1630Peers_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 */
1658void 1658static void
1659Peers_send_message (const struct GNUNET_PeerIdentity *peer, 1659Peers_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 */
1688int 1688static int
1689Peers_schedule_operation (const struct GNUNET_PeerIdentity *peer, 1689Peers_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 */
1721struct GNUNET_CADET_Channel * 1721static struct GNUNET_CADET_Channel *
1722Peers_get_recv_channel (const struct GNUNET_PeerIdentity *peer) 1722Peers_get_recv_channel (const struct GNUNET_PeerIdentity *peer)
1723{ 1723{
1724 struct PeerContext *peer_ctx; 1724 struct PeerContext *peer_ctx;