search for: apr_brigade_writ

Displaying 1 result from an estimated 1 matches for "apr_brigade_writ".

Did you mean: apr_brigade_write
2006 Oct 07
1
Request to open up getConnection to embedded interface
...){ RApacheOutpcon this = con->private; ap_filter_flush(this->brigade,this->filter); /* still need a return value */ } size_t mr_stdout_write(const void *ptr, size_t size, size_t n, Rconnection con){ RApacheOutpcon this = con->private; apr_status_t rv; rv = apr_brigade_write(this->brigade, ap_filter_flush, this->filter, (const char *)ptr, size*n); return (rv == APR_SUCCESS)? n : 1; } (stdin and stderr can be altered in a similar manner, but they not shown). And with that, it's easy to implement simple code to write data to the web browser in vario...