@@ -338,9 +338,9 @@ AP_DECLARE(int) ap_rputc(int c, request_rec *r);
338338 * @param str The string to output
339339 * @param r The current request
340340 * @return The number of bytes sent
341- * @deffunc int ap_rputs(const char *str, request_rec *r)
341+ * @deffunc apr_ssize_t ap_rputs(const char *str, request_rec *r)
342342 */
343- AP_DECLARE (int ) ap_rputs (const char * str , request_rec * r );
343+ AP_DECLARE (apr_ssize_t ) ap_rputs (const char * str , request_rec * r );
344344
345345/**
346346 * Write a buffer for the current request
@@ -357,29 +357,29 @@ AP_DECLARE(int) ap_rwrite(const void *buf, int nbyte, request_rec *r);
357357 * @param r The current request
358358 * @param ... The strings to write
359359 * @return The number of bytes sent
360- * @deffunc int ap_rvputs(request_rec *r, ...)
360+ * @deffunc apr_ssize_t ap_rvputs(request_rec *r, ...)
361361 */
362- AP_DECLARE_NONSTD (int ) ap_rvputs (request_rec * r ,...);
362+ AP_DECLARE_NONSTD (apr_ssize_t ) ap_rvputs (request_rec * r ,...);
363363
364364/**
365365 * Output data to the client in a printf format
366366 * @param r The current request
367367 * @param fmt The format string
368368 * @param vlist The arguments to use to fill out the format string
369369 * @return The number of bytes sent
370- * @deffunc int ap_vrprintf(request_rec *r, const char *fmt, va_list vlist)
370+ * @deffunc apr_ssize_t ap_vrprintf(request_rec *r, const char *fmt, va_list vlist)
371371 */
372- AP_DECLARE (int ) ap_vrprintf (request_rec * r , const char * fmt , va_list vlist );
372+ AP_DECLARE (apr_ssize_t ) ap_vrprintf (request_rec * r , const char * fmt , va_list vlist );
373373
374374/**
375375 * Output data to the client in a printf format
376376 * @param r The current request
377377 * @param fmt The format string
378378 * @param ... The arguments to use to fill out the format string
379379 * @return The number of bytes sent
380- * @deffunc int ap_rprintf(request_rec *r, const char *fmt, ...)
380+ * @deffunc apr_ssize_t ap_rprintf(request_rec *r, const char *fmt, ...)
381381 */
382- AP_DECLARE_NONSTD (int ) ap_rprintf (request_rec * r , const char * fmt ,...)
382+ AP_DECLARE_NONSTD (apr_ssize_t ) ap_rprintf (request_rec * r , const char * fmt ,...)
383383 __attribute__((format (printf ,2 ,3 )));
384384/**
385385 * Flush all of the data for the current request to the client
@@ -443,9 +443,9 @@ AP_DECLARE(int) ap_should_client_block(request_rec *r);
443443 * @param bufsiz The size of the buffer
444444 * @return Number of bytes inserted into the buffer. When done reading, 0
445445 * if EOF, or -1 if there was an error
446- * @deffunc long ap_get_client_block(request_rec *r, char *buffer, apr_size_t bufsiz)
446+ * @deffunc apr_ssize_t ap_get_client_block(request_rec *r, char *buffer, apr_size_t bufsiz)
447447 */
448- AP_DECLARE (long ) ap_get_client_block (request_rec * r , char * buffer , apr_size_t bufsiz );
448+ AP_DECLARE (apr_ssize_t ) ap_get_client_block (request_rec * r , char * buffer , apr_size_t bufsiz );
449449
450450/**
451451 * In HTTP/1.1, any method can have a body. However, most GET handlers
0 commit comments