From: Stefan Fritsch Date: Wed, 3 Feb 2010 21:06:52 +0000 (+0000) Subject: Add docstring for ap_pregsub() X-Git-Tag: 2.3.6~524 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0f10037c858a4f4b10b7621a9c1910b3893bcf6;p=thirdparty%2Fapache%2Fhttpd.git Add docstring for ap_pregsub() PR: 48265 Submitted by: Peter Poeml git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906242 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/httpd.h b/include/httpd.h index d0ff3b08c99..5c52148ee7b 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1705,6 +1705,7 @@ AP_DECLARE(void) ap_pregfree(apr_pool_t *p, ap_regex_t *reg); * @param source The string that was originally matched to the regex * @param nmatch the nmatch returned from ap_pregex * @param pmatch the pmatch array returned from ap_pregex + * @return The substituted string, or NULL on error */ AP_DECLARE(char *) ap_pregsub(apr_pool_t *p, const char *input, const char *source, size_t nmatch, ap_regmatch_t pmatch[]);