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_POP3_MODULE_H_INCLUDED_
0009 #define _NGX_MAIL_POP3_MODULE_H_INCLUDED_
0010 
0011 
0012 #include <ngx_config.h>
0013 #include <ngx_core.h>
0014 #include <ngx_mail.h>
0015 
0016 
0017 typedef struct {
0018     ngx_str_t    capability;
0019     ngx_str_t    starttls_capability;
0020     ngx_str_t    starttls_only_capability;
0021     ngx_str_t    auth_capability;
0022 
0023     ngx_uint_t   auth_methods;
0024 
0025     ngx_array_t  capabilities;
0026 } ngx_mail_pop3_srv_conf_t;
0027 
0028 
0029 void ngx_mail_pop3_init_session(ngx_mail_session_t *s, ngx_connection_t *c);
0030 void ngx_mail_pop3_init_protocol(ngx_event_t *rev);
0031 void ngx_mail_pop3_auth_state(ngx_event_t *rev);
0032 ngx_int_t ngx_mail_pop3_parse_command(ngx_mail_session_t *s);
0033 
0034 
0035 extern ngx_module_t  ngx_mail_pop3_module;
0036 
0037 
0038 #endif /* _NGX_MAIL_POP3_MODULE_H_INCLUDED_ */