Mercurial > hg > nginx
comparison src/mail/ngx_mail.h @ 1479:2647950e047f
optimizations
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 13 Sep 2007 21:24:27 +0000 |
parents | 59e1caf2be94 |
children | b58ce1cf66da |
comparison
equal
deleted
inserted
replaced
1478:d0cce8369848 | 1479:2647950e047f |
---|---|
311 typedef ngx_int_t (*ngx_mail_parse_command_pt)(ngx_mail_session_t *s); | 311 typedef ngx_int_t (*ngx_mail_parse_command_pt)(ngx_mail_session_t *s); |
312 | 312 |
313 | 313 |
314 #if (NGX_MAIL_SSL) | 314 #if (NGX_MAIL_SSL) |
315 void ngx_mail_starttls_handler(ngx_event_t *rev); | 315 void ngx_mail_starttls_handler(ngx_event_t *rev); |
316 ngx_int_t ngx_mail_starttls_only(ngx_mail_session_t *s, ngx_connection_t *c); | |
316 #endif | 317 #endif |
317 | 318 |
318 | 319 |
319 void ngx_mail_init_connection(ngx_connection_t *c); | 320 void ngx_mail_init_connection(ngx_connection_t *c); |
320 | 321 |
328 ngx_uint_t n); | 329 ngx_uint_t n); |
329 ngx_int_t ngx_mail_auth_login_username(ngx_mail_session_t *s, | 330 ngx_int_t ngx_mail_auth_login_username(ngx_mail_session_t *s, |
330 ngx_connection_t *c); | 331 ngx_connection_t *c); |
331 ngx_int_t ngx_mail_auth_login_password(ngx_mail_session_t *s, | 332 ngx_int_t ngx_mail_auth_login_password(ngx_mail_session_t *s, |
332 ngx_connection_t *c); | 333 ngx_connection_t *c); |
334 ngx_int_t ngx_mail_auth_cram_md5_salt(ngx_mail_session_t *s, | |
335 ngx_connection_t *c, char *prefix, size_t len); | |
333 ngx_int_t ngx_mail_auth_cram_md5(ngx_mail_session_t *s, ngx_connection_t *c); | 336 ngx_int_t ngx_mail_auth_cram_md5(ngx_mail_session_t *s, ngx_connection_t *c); |
334 | 337 |
335 void ngx_mail_send(ngx_event_t *wev); | 338 void ngx_mail_send(ngx_event_t *wev); |
336 ngx_int_t ngx_mail_read_command(ngx_mail_session_t *s); | 339 ngx_int_t ngx_mail_read_command(ngx_mail_session_t *s); |
337 void ngx_mail_auth(ngx_mail_session_t *s); | 340 void ngx_mail_auth(ngx_mail_session_t *s); |
349 void ngx_mail_smtp_init_protocol(ngx_event_t *rev); | 352 void ngx_mail_smtp_init_protocol(ngx_event_t *rev); |
350 | 353 |
351 ngx_int_t ngx_mail_pop3_parse_command(ngx_mail_session_t *s); | 354 ngx_int_t ngx_mail_pop3_parse_command(ngx_mail_session_t *s); |
352 ngx_int_t ngx_mail_imap_parse_command(ngx_mail_session_t *s); | 355 ngx_int_t ngx_mail_imap_parse_command(ngx_mail_session_t *s); |
353 ngx_int_t ngx_mail_smtp_parse_command(ngx_mail_session_t *s); | 356 ngx_int_t ngx_mail_smtp_parse_command(ngx_mail_session_t *s); |
357 ngx_int_t ngx_mail_auth_parse(ngx_mail_session_t *s, ngx_connection_t *c); | |
354 | 358 |
355 | 359 |
356 /* STUB */ | 360 /* STUB */ |
357 void ngx_mail_proxy_init(ngx_mail_session_t *s, ngx_peer_addr_t *peer); | 361 void ngx_mail_proxy_init(ngx_mail_session_t *s, ngx_peer_addr_t *peer); |
358 void ngx_mail_auth_http_init(ngx_mail_session_t *s); | 362 void ngx_mail_auth_http_init(ngx_mail_session_t *s); |