diff options
Diffstat (limited to 'src/core/gnunet-service-core_kx.h')
-rw-r--r-- | src/core/gnunet-service-core_kx.h | 17 |
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 | */ |
46 | void | 46 | void |
47 | GSC_KX_encrypt_and_transmit(struct GSC_KeyExchangeInfo *kx, | 47 | GSC_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 | */ |
58 | int | 58 | int |
59 | GSC_KX_init(struct GNUNET_CRYPTO_EddsaPrivateKey *pk); | 59 | GSC_KX_init (struct GNUNET_CRYPTO_EddsaPrivateKey *pk); |
60 | 60 | ||
61 | 61 | ||
62 | /** | 62 | /** |
63 | * Shutdown KX subsystem. | 63 | * Shutdown KX subsystem. |
64 | */ | 64 | */ |
65 | void | 65 | void |
66 | GSC_KX_done(void); | 66 | GSC_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 | */ |
75 | int | 75 | int |
76 | GSC_NEIGHBOURS_check_excess_bandwidth(const struct GSC_KeyExchangeInfo *target); | 76 | GSC_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 | */ |
85 | unsigned int | 86 | unsigned int |
86 | GSC_NEIGHBOURS_get_queue_length(const struct GSC_KeyExchangeInfo *target); | 87 | GSC_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 | */ |
97 | void | 98 | void |
98 | GSC_KX_handle_client_monitor_peers(struct GNUNET_MQ_Handle *mq); | 99 | GSC_KX_handle_client_monitor_peers (struct GNUNET_MQ_Handle *mq); |
99 | 100 | ||
100 | 101 | ||
101 | #endif | 102 | #endif |