suricata
app-layer-htp-libhtp.h
Go to the documentation of this file.
1
/*
2
* We are using this file to hold APIs copied from libhtp 0.5.x.
3
*/
4
5
/***************************************************************************
6
* Copyright (c) 2009-2010 Open Information Security Foundation
7
* Copyright (c) 2010-2013 Qualys, Inc.
8
* All rights reserved.
9
*
10
* Redistribution and use in source and binary forms, with or without
11
* modification, are permitted provided that the following conditions are
12
* met:
13
*
14
* - Redistributions of source code must retain the above copyright
15
* notice, this list of conditions and the following disclaimer.
16
*
17
* - Redistributions in binary form must reproduce the above copyright
18
* notice, this list of conditions and the following disclaimer in the
19
* documentation and/or other materials provided with the distribution.
20
*
21
* - Neither the name of the Qualys, Inc. nor the names of its
22
* contributors may be used to endorse or promote products derived from
23
* this software without specific prior written permission.
24
*
25
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
***************************************************************************/
37
38
/**
39
* \file
40
*
41
* \author Anoop Saldanha <anoopsaldanha@gmail.com>
42
*
43
* APIs from libhtp 0.5.x.
44
*/
45
46
#ifndef SURICATA_APP_LAYER_HTP_LIBHTP__H
47
#define SURICATA_APP_LAYER_HTP_LIBHTP__H
48
49
#include "
suricata-common.h
"
50
51
bstr *
SCHTPGenerateNormalizedUri
(htp_tx_t *tx, htp_uri_t *uri,
bool
uri_include_all);
52
53
#endif
/* SURICATA_APP_LAYER_HTP_LIBHTP__H */
SCHTPGenerateNormalizedUri
bstr * SCHTPGenerateNormalizedUri(htp_tx_t *tx, htp_uri_t *uri, bool uri_include_all)
Generates the normalized uri.
Definition:
app-layer-htp-libhtp.c:64
suricata-common.h
src
app-layer-htp-libhtp.h
Generated on Sat Dec 21 2024 23:30:25 for suricata by
1.8.18