nxt_main.h (42:def41906e4a5) nxt_main.h (62:5e1efcc7b740)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_LIB_H_INCLUDED_
8#define _NXT_LIB_H_INCLUDED_

--- 96 unchanged lines hidden (view full) ---

105#include <nxt_service.h>
106
107typedef struct nxt_buf_s nxt_buf_t;
108typedef struct nxt_port_mmap_s nxt_port_mmap_t;
109#include <nxt_buf.h>
110#include <nxt_buf_pool.h>
111#include <nxt_recvbuf.h>
112
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_LIB_H_INCLUDED_
8#define _NXT_LIB_H_INCLUDED_

--- 96 unchanged lines hidden (view full) ---

105#include <nxt_service.h>
106
107typedef struct nxt_buf_s nxt_buf_t;
108typedef struct nxt_port_mmap_s nxt_port_mmap_t;
109#include <nxt_buf.h>
110#include <nxt_buf_pool.h>
111#include <nxt_recvbuf.h>
112
113typedef struct nxt_event_conn_s nxt_event_conn_t;
113typedef struct nxt_conn_s nxt_conn_t;
114#include <nxt_sendbuf.h>
115
116#include <nxt_log_moderation.h>
117
118#if (NXT_SSLTLS)
119#include <nxt_ssltls.h>
120#endif
121
122
123#define nxt_thread() \
124 (nxt_thread_t *) nxt_thread_get_data(nxt_thread_context)
125
126nxt_thread_extern_data(nxt_thread_t, nxt_thread_context);
127
128
129#include <nxt_thread_log.h>
130
131#include <nxt_fd_event.h>
114#include <nxt_sendbuf.h>
115
116#include <nxt_log_moderation.h>
117
118#if (NXT_SSLTLS)
119#include <nxt_ssltls.h>
120#endif
121
122
123#define nxt_thread() \
124 (nxt_thread_t *) nxt_thread_get_data(nxt_thread_context)
125
126nxt_thread_extern_data(nxt_thread_t, nxt_thread_context);
127
128
129#include <nxt_thread_log.h>
130
131#include <nxt_fd_event.h>
132#include <nxt_file_event.h>
132
133#include <nxt_port.h>
134#include <nxt_port_memory.h>
135#if (NXT_THREADS)
136#include <nxt_thread_pool.h>
137#endif
138
139
133
134#include <nxt_port.h>
135#include <nxt_port_memory.h>
136#if (NXT_THREADS)
137#include <nxt_thread_pool.h>
138#endif
139
140
140typedef void (*nxt_event_conn_handler_t)(nxt_thread_t *thr,
141 nxt_event_conn_t *c);
141typedef void (*nxt_event_conn_handler_t)(nxt_thread_t *thr, nxt_conn_t *c);
142#include <nxt_listen_socket.h>
143
142#include <nxt_listen_socket.h>
143
144#include <nxt_event_conn.h>
145#include <nxt_event_file.h>
144#include <nxt_conn.h>
146#include <nxt_event_engine.h>
147
148#include <nxt_job.h>
149#include <nxt_job_file.h>
150#include <nxt_buf_filter.h>
151
152#include <nxt_job_resolve.h>
153#include <nxt_sockaddr.h>

--- 38 unchanged lines hidden ---
145#include <nxt_event_engine.h>
146
147#include <nxt_job.h>
148#include <nxt_job_file.h>
149#include <nxt_buf_filter.h>
150
151#include <nxt_job_resolve.h>
152#include <nxt_sockaddr.h>

--- 38 unchanged lines hidden ---