view src/os/win32/ngx_types.h @ 2647:76add0af8e21 stable-0.6

r2490 merge: avoid a double redirect response if *) a request is going in a keep alive state, *) the request body should be discarded, *) epoll/rtsig reports about the response header has been sent, *) and write event handler calls core phase handler
author Igor Sysoev <igor@sysoev.ru>
date Wed, 01 Apr 2009 16:28:06 +0000
parents 532d15ddbe68
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 */


#ifndef _NGX_TYPES_H_INCLUDED_
#define _NGX_TYPES_H_INCLUDED_


#include <ngx_config.h>
#include <ngx_core.h>


typedef HANDLE                      ngx_fd_t;
typedef BY_HANDLE_FILE_INFORMATION  ngx_file_info_t;
typedef uint64_t                    ngx_file_uniq_t;

typedef struct {
    HANDLE            dir;
    WIN32_FIND_DATA   finddata;

    unsigned          valid_info:1;
    unsigned          ready:1;
} ngx_dir_t;


#endif /* _NGX_TYPES_H_INCLUDED_ */