diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-02 17:25:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-02 17:25:57 +0100 |
commit | dfe245814ce868073f26b6ad5f05a24b9d99c7b4 (patch) | |
tree | c9f0cb1eb4737112a915a9bc5f113d33cf584486 /src/util/secmod_common.h | |
parent | ae866fc45d50a11fce4557500611bee10704fb4a (diff) | |
download | exchange-dfe245814ce868073f26b6ad5f05a24b9d99c7b4.tar.xz |
reduce lock contention in RSA secmod
Diffstat (limited to 'src/util/secmod_common.h')
-rw-r--r-- | src/util/secmod_common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/util/secmod_common.h b/src/util/secmod_common.h index a212c9d49..b24e91cb2 100644 --- a/src/util/secmod_common.h +++ b/src/util/secmod_common.h @@ -52,6 +52,19 @@ TES_transmit (int sock, /** + * Transmit @a end bytes from @a pos on @a sock. + * + * @param sock where to send the data + * @param end how many bytes to send + * @param pos first address with data + * @return #GNUNET_OK on success + */ +enum GNUNET_GenericReturnValue +TES_transmit_raw (int sock, + size_t end, + const void *pos); + +/** * Information we keep for a client connected to us. */ struct TES_Client; |