Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.15.12 ]​[ nginx-1.16.0 ]​

0001 
0002 // stub module to test header files' C++ compatibility
0003 
0004 extern "C" {
0005   #include <ngx_config.h>
0006   #include <ngx_core.h>
0007   #include <ngx_event.h>
0008   #include <ngx_event_connect.h>
0009   #include <ngx_event_pipe.h>
0010 
0011   #include <ngx_http.h>
0012 
0013   #include <ngx_mail.h>
0014   #include <ngx_mail_pop3_module.h>
0015   #include <ngx_mail_imap_module.h>
0016   #include <ngx_mail_smtp_module.h>
0017 }
0018 
0019 // nginx header files should go before other, because they define 64-bit off_t
0020 // #include <string>
0021 
0022 
0023 void ngx_cpp_test_handler(void *data);
0024 
0025 void
0026 ngx_cpp_test_handler(void *data)
0027 {
0028     return;
0029 }