/
zOMGdev
/
nginx
Обзор
Документация
Войти
/
zOMGdev
/
nginx
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/misc/ngx_cpp_test_module.cpp
30 строк
592 B
Ruslan Ermilov
Cpp test: added stream.
13 окт 2020, 07:44
13 окт 2020, 07:44
2ba670a
Код
Авторство
О чём код?
// stub module to test header files' C++ compatibility extern "C" { #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #include <ngx_event_connect.h> #include <ngx_event_pipe.h> #include <ngx_http.h> #include <ngx_mail.h> #include <ngx_mail_pop3_module.h> #include <ngx_mail_imap_module.h> #include <ngx_mail_smtp_module.h> #include <ngx_stream.h> } // nginx header files should go before other, because they define 64-bit off_t // #include <string> void ngx_cpp_test_handler(void *data); void ngx_cpp_test_handler(void *data) { return; }