~ubuntu-branches/ubuntu/precise/apache2/precise

« back to all changes in this revision

Viewing changes to include/ap_regex.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-02-22 13:02:08 UTC
  • mfrom: (14.3.23 sid)
  • Revision ID: james.westby@ubuntu.com-20110222130208-5hrxnun6a8uygfhv
Tags: 2.2.17-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/{control, rules}: Enable PIE hardening.
  - debian/{control, rules, apache2.2-common.ufw.profile}: Add ufw profiles.
  - debian/control: Add bzr tag and point it to our tree
  - debain/apache2.py, debian/apache2.2-common.isntall: Add apport hook.
  - debian/control, debian/ask-for-passphrase, debian/config-dir/mods-available/ssl.conf:
    Plymouth aware passphrase dialog program ask-for-passphrase. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
 * Compile a regular expression.
101
101
 * @param preg Returned compiled regex
102
102
 * @param regex The regular expression string
103
 
 * @param cflags Must be zero (currently).
 
103
 * @param cflags Bitwise OR of AP_REG_* flags (ICASE and NEWLINE supported,
 
104
 *                                             other flags are ignored)
104
105
 * @return Zero on success or non-zero on error
105
106
 */
106
107
AP_DECLARE(int) ap_regcomp(ap_regex_t *preg, const char *regex, int cflags);
111
112
 * @param string The string to match
112
113
 * @param nmatch Provide information regarding the location of any matches
113
114
 * @param pmatch Provide information regarding the location of any matches
114
 
 * @param eflags Bitwise OR of any of AP_REG_* flags 
115
 
 * @return 0 for successful match, #REG_NOMATCH otherwise
 
115
 * @param eflags Bitwise OR of AP_REG_* flags (NOTBOL and NOTEOL supported,
 
116
 *                                             other flags are ignored)
 
117
 * @return 0 for successful match, AP_REG_NOMATCH otherwise
116
118
 */ 
117
119
AP_DECLARE(int) ap_regexec(const ap_regex_t *preg, const char *string,
118
120
                           apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags);