Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.15.11 ]​[ nginx-1.14.2 ]​

0001 
0002 /*
0003  * Copyright (C) Igor Sysoev
0004  * Copyright (C) Nginx, Inc.
0005  */
0006 
0007 
0008 #ifndef _NGX_MAIL_SMTP_MODULE_H_INCLUDED_
0009 #define _NGX_MAIL_SMTP_MODULE_H_INCLUDED_
0010 
0011 
0012 #include <ngx_config.h>
0013 #include <ngx_core.h>
0014 #include <ngx_mail.h>
0015 #include <ngx_mail_smtp_module.h>
0016 
0017 
0018 typedef struct {
0019     ngx_msec_t   greeting_delay;
0020 
0021     size_t       client_buffer_size;
0022 
0023     ngx_str_t    capability;
0024     ngx_str_t    starttls_capability;
0025     ngx_str_t    starttls_only_capability;
0026 
0027     ngx_str_t    server_name;
0028     ngx_str_t    greeting;
0029 
0030     ngx_uint_t   auth_methods;
0031 
0032     ngx_array_t  capabilities;
0033 } ngx_mail_smtp_srv_conf_t;
0034 
0035 
0036 void ngx_mail_smtp_init_session(ngx_mail_session_t *s, ngx_connection_t *c);
0037 void ngx_mail_smtp_init_protocol(ngx_event_t *rev);
0038 void ngx_mail_smtp_auth_state(ngx_event_t *rev);
0039 ngx_int_t ngx_mail_smtp_parse_command(ngx_mail_session_t *s);
0040 
0041 
0042 extern ngx_module_t  ngx_mail_smtp_module;
0043 
0044 
0045 #endif /* _NGX_MAIL_SMTP_MODULE_H_INCLUDED_ */