Displaying 1 result from an estimated 1 matches for "ap_filter_flush".
2006 Oct 07
1
Request to open up getConnection to embedded interface
...t_write;
con->fflush = mr_stdout_fflush;
...
And here are the definitions of the mr_* functions:
int mr_stdout_vfprintf(Rconnection con, const char *format, va_list ap){
RApacheOutpcon this = con->private;
apr_status_t rv;
rv = apr_brigade_vprintf(this->brigade, ap_filter_flush,
this->filter, format, ap);
return (rv == APR_SUCCESS)? 0 : 1;
}
int mr_stdout_fflush(Rconnection con){
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...