nginx-quic/src/imap/ngx_imap_ssl_module.h

37 lines
536 B
C
Raw Normal View History

/*
* Copyright (C) Igor Sysoev
*/
#ifndef _NGX_IMAP_SSL_H_INCLUDED_
#define _NGX_IMAP_SSL_H_INCLUDED_
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_imap.h>
typedef struct {
ngx_flag_t enable;
ngx_ssl_t ssl;
ngx_flag_t prefer_server_ciphers;
ngx_uint_t protocols;
ngx_str_t certificate;
ngx_str_t certificate_key;
ngx_str_t ciphers;
} ngx_imap_ssl_conf_t;
extern ngx_module_t ngx_imap_ssl_module;
#endif /* _NGX_IMAP_SSL_H_INCLUDED_ */