~ubuntu-branches/debian/squeeze/nginx/squeeze

« back to all changes in this revision

Viewing changes to src/core/ngx_open_file_cache.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-05-31 18:38:56 UTC
  • mfrom: (1.1.10 upstream) (4.1.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20090531183856-3xhvf6wd0bw5556i
Tags: 0.7.59-1
* New upstream release, first in Debian for the 0.7 branch. Among other
  issues, it also fixes the problem with wildcard dns names used with SSL.
  (Closes: #515904)
* debian/watch: updated.
* debian/postinst: fixed a bashism. (Closes: #507913)
* debian/conf/nginx.conf: removed default_type. (Closes: #509390)
* debian/control: updated Standards-Version to 3.8.1, no changes needed.
* debian/NEWS.Debian: documented the issues with
  server_names_hash_bucket_size. (Closes: #524785)

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#define _NGX_OPEN_FILE_CACHE_H_INCLUDED_
13
13
 
14
14
 
 
15
#define NGX_OPEN_FILE_DIRECTIO_OFF  NGX_MAX_OFF_T_VALUE
 
16
 
 
17
 
15
18
typedef struct {
16
19
    ngx_fd_t                 fd;
17
20
    ngx_file_uniq_t          uniq;
18
21
    time_t                   mtime;
19
22
    off_t                    size;
 
23
    off_t                    directio;
 
24
 
20
25
    ngx_err_t                err;
 
26
    char                    *failed;
21
27
 
22
28
    time_t                   valid;
23
29
 
24
30
    ngx_uint_t               min_uses;
25
31
 
26
32
    unsigned                 test_dir:1;
 
33
    unsigned                 test_only:1;
 
34
    unsigned                 log:1;
27
35
    unsigned                 errors:1;
28
36
    unsigned                 events:1;
29
37
 
31
39
    unsigned                 is_file:1;
32
40
    unsigned                 is_link:1;
33
41
    unsigned                 is_exec:1;
 
42
    unsigned                 is_directio:1;
34
43
} ngx_open_file_info_t;
35
44
 
36
45
 
60
69
    unsigned                 is_file:1;
61
70
    unsigned                 is_link:1;
62
71
    unsigned                 is_exec:1;
 
72
    unsigned                 is_directio:1;
63
73
 
64
74
    ngx_event_t             *event;
65
75
};