aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_kx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gnunet-service-core_kx.h')
-rw-r--r--src/core/gnunet-service-core_kx.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/core/gnunet-service-core_kx.h b/src/core/gnunet-service-core_kx.h
index d8928f7d3..77f3e43b6 100644
--- a/src/core/gnunet-service-core_kx.h
+++ b/src/core/gnunet-service-core_kx.h
@@ -44,9 +44,9 @@ struct GSC_KeyExchangeInfo;
44 * @param payload_size number of bytes in 'payload' 44 * @param payload_size number of bytes in 'payload'
45 */ 45 */
46void 46void
47GSC_KX_encrypt_and_transmit(struct GSC_KeyExchangeInfo *kx, 47GSC_KX_encrypt_and_transmit (struct GSC_KeyExchangeInfo *kx,
48 const void *payload, 48 const void *payload,
49 size_t payload_size); 49 size_t payload_size);
50 50
51 51
52/** 52/**
@@ -56,14 +56,14 @@ GSC_KX_encrypt_and_transmit(struct GSC_KeyExchangeInfo *kx,
56 * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure 56 * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure
57 */ 57 */
58int 58int
59GSC_KX_init(struct GNUNET_CRYPTO_EddsaPrivateKey *pk); 59GSC_KX_init (struct GNUNET_CRYPTO_EddsaPrivateKey *pk);
60 60
61 61
62/** 62/**
63 * Shutdown KX subsystem. 63 * Shutdown KX subsystem.
64 */ 64 */
65void 65void
66GSC_KX_done(void); 66GSC_KX_done (void);
67 67
68 68
69/** 69/**
@@ -73,7 +73,8 @@ GSC_KX_done(void);
73 * @return #GNUNET_YES if excess bandwidth is available, #GNUNET_NO if not 73 * @return #GNUNET_YES if excess bandwidth is available, #GNUNET_NO if not
74 */ 74 */
75int 75int
76GSC_NEIGHBOURS_check_excess_bandwidth(const struct GSC_KeyExchangeInfo *target); 76GSC_NEIGHBOURS_check_excess_bandwidth (const struct
77 GSC_KeyExchangeInfo *target);
77 78
78 79
79/** 80/**
@@ -83,7 +84,7 @@ GSC_NEIGHBOURS_check_excess_bandwidth(const struct GSC_KeyExchangeInfo *target);
83 * @return number of items in the message queue 84 * @return number of items in the message queue
84 */ 85 */
85unsigned int 86unsigned int
86GSC_NEIGHBOURS_get_queue_length(const struct GSC_KeyExchangeInfo *target); 87GSC_NEIGHBOURS_get_queue_length (const struct GSC_KeyExchangeInfo *target);
87 88
88 89
89/** 90/**
@@ -95,7 +96,7 @@ GSC_NEIGHBOURS_get_queue_length(const struct GSC_KeyExchangeInfo *target);
95 * @param mq message queue to add for monitoring 96 * @param mq message queue to add for monitoring
96 */ 97 */
97void 98void
98GSC_KX_handle_client_monitor_peers(struct GNUNET_MQ_Handle *mq); 99GSC_KX_handle_client_monitor_peers (struct GNUNET_MQ_Handle *mq);
99 100
100 101
101#endif 102#endif