aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillow Liquorice <willow@howhill.com>2022-08-26 20:48:49 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-08-30 09:41:56 +0200
commit285bf1c6bc5c2e3b95d01f227a8c99926d81b69a (patch)
tree54673492e50ffb0bfcf4d0f28a6ffcf24e5c042c
parente89ea2e8b59e90d99082277d834a450280ef8b7f (diff)
downloadgnunet-285bf1c6bc5c2e3b95d01f227a8c99926d81b69a.tar.gz
gnunet-285bf1c6bc5c2e3b95d01f227a8c99926d81b69a.zip
-First pass through CORE
-rw-r--r--src/core/gnunet-service-core_kx.c7
-rw-r--r--src/core/gnunet-service-core_sessions.c15
-rw-r--r--src/core/gnunet-service-core_typemap.c6
3 files changed, 0 insertions, 28 deletions
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c
index 07c346485..c5992a824 100644
--- a/src/core/gnunet-service-core_kx.c
+++ b/src/core/gnunet-service-core_kx.c
@@ -1392,13 +1392,6 @@ send_key (struct GSC_KeyExchangeInfo *kx)
1392} 1392}
1393 1393
1394 1394
1395/**
1396 * Encrypt and transmit a message with the given payload.
1397 *
1398 * @param kx key exchange context
1399 * @param payload payload of the message
1400 * @param payload_size number of bytes in @a payload
1401 */
1402void 1395void
1403GSC_KX_encrypt_and_transmit (struct GSC_KeyExchangeInfo *kx, 1396GSC_KX_encrypt_and_transmit (struct GSC_KeyExchangeInfo *kx,
1404 const void *payload, 1397 const void *payload,
diff --git a/src/core/gnunet-service-core_sessions.c b/src/core/gnunet-service-core_sessions.c
index d40b3bfad..e103c89f5 100644
--- a/src/core/gnunet-service-core_sessions.c
+++ b/src/core/gnunet-service-core_sessions.c
@@ -855,14 +855,6 @@ GSC_SESSIONS_solicit (const struct GNUNET_PeerIdentity *pid)
855} 855}
856 856
857 857
858/**
859 * Transmit a message to a particular peer.
860 *
861 * @param car original request that was queued and then solicited;
862 * this handle will now be 'owned' by the SESSIONS subsystem
863 * @param msg message to transmit
864 * @param priority how important is this message
865 */
866void 858void
867GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car, 859GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car,
868 const struct GNUNET_MessageHeader *msg, 860 const struct GNUNET_MessageHeader *msg,
@@ -904,13 +896,6 @@ GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car,
904} 896}
905 897
906 898
907/**
908 * We have received a typemap message from a peer, update ours.
909 * Notifies clients about the session.
910 *
911 * @param peer peer this is about
912 * @param msg typemap update message
913 */
914void 899void
915GSC_SESSIONS_set_typemap (const struct GNUNET_PeerIdentity *peer, 900GSC_SESSIONS_set_typemap (const struct GNUNET_PeerIdentity *peer,
916 const struct GNUNET_MessageHeader *msg) 901 const struct GNUNET_MessageHeader *msg)
diff --git a/src/core/gnunet-service-core_typemap.c b/src/core/gnunet-service-core_typemap.c
index 47235501c..7b7df2fe9 100644
--- a/src/core/gnunet-service-core_typemap.c
+++ b/src/core/gnunet-service-core_typemap.c
@@ -253,12 +253,6 @@ GSC_TYPEMAP_add (const uint16_t *types, unsigned int tlen)
253} 253}
254 254
255 255
256/**
257 * Remove a set of types from our type map.
258 *
259 * @param types array of types to remove
260 * @param tlen length of the @a types array
261 */
262void 256void
263GSC_TYPEMAP_remove (const uint16_t *types, unsigned int tlen) 257GSC_TYPEMAP_remove (const uint16_t *types, unsigned int tlen)
264{ 258{