[nginx] Core: the ngx_event_udp.h header file.
Vladimir Homutov
vl at nginx.com
Thu Jan 27 11:43:22 UTC 2022
details: https://hg.nginx.org/nginx/rev/8206ecdcd837
branches:
changeset: 8001:8206ecdcd837
user: Vladimir Homutov <vl at nginx.com>
date: Tue Jan 25 15:41:48 2022 +0300
description:
Core: the ngx_event_udp.h header file.
diffstat:
auto/sources | 3 ++-
src/event/ngx_event.h | 7 +------
src/event/ngx_event_udp.h | 24 ++++++++++++++++++++++++
3 files changed, 27 insertions(+), 7 deletions(-)
diffs (65 lines):
diff -r 60b8f529db13 -r 8206ecdcd837 auto/sources
--- a/auto/sources Thu Jan 27 13:44:09 2022 +0300
+++ b/auto/sources Tue Jan 25 15:41:48 2022 +0300
@@ -89,7 +89,8 @@ EVENT_DEPS="src/event/ngx_event.h \
src/event/ngx_event_timer.h \
src/event/ngx_event_posted.h \
src/event/ngx_event_connect.h \
- src/event/ngx_event_pipe.h"
+ src/event/ngx_event_pipe.h \
+ src/event/ngx_event_udp.h"
EVENT_SRCS="src/event/ngx_event.c \
src/event/ngx_event_timer.c \
diff -r 60b8f529db13 -r 8206ecdcd837 src/event/ngx_event.h
--- a/src/event/ngx_event.h Thu Jan 27 13:44:09 2022 +0300
+++ b/src/event/ngx_event.h Tue Jan 25 15:41:48 2022 +0300
@@ -494,12 +494,6 @@ extern ngx_module_t ngx_event_
void ngx_event_accept(ngx_event_t *ev);
-#if !(NGX_WIN32)
-void ngx_event_recvmsg(ngx_event_t *ev);
-void ngx_udp_rbtree_insert_value(ngx_rbtree_node_t *temp,
- ngx_rbtree_node_t *node, ngx_rbtree_node_t *sentinel);
-#endif
-void ngx_delete_udp_connection(void *data);
ngx_int_t ngx_trylock_accept_mutex(ngx_cycle_t *cycle);
ngx_int_t ngx_enable_accept_events(ngx_cycle_t *cycle);
u_char *ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len);
@@ -529,6 +523,7 @@ ngx_int_t ngx_send_lowat(ngx_connection_
#include <ngx_event_timer.h>
#include <ngx_event_posted.h>
+#include <ngx_event_udp.h>
#if (NGX_WIN32)
#include <ngx_iocp_module.h>
diff -r 60b8f529db13 -r 8206ecdcd837 src/event/ngx_event_udp.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/event/ngx_event_udp.h Tue Jan 25 15:41:48 2022 +0300
@@ -0,0 +1,24 @@
+
+/*
+ * Copyright (C) Nginx, Inc.
+ */
+
+
+#ifndef _NGX_EVENT_UDP_H_INCLUDED_
+#define _NGX_EVENT_UDP_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+
+
+#if !(NGX_WIN32)
+void ngx_event_recvmsg(ngx_event_t *ev);
+void ngx_udp_rbtree_insert_value(ngx_rbtree_node_t *temp,
+ ngx_rbtree_node_t *node, ngx_rbtree_node_t *sentinel);
+#endif
+
+void ngx_delete_udp_connection(void *data);
+
+
+#endif /* _NGX_EVENT_UDP_H_INCLUDED_ */
More information about the nginx-devel
mailing list