DSL
compat.h
1 //@AUTOHEADER@BEGIN@
2 /***********************************************************************\
3 | Drift Standard Libraries v1.01 |
4 | Copyright 2010-2023 Drift Solutions / Indy Sams |
5 | Docs and more information available at https://www.driftsolutions.dev |
6 | This file released under the 3-clause BSD license, |
7 | see included DSL.LICENSE.TXT file for details. |
8 \***********************************************************************/
9 //@AUTOHEADER@END@
10 
11 #ifndef DSL_NO_COMPAT
12 #ifndef _DSL_COMPAT_H_
13 #define _DSL_COMPAT_H_
14 
15 #define fill_random_buffer dsl_fill_random_buffer
16 
17 #define TITUS_SOCKET DSL_SOCKET
18 #define T_SOCKET D_SOCKET
19 #define TITUS_SOCKET_LIST DSL_SOCKET_LIST
20 #define TFD_ZERO DFD_ZERO
21 #define TFD_SET DFD_SET
22 #define TFD_ISSET DFD_ISSET
23 #define Titus_Sockets3 DSL_Sockets3
24 #define Titus_Sockets DSL_Sockets
25 #define TS3_FLAG_SSL DS3_FLAG_SSL
26 #define TS3_FLAG_ZIP DS3_FLAG_ZIP
27 #define TS3_SSL_METHOD_TLS DS3_SSL_METHOD_TLS
28 #define TS3_SSL_METHOD_TLS1_2 DS3_SSL_METHOD_TLS1_2
29 #define TS3_SSL_METHOD_TLS1_1 DS3_SSL_METHOD_TLS1_1
30 #define TS3_SSL_METHOD_TLS1_0 DS3_SSL_METHOD_TLS1_0
31 #define TS3_SSL_METHOD_DEFAULT DS3_SSL_METHOD_DEFAULT
32 
33 #define Titus_Buffer DSL_Buffer
34 #define Titus_Mutex DSL_Mutex
35 #define Titus_TimedMutex DSL_TimedMutex
36 #define Titus_Registry DSL_Registry
37 #define Titus_Download DSL_Download
38 #define TitusDownloadNoCurl DSL_Download_NoCurl
39 #define TitusDownloadCurl DSL_Download_Curl
40 
41 #define TT_THREAD_INFO DSL_THREAD_INFO
42 
43 #define TT_StartThread DSL_StartThread
44 #define TT_StartThreadNoRecord DSL_StartThreadNoRecord
45 #define SetThreadName DSL_SetThreadName
46 #define TT_NumThreads DSL_NumThreads
47 #define TT_NumThreadsWithID DSL_NumThreadsWithID
48 #define TT_PrintRunningThreads DSL_PrintRunningThreads
49 #define TT_PrintRunningThreadsWithID DSL_PrintRunningThreadsWithID
50 #define TT_KillThread DSL_KillThread
51 
52 #define TT_DEFINE_THREAD DSL_DEFINE_THREAD
53 
54 #define TT_THREAD_START DSL_THREAD_START
55 #define TT_THREAD_END DSL_THREAD_END
56 
57 #define TT_THREADEND DSL_THREADEND
58 
59 #endif // _DSL_COMPAT_H_
60 #endif // DSL_NO_COMPAT