aboutsummaryrefslogtreecommitdiffstats
path: root/app/nginx/src/core/ngx_parse_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/nginx/src/core/ngx_parse_time.h')
-rw-r--r--app/nginx/src/core/ngx_parse_time.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/nginx/src/core/ngx_parse_time.h b/app/nginx/src/core/ngx_parse_time.h
new file mode 100644
index 0000000..aa542eb
--- /dev/null
+++ b/app/nginx/src/core/ngx_parse_time.h
@@ -0,0 +1,22 @@
+
+/*
+ * Copyright (C) Igor Sysoev
+ * Copyright (C) Nginx, Inc.
+ */
+
+
+#ifndef _NGX_PARSE_TIME_H_INCLUDED_
+#define _NGX_PARSE_TIME_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+
+
+time_t ngx_parse_http_time(u_char *value, size_t len);
+
+/* compatibility */
+#define ngx_http_parse_time(value, len) ngx_parse_http_time(value, len)
+
+
+#endif /* _NGX_PARSE_TIME_H_INCLUDED_ */