nginx-quic/src/core/ngx_core.h

66 lines
1.2 KiB
C
Raw Normal View History

2002-08-22 11:24:03 -04:00
#ifndef _NGX_CORE_H_INCLUDED_
#define _NGX_CORE_H_INCLUDED_
2003-05-19 12:39:14 -04:00
#include <ngx_types.h>
#include <ngx_time.h>
#include <ngx_socket.h>
2003-05-20 11:37:55 -04:00
#include <ngx_errno.h>
#include <ngx_process.h>
2003-06-03 11:42:58 -04:00
typedef struct ngx_module_s ngx_module_t;
typedef struct ngx_conf_s ngx_conf_t;
typedef struct ngx_command_s ngx_command_t;
typedef struct ngx_file_s ngx_file_t;
2003-05-20 11:37:55 -04:00
typedef struct ngx_event_s ngx_event_t;
2003-06-03 11:42:58 -04:00
typedef struct ngx_connection_s ngx_connection_t;
2003-05-19 12:39:14 -04:00
#include <ngx_log.h>
#include <ngx_alloc.h>
2003-06-03 11:42:58 -04:00
#include <ngx_string.h>
2003-05-19 12:39:14 -04:00
#include <ngx_hunk.h>
#include <ngx_array.h>
2003-06-03 11:42:58 -04:00
#include <ngx_table.h>
2003-05-19 12:39:14 -04:00
#include <ngx_file.h>
2003-06-03 11:42:58 -04:00
#include <ngx_files.h>
2003-06-02 11:24:30 -04:00
#include <ngx_inet.h>
2003-05-19 12:39:14 -04:00
#include <ngx_conf_file.h>
#include <ngx_os_init.h>
2003-05-20 11:37:55 -04:00
#include <ngx_connection.h>
2003-05-19 12:39:14 -04:00
2002-09-11 11:18:33 -04:00
#define NGX_OK 0
#define NGX_ERROR -1
#define NGX_AGAIN -2
2003-04-08 11:40:10 -04:00
#define NGX_DONE -3
/*
2003-03-20 12:09:44 -04:00
#define NGX_BUSY -3
2003-04-08 11:40:10 -04:00
*/
2002-12-05 13:21:24 -03:00
#define NGX_DECLINED -4
2003-04-08 11:40:10 -04:00
/*
2003-01-30 04:28:09 -03:00
#define NGX_ALERT -5
2003-04-08 11:40:10 -04:00
*/
2002-08-22 11:24:03 -04:00
2003-05-21 09:28:21 -04:00
#define LF 10
#define CR 13
#define CRLF "\x0d\x0a"
2003-05-30 10:27:59 -04:00
#define NGX_MAXHOSTNAMELEN 64
2003-01-15 04:02:27 -03:00
/*
#define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN
*/
2003-06-12 01:54:39 -04:00
#if 0
2003-05-20 11:37:55 -04:00
/* STUB */
extern ngx_log_t ngx_log;
2003-06-12 01:54:39 -04:00
#endif
2003-05-20 11:37:55 -04:00
2002-08-22 11:24:03 -04:00
#endif /* _NGX_CORE_H_INCLUDED_ */