Blame apache2/msc_parsers.h

Packit 284210
/*
Packit 284210
* ModSecurity for Apache 2.x, http://www.modsecurity.org/
Packit 284210
* Copyright (c) 2004-2013 Trustwave Holdings, Inc. (http://www.trustwave.com/)
Packit 284210
*
Packit 284210
* You may not use this file except in compliance with
Packit 284210
* the License.  You may obtain a copy of the License at
Packit 284210
*
Packit 284210
*     http://www.apache.org/licenses/LICENSE-2.0
Packit 284210
*
Packit 284210
* If any of the files related to licensing are missing or if you have any
Packit 284210
* other questions related to licensing please contact Trustwave Holdings, Inc.
Packit 284210
* directly using the email address security@modsecurity.org.
Packit 284210
*/
Packit 284210
Packit 284210
#ifndef _MSC_PARSERS_H_
Packit 284210
#define _MSC_PARSERS_H_
Packit 284210
Packit 284210
#include "modsecurity.h"
Packit 284210
Packit 284210
int DSOLOCAL parse_cookies_v0(modsec_rec *msr, char *_cookie_header, apr_table_t *cookies,
Packit 284210
    const char *delim);
Packit 284210
Packit 284210
int DSOLOCAL parse_cookies_v1(modsec_rec *msr, char *_cookie_header, apr_table_t *cookies);
Packit 284210
Packit 284210
int DSOLOCAL parse_arguments(modsec_rec *msr, const char *s, apr_size_t inputlength,
Packit 284210
    int argument_separator, const char *origin, apr_table_t *arguments, int *invalid_count);
Packit 284210
Packit 284210
void DSOLOCAL add_argument(modsec_rec *msr, apr_table_t *arguments, msc_arg *arg);
Packit 284210
Packit 284210
#endif