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 /*
0003  * Copyright (C) Igor Sysoev
0004  * Copyright (C) Nginx, Inc.
0005  */
0006 
0007 
0008 #ifndef _NGX_MAIL_IMAP_MODULE_H_INCLUDED_
0009 #define _NGX_MAIL_IMAP_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     size_t       client_buffer_size;
0019 
0020     ngx_str_t    capability;
0021     ngx_str_t    starttls_capability;
0022     ngx_str_t    starttls_only_capability;
0023 
0024     ngx_uint_t   auth_methods;
0025 
0026     ngx_array_t  capabilities;
0027 } ngx_mail_imap_srv_conf_t;
0028 
0029 
0030 void ngx_mail_imap_init_session(ngx_mail_session_t *s, ngx_connection_t *c);
0031 void ngx_mail_imap_init_protocol(ngx_event_t *rev);
0032 void ngx_mail_imap_auth_state(ngx_event_t *rev);
0033 ngx_int_t ngx_mail_imap_parse_command(ngx_mail_session_t *s);
0034 
0035 
0036 extern ngx_module_t  ngx_mail_imap_module;
0037 
0038 
0039 #endif /* _NGX_MAIL_IMAP_MODULE_H_INCLUDED_ */