Changeset 43 in Main for trunk/Server/tw_server.h
- Timestamp:
- Sep 18, 2024, 6:19:03 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/tw_server.h
r16 r43 4 4 #define __TW_SERVER_H__ 5 5 6 #include "../config.h" 7 8 #include <stddef.h> 9 10 #ifndef NO_SSL 6 11 #include <openssl/ssl.h> 12 #endif 7 13 8 14 int tw_server_init(void); 9 15 void tw_server_loop(void); 16 17 #ifndef NO_SSL 10 18 size_t tw_read(SSL* ssl, int s, void* data, size_t len); 11 19 size_t tw_write(SSL* ssl, int s, void* data, size_t len); 20 #else 21 size_t tw_read(void* ssl, int s, void* data, size_t len); 22 size_t tw_write(void* ssl, int s, void* data, size_t len); 23 #endif 12 24 13 25 #endif
Note:
See TracChangeset
for help on using the changeset viewer.