comparison src/event/ngx_event.h @ 8001:8206ecdcd837

Core: the ngx_event_udp.h header file.
author Vladimir Homutov <vl@nginx.com>
date Tue, 25 Jan 2022 15:41:48 +0300
parents e2d07e4ec636
children ce6d9cf0f567
comparison
equal deleted inserted replaced
8000:60b8f529db13 8001:8206ecdcd837
492 (*(ngx_get_conf(conf_ctx, ngx_events_module))) [module.ctx_index] 492 (*(ngx_get_conf(conf_ctx, ngx_events_module))) [module.ctx_index]
493 493
494 494
495 495
496 void ngx_event_accept(ngx_event_t *ev); 496 void ngx_event_accept(ngx_event_t *ev);
497 #if !(NGX_WIN32)
498 void ngx_event_recvmsg(ngx_event_t *ev);
499 void ngx_udp_rbtree_insert_value(ngx_rbtree_node_t *temp,
500 ngx_rbtree_node_t *node, ngx_rbtree_node_t *sentinel);
501 #endif
502 void ngx_delete_udp_connection(void *data);
503 ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle); 497 ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle);
504 ngx_int_t ngx_enable_accept_events(ngx_cycle_t *cycle); 498 ngx_int_t ngx_enable_accept_events(ngx_cycle_t *cycle);
505 u_char *ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len); 499 u_char *ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len);
506 #if (NGX_DEBUG) 500 #if (NGX_DEBUG)
507 void ngx_debug_accepted_connection(ngx_event_conf_t *ecf, ngx_connection_t *c); 501 void ngx_debug_accepted_connection(ngx_event_conf_t *ecf, ngx_connection_t *c);
527 #define ngx_event_ident(p) ((ngx_connection_t *) (p))->fd 521 #define ngx_event_ident(p) ((ngx_connection_t *) (p))->fd
528 522
529 523
530 #include <ngx_event_timer.h> 524 #include <ngx_event_timer.h>
531 #include <ngx_event_posted.h> 525 #include <ngx_event_posted.h>
526 #include <ngx_event_udp.h>
532 527
533 #if (NGX_WIN32) 528 #if (NGX_WIN32)
534 #include <ngx_iocp_module.h> 529 #include <ngx_iocp_module.h>
535 #endif 530 #endif
536 531