aboutsummaryrefslogtreecommitdiff
path: root/src/util/secmod_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/secmod_common.h')
-rw-r--r--src/util/secmod_common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/util/secmod_common.h b/src/util/secmod_common.h
index a212c9d4..b24e91cb 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;