src/http/modules/download/ngx_http_filesync.h File Reference

#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 Documentation

#define NGX_HTTP_FILESYNC_MAX_BUF   4096

Definition at line 29 of file ngx_http_filesync.h.

Referenced by ngx_http_filesync_get_buf().


Function Documentation

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.

Parameters:
r nginx http request
uri uri to file - relative to html root
res pointer to the result
Returns:
NGX_*

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().


Generated on Mon Oct 12 14:03:36 2009 for XXSLT by  doxygen 1.6.1