ap_bsetopt — set an option
int ap_bsetopt(BUFF *fb, int optname, const void *optval)
Sets the option optname
to the value
pointed at by optval
. There is currently only one
option, which is the count of bytes sent to the stream,[5] set
with BO_BYTECT
. In this case,
optval
should point to a long
.
This function is used for logging and statistics and is not normally
called by modules. Its main use, when it is called, is to zero the
count after sending headers to a client. Returns 0
on success or -1
on failure.