summaryrefslogtreecommitdiffstats
path: root/daemon/tls.h
diff options
context:
space:
mode:
authorGrigorii Demidov <grigorii.demidov@nic.cz>2018-09-13 17:28:23 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2018-10-12 17:36:40 +0200
commitab4816f201594f47640d825f77cec21d50c82eb6 (patch)
tree24da21dad46aff3602531691f36a598bab8c2945 /daemon/tls.h
parentMerge !680: hints.use_nodata(true) by default (diff)
downloadknot-resolver-ab4816f201594f47640d825f77cec21d50c82eb6.tar.xz
knot-resolver-ab4816f201594f47640d825f77cec21d50c82eb6.zip
daemon: logic around struct session was relocated to separate module; input data buffering scheme was changed (libuv); attempt was made to simplify processing of the stream
Diffstat (limited to 'daemon/tls.h')
-rw-r--r--daemon/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/tls.h b/daemon/tls.h
index d208f4cb..1bfa6ef6 100644
--- a/daemon/tls.h
+++ b/daemon/tls.h
@@ -134,7 +134,7 @@ int tls_write(uv_write_t *req, uv_handle_t* handle, knot_pkt_t * pkt, uv_write_c
/*! Unwrap incoming data from a TLS stream and pass them to TCP session.
* @return the number of newly-completed requests (>=0) or an error code
*/
-int tls_process(struct worker_ctx *worker, uv_stream_t *handle, const uint8_t *buf, ssize_t nread);
+ssize_t tls_process_input_data(struct session *s, const uint8_t *buf, ssize_t nread);
/*! Set TLS certificate and key from files. */
int tls_certificate_set(struct network *net, const char *tls_cert, const char *tls_key);