summaryrefslogtreecommitdiff
path: root/src/core/thread_sync.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_sync.h
added webrdp public code
Diffstat (limited to 'src/core/thread_sync.h')
-rw-r--r--src/core/thread_sync.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/thread_sync.h b/src/core/thread_sync.h
new file mode 100644
index 0000000..226e610
--- /dev/null
+++ b/src/core/thread_sync.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
+
+typedef enum
+{
+ msg_type_destroy_ws_backend_info,
+ msg_type_backend_created
+} usr_pool_msg_type;
+
+typedef struct
+{
+ usr_pool_msg_type type;
+ wrdp_backend_module *backend;
+} user_pool_msg;
+
+void pool_message_handler(void *user_data);
+
+void thread_message_handler(void *user_data);