#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
Go to the source code of this file.
Defines | |
#define | NGX_HTTP_FILESYNC_MAX_BUF 4096 |
Functions | |
ngx_int_t | ngx_http_filesync_get (ngx_http_request_t *r, ngx_str_t *uri, ngx_chain_t **res) |
Opens and reads the file; returns the result as chain link. |
#define NGX_HTTP_FILESYNC_MAX_BUF 4096 |
Definition at line 29 of file ngx_http_filesync.h.
Referenced by ngx_http_filesync_get_buf().
ngx_int_t ngx_http_filesync_get | ( | ngx_http_request_t * | r, | |
ngx_str_t * | uri, | |||
ngx_chain_t ** | res | |||
) |
Opens and reads the file; returns the result as chain link.
r | nginx http request | |
uri | uri to file - relative to html root | |
res | pointer to the result |
Definition at line 38 of file ngx_http_filesync.c.
References ngx_http_filesync_get_buf(), and ngx_http_filesync_read().
Referenced by ngx_http_xslt2_xml_get_local_stylesheet(), and ngx_http_xxslt_parse_get_local_include().