summaryrefslogtreecommitdiff
path: root/src/core/thread_impl.h
diff options
context:
space:
mode:
authorsss <sss@dark-alexandr.net>2023-01-17 00:38:19 +0300
committersss <sss@dark-alexandr.net>2023-01-17 00:38:19 +0300
commitcc3f33db7a8d3c4ad373e646b199808e01bc5d9b (patch)
treeec09d690c7656ab5f2cc72607e05fb359c24d8b2 /src/core/thread_impl.h
added webrdp public code
Diffstat (limited to 'src/core/thread_impl.h')
-rw-r--r--src/core/thread_impl.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/thread_impl.h b/src/core/thread_impl.h
new file mode 100644
index 0000000..2034e74
--- /dev/null
+++ b/src/core/thread_impl.h
@@ -0,0 +1,23 @@
+/* BSD-2-Clause license
+ *
+ * Copyright (c) 2018-2023 NST <www.newinfosec.ru>, sss <sss at dark-alexandr dot net>.
+ *
+ */
+
+#pragma once
+
+void ws_run_session(wrdp_thpool_task *task, void *user_data);
+
+void ws_stop_session(wrdp_thpool_task *current_task, void *_ws_session);
+
+void ctl_run_task(wrdp_thpool_task *task, void *user_data);
+
+void task_destroy_client_connection(ws_session *session);
+
+void destroy_task(task_info *t_info);
+
+void ws_session_init_cb(wrdp_thpool_task *task, void *user_data);
+
+void task_timeouts_check_cb(EV_P_ ev_timer *w, int revents);
+
+void task_destroy_timers(wrdp_thpool_task *task);