nxt_file.h (564:762f8c976ead) nxt_file.h (611:323e11065f83)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_UNIX_FILE_H_INCLUDED_
8#define _NXT_UNIX_FILE_H_INCLUDED_

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

81
82typedef struct {
83 nxt_file_name_t *name;
84
85 /* Both are int's. */
86 nxt_fd_t fd;
87 nxt_err_t error;
88
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_UNIX_FILE_H_INCLUDED_
8#define _NXT_UNIX_FILE_H_INCLUDED_

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

81
82typedef struct {
83 nxt_file_name_t *name;
84
85 /* Both are int's. */
86 nxt_fd_t fd;
87 nxt_err_t error;
88
89#define NXT_FILE_ACCESSED_LONG_AGO 0xffff
89#define NXT_FILE_ACCESSED_LONG_AGO 0xFFFF
90 /*
91 * Number of seconds ago the file content was last
92 * read. The maximum value is about 18 hours.
93 */
94 uint16_t accessed;
95
96 uint8_t type; /* nxt_file_type_t */
97

--- 96 unchanged lines hidden ---
90 /*
91 * Number of seconds ago the file content was last
92 * read. The maximum value is about 18 hours.
93 */
94 uint16_t accessed;
95
96 uint8_t type; /* nxt_file_type_t */
97

--- 96 unchanged lines hidden ---