src/http/modules/xxslt/ngx_http_xxslt_udata.h File Reference

#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>

Go to the source code of this file.

Data Structures

struct  ngx_http_xxslt_unknown_data_t
 Structure for storing and processing of any data. More...

Functions

ngx_http_xxslt_unknown_data_tngx_http_xxslt_unknown_create_new (ngx_http_request_t *r)
 Creates new data context structure.
ngx_int_t ngx_http_xxslt_unknown_add_data_chunk (ngx_http_xxslt_unknown_data_t *data, ngx_chain_t *in)
 Adds new data from chain link to data structure.

Function Documentation

ngx_int_t ngx_http_xxslt_unknown_add_data_chunk ( ngx_http_xxslt_unknown_data_t data,
ngx_chain_t *  in 
)

Adds new data from chain link to data structure.

Parameters:
data any data context structure
in nginx chain structure
Returns:
NGX_OK or NGX_ERROR in case of error

Definition at line 55 of file ngx_http_xxslt_udata.c.

References ngx_http_xxslt_unknown_data_t::buffer_chain, ngx_http_xxslt_unknown_data_t::buffer_chain_tail, ngx_http_xxslt_finalize_with_error(), ngx_http_xxslt_process_data(), ngx_http_xxslt_unknown_data_t::r, ngx_http_xxslt_out_data_s::r, and ngx_http_xxslt_unknown_data_t::res_len.

Referenced by ngx_http_xxslt_selector_add_unknown().

ngx_http_xxslt_unknown_data_t* ngx_http_xxslt_unknown_create_new ( ngx_http_request_t *  r  ) 

Creates new data context structure.

Parameters:
r nginx http request
Returns:
data context structure or NULL in case of error

Definition at line 32 of file ngx_http_xxslt_udata.c.

References ngx_http_xxslt_unknown_data_t::r.

Referenced by ngx_http_xxslt_selector_add_unknown().


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