~ubuntu-branches/ubuntu/trusty/nginx/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/ngx_core.h

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-04-25 12:51:45 UTC
  • mfrom: (1.3.28)
  • mto: (1.3.29) (15.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: package-import@ubuntu.com-20130425125145-ugl0wor6bq0u5eae
Tags: upstream-1.4.0
ImportĀ upstreamĀ versionĀ 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
3
 * Copyright (C) Igor Sysoev
 
4
 * Copyright (C) Nginx, Inc.
4
5
 */
5
6
 
6
7
 
14
15
typedef struct ngx_pool_s        ngx_pool_t;
15
16
typedef struct ngx_chain_s       ngx_chain_t;
16
17
typedef struct ngx_log_s         ngx_log_t;
17
 
typedef struct ngx_array_s       ngx_array_t;
18
18
typedef struct ngx_open_file_s   ngx_open_file_t;
19
19
typedef struct ngx_command_s     ngx_command_t;
20
20
typedef struct ngx_file_s        ngx_file_t;
21
21
typedef struct ngx_event_s       ngx_event_t;
 
22
typedef struct ngx_event_aio_s   ngx_event_aio_t;
22
23
typedef struct ngx_connection_s  ngx_connection_t;
23
24
 
24
25
typedef void (*ngx_event_handler_pt)(ngx_event_t *ev);
40
41
#include <ngx_rbtree.h>
41
42
#include <ngx_time.h>
42
43
#include <ngx_socket.h>
43
 
#include <ngx_types.h>
 
44
#include <ngx_string.h>
 
45
#include <ngx_files.h>
44
46
#include <ngx_shmem.h>
45
47
#include <ngx_process.h>
46
48
#include <ngx_user.h>
47
 
#include <ngx_string.h>
48
49
#include <ngx_parse.h>
49
50
#include <ngx_log.h>
50
51
#include <ngx_alloc.h>
55
56
#include <ngx_list.h>
56
57
#include <ngx_hash.h>
57
58
#include <ngx_file.h>
58
 
#include <ngx_files.h>
59
59
#include <ngx_crc.h>
60
60
#include <ngx_crc32.h>
 
61
#include <ngx_murmurhash.h>
61
62
#if (NGX_PCRE)
62
63
#include <ngx_regex.h>
63
64
#endif
67
68
#include <ngx_slab.h>
68
69
#include <ngx_inet.h>
69
70
#include <ngx_cycle.h>
 
71
#include <ngx_resolver.h>
70
72
#if (NGX_OPENSSL)
71
73
#include <ngx_event_openssl.h>
72
74
#endif
73
75
#include <ngx_process_cycle.h>
74
76
#include <ngx_conf_file.h>
75
 
#include <ngx_resolver.h>
76
77
#include <ngx_open_file_cache.h>
77
78
#include <ngx_os.h>
78
79
#include <ngx_connection.h>
83
84
#define CRLF   "\x0d\x0a"
84
85
 
85
86
 
86
 
#define ngx_abs(value)   (((value) >= 0) ? (value) : - (value))
 
87
#define ngx_abs(value)       (((value) >= 0) ? (value) : - (value))
 
88
#define ngx_max(val1, val2)  ((val1 < val2) ? (val2) : (val1))
 
89
#define ngx_min(val1, val2)  ((val1 > val2) ? (val2) : (val1))
87
90
 
88
91
void ngx_cpuinfo(void);
89
92
 
 
93
#if (NGX_HAVE_OPENAT)
 
94
#define NGX_DISABLE_SYMLINKS_OFF        0
 
95
#define NGX_DISABLE_SYMLINKS_ON         1
 
96
#define NGX_DISABLE_SYMLINKS_NOTOWNER   2
 
97
#endif
90
98
 
91
99
#endif /* _NGX_CORE_H_INCLUDED_ */