view src/core/ngx_file.h @ 35:79c1fce18e71

nginx-0.0.1-2002-12-21-20:14:50 import
author Igor Sysoev <igor@sysoev.ru>
date Sat, 21 Dec 2002 17:14:50 +0000
parents 53cb81681040
children a499e0d1f16e
line wrap: on
line source

#ifndef _NGX_FILE_H_INCLUDED_
#define _NGX_FILE_H_INCLUDED_


#include <ngx_files.h>
#include <ngx_log.h>
#include <ngx_string.h>

typedef struct ngx_file_s  ngx_file_t;

struct ngx_file_s {
    ngx_fd_t         fd;
    ngx_str_t        name;
    ngx_file_info_t  info;

    off_t            offset;

    ngx_log_t       *log;

    unsigned         info_valid:1;
};


#endif _NGX_FILE_H_INCLUDED_