aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-01-28 05:50:12 +0100
committerChristian Grothoff <christian@grothoff.org>2019-01-28 05:50:12 +0100
commit64483767341fc741ea68249335ac1914c5a6cf1c (patch)
treef74cf6c12efc8b8bc718880fc3ff61b820acf84d /src/include
parent1c9f269ea5cadb20bb5f7fc209274ba5d6af4749 (diff)
downloadgnunet-64483767341fc741ea68249335ac1914c5a6cf1c.tar.gz
gnunet-64483767341fc741ea68249335ac1914c5a6cf1c.zip
more work on TCP communicator
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_crypto_lib.h4
-rw-r--r--src/include/gnunet_protocols.h17
-rw-r--r--src/include/gnunet_signatures.h5
3 files changed, 23 insertions, 3 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 6342862eb..6a9eddd7c 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -740,8 +740,8 @@ GNUNET_CRYPTO_hash_context_abort (struct GNUNET_HashContext *hc);
740 */ 740 */
741void 741void
742GNUNET_CRYPTO_hmac_raw (const void *key, size_t key_len, 742GNUNET_CRYPTO_hmac_raw (const void *key, size_t key_len,
743 const void *plaintext, size_t plaintext_len, 743 const void *plaintext, size_t plaintext_len,
744 struct GNUNET_HashCode *hmac); 744 struct GNUNET_HashCode *hmac);
745 745
746 746
747/** 747/**
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 1cd06de8d..409356d77 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -3219,7 +3219,22 @@ extern "C"
3219 3219
3220 3220
3221/** 3221/**
3222 * Next available: 1450 3222 * TCP communicator rekey message.
3223 */
3224#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_TCP_REKEY 1450
3225
3226/**
3227 * TCP communicator payload box
3228 */
3229#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_TCP_BOX 1451
3230
3231/**
3232 * TCP communicator end of stream.
3233 */
3234#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_TCP_FINISH 1452
3235
3236/**
3237 * Next available: 1500
3223 */ 3238 */
3224 3239
3225 3240
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h
index 738a414ab..4f4d546ff 100644
--- a/src/include/gnunet_signatures.h
+++ b/src/include/gnunet_signatures.h
@@ -207,6 +207,11 @@ extern "C"
207 */ 207 */
208#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_HANDSHAKE 31 208#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_HANDSHAKE 31
209 209
210/**
211 * Signature used by TCP communicator rekey.
212 */
213#define GNUNET_SIGNATURE_COMMUNICATOR_TCP_REKEY 32
214
210#if 0 /* keep Emacsens' auto-indent happy */ 215#if 0 /* keep Emacsens' auto-indent happy */
211{ 216{
212#endif 217#endif