aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_kx.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-20 15:14:05 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-20 15:14:05 +0000
commit5663ca18885242fca4dd209898ffda9cbe675c58 (patch)
treeeba7a80df59830aefd927a5a5383e47b353d5a09 /src/core/gnunet-service-core_kx.h
parent7e835e78aa82869715c9aee96a73ba40aad3f39f (diff)
downloadgnunet-5663ca18885242fca4dd209898ffda9cbe675c58.tar.gz
gnunet-5663ca18885242fca4dd209898ffda9cbe675c58.zip
converting core service to new service API
Diffstat (limited to 'src/core/gnunet-service-core_kx.h')
-rw-r--r--src/core/gnunet-service-core_kx.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/core/gnunet-service-core_kx.h b/src/core/gnunet-service-core_kx.h
index 8614f090f..28293e607 100644
--- a/src/core/gnunet-service-core_kx.h
+++ b/src/core/gnunet-service-core_kx.h
@@ -53,12 +53,10 @@ GSC_KX_encrypt_and_transmit (struct GSC_KeyExchangeInfo *kx,
53 * Initialize KX subsystem. 53 * Initialize KX subsystem.
54 * 54 *
55 * @param pk private key to use for the peer 55 * @param pk private key to use for the peer
56 * @param server the server of the CORE service
57 * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure 56 * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure
58 */ 57 */
59int 58int
60GSC_KX_init (struct GNUNET_CRYPTO_EddsaPrivateKey *pk, 59GSC_KX_init (struct GNUNET_CRYPTO_EddsaPrivateKey *pk);
61 struct GNUNET_SERVER_Handle *server);
62 60
63 61
64/** 62/**
@@ -94,14 +92,10 @@ GSC_NEIGHBOURS_get_queue_length (const struct GSC_KeyExchangeInfo *target);
94 * request. All current peers are returned, regardless of which 92 * request. All current peers are returned, regardless of which
95 * message types they accept. 93 * message types they accept.
96 * 94 *
97 * @param cls unused 95 * @param mq message queue to add for monitoring
98 * @param client client sending the iteration request
99 * @param message iteration request message
100 */ 96 */
101void 97void
102GSC_KX_handle_client_monitor_peers (void *cls, 98GSC_KX_handle_client_monitor_peers (struct GNUNET_MQ_Handle *mq);
103 struct GNUNET_SERVER_Client *client,
104 const struct GNUNET_MessageHeader *message);
105 99
106 100
107#endif 101#endif