From 6de5c2cb63f8aee4bcbec3c363a72fd8e4a4e64d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 6 Aug 2002 16:39:45 +0000 Subject: nginx-0.0.1-2002-08-06-20:39:45 import The first code that uses "ngx_" prefix, the previous one used "gx_" prefix. At that point the code is not yet usable. The first draft ideas are dated back to 23.10.2001. --- src/os/unix/ngx_time.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/os/unix/ngx_time.h (limited to 'src/os/unix/ngx_time.h') diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h new file mode 100644 index 000000000..b262da7cf --- /dev/null +++ b/src/os/unix/ngx_time.h @@ -0,0 +1,22 @@ +#ifndef _NGX_TIME_H_INCLUDED_ +#define _NGX_TIME_H_INCLUDED_ + + +#include + +typedef struct tm ngx_tm_t; + +#define ngx_tm_sec tm_sec +#define ngx_tm_min tm_min +#define ngx_tm_hour tm_hour +#define ngx_tm_mday tm_mday +#define ngx_tm_mon tm_mon +#define ngx_tm_year tm_year +#define ngx_tm_wday tm_wday + +void ngx_localtime(ngx_tm_t *tm); + +u_int ngx_msec(void); + + +#endif /* _NGX_TIME_H_INCLUDED_ */ -- cgit v1.2.3