- Timestamp:
- Sep 23, 2024, 8:31:18 PM (8 weeks ago)
- Location:
- trunk/Server
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r136 r140 503 503 cmtime -= (btm->tm_hour * 60 + btm->tm_min) * 60; 504 504 #else 505 cmtime = timegm(&tm);505 cmtime = timegm(&tm); 506 506 #endif 507 507 } -
trunk/Server/strptime.h
r32 r140 1 1 #ifndef STRPTIME_H 2 2 #define STRPTIME_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 3 7 4 8 #include <time.h> … … 8 12 #endif 9 13 14 #ifdef __cplusplus 15 } 16 #endif 17 10 18 #endif // STRPTIME_H -
trunk/Server/tw_config.h
r128 r140 3 3 #ifndef __TW_CONFIG_H__ 4 4 #define __TW_CONFIG_H__ 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 5 9 6 10 #include "tw_http.h" … … 92 96 bool tw_permission_allowed(const char* path, SOCKADDR addr, struct tw_http_request req, struct tw_config_entry* vhost); 93 97 98 #ifdef __cplusplus 99 } 94 100 #endif 101 102 #endif -
trunk/Server/tw_http.h
r43 r140 3 3 #ifndef __TW_HTTP_H__ 4 4 #define __TW_HTTP_H__ 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 5 9 6 10 #include <stdbool.h> … … 35 39 #endif 36 40 41 #ifdef __cplusplus 42 } 37 43 #endif 44 45 #endif -
trunk/Server/tw_module.h
r39 r140 3 3 #ifndef __TW_MODULE_H__ 4 4 #define __TW_MODULE_H__ 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 5 9 6 10 #include "tw_config.h" … … 34 38 typedef int (*tw_mod_config_t)(struct tw_tool* tools, char** argv, int argc); 35 39 40 #ifdef SOURCE 36 41 void* tw_module_load(const char* path); 37 42 void* tw_module_symbol(void* mod, const char* sym); 38 43 void tw_init_tools(struct tw_tool* tools); 39 44 int tw_module_init(void* mod); 45 #endif 46 47 #ifdef __cplusplus 48 } 49 #endif 40 50 41 51 #endif -
trunk/Server/tw_server.h
r43 r140 3 3 #ifndef __TW_SERVER_H__ 4 4 #define __TW_SERVER_H__ 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 5 9 6 10 #include "../config.h" … … 23 27 #endif 24 28 29 #ifdef __cplusplus 30 } 25 31 #endif 32 33 #endif -
trunk/Server/tw_ssl.h
r31 r140 3 3 #ifndef __TW_SSL_H__ 4 4 #define __TW_SSL_H__ 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 5 9 6 10 #include <openssl/ssl.h> … … 9 13 SSL_CTX* tw_create_ssl_ctx(__UINTPTR_TYPE__ port); 10 14 15 #ifdef __cplusplus 16 } 11 17 #endif 18 19 #endif -
trunk/Server/tw_version.h
r138 r140 3 3 #ifndef __TW_VERSION_H__ 4 4 #define __TW_VERSION_H__ 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 5 9 6 10 #define TW_VERSION "1.05A\0" … … 9 13 const char* tw_get_platform(void); 10 14 15 #ifdef __cplusplus 16 } 11 17 #endif 18 19 #endif
Note:
See TracChangeset
for help on using the changeset viewer.