]> granicus.if.org Git - apache/commitdiff
Add docstring for ap_pregsub()
authorStefan Fritsch <sf@apache.org>
Wed, 3 Feb 2010 21:06:52 +0000 (21:06 +0000)
committerStefan Fritsch <sf@apache.org>
Wed, 3 Feb 2010 21:06:52 +0000 (21:06 +0000)
PR: 48265
Submitted by: Peter Poeml

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906242 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index d0ff3b08c99ca1c95b0efa9c07bef2839f3c13f7..5c52148ee7b0be5684e32a0e9f96cd4577d170df 100644 (file)
@@ -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[]);