view src/os/unix/ngx_types.h @ 908:82adc19b4b4d

axe ngx_http_perl_cleanup_sv(): all SVs should be freed by perl_free() in ngx_http_perl_cleanup_perl()
author Igor Sysoev <igor@sysoev.ru>
date Tue, 12 Dec 2006 20:06:04 +0000
parents ded1284520cc
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 */


#ifndef _NGX_TYPES_H_INCLUDED_
#define _NGX_TYPES_H_INCLUDED_


#include <ngx_config.h>


typedef int            ngx_fd_t;
typedef struct stat    ngx_file_info_t;
typedef ino_t          ngx_file_uniq_t;

typedef struct {
    DIR              *dir;
    struct dirent    *de;
    struct stat       info;

    ngx_uint_t        valid_info:1;  /* unsigned  valid_info:1; */
} ngx_dir_t;


#endif /* _NGX_TYPES_H_INCLUDED_ */