HTP  0.5
Data Structures | Functions
htp.h File Reference
#include <sys/time.h>
#include "htp_core.h"
#include "bstr.h"
#include "htp_base64.h"
#include "htp_config.h"
#include "htp_connection_parser.h"
#include "htp_decompressors.h"
#include "htp_hooks.h"
#include "htp_list.h"
#include "htp_multipart.h"
#include "htp_table.h"
#include "htp_transaction.h"
#include "htp_urlencoded.h"
#include "htp_utf8_decoder.h"

Go to the source code of this file.

Data Structures

struct  htp_conn_t
 
struct  htp_file_t
 
struct  htp_file_data_t
 
struct  htp_log_t
 
struct  htp_header_t
 
struct  htp_param_t
 
struct  htp_tx_t
 
struct  htp_tx_data_t
 
struct  htp_uri_t
 

Functions

void htp_uri_free (htp_uri_t *uri)
 
htp_uri_thtp_uri_alloc (void)
 
void htp_log (htp_connp_t *connp, const char *file, int line, enum htp_log_level_t level, int code, const char *fmt,...)
 

Detailed Description

Author
Ivan Ristic ivanr.nosp@m.@web.nosp@m.kreat.nosp@m.or.c.nosp@m.om

Function Documentation

void htp_log ( htp_connp_t connp,
const char *  file,
int  line,
enum htp_log_level_t  level,
int  code,
const char *  fmt,
  ... 
)

Creates a new log entry and stores it with the connection. The file and line parameters are typically auto-generated using the HTP_LOG_MARK macro.

Parameters
[in]connp
[in]file
[in]line
[in]level
[in]code
[in]fmt
[in]...Records one log message.
[in]connp
[in]file
[in]line
[in]level
[in]code
[in]fmt
htp_uri_t* htp_uri_alloc ( void  )

Allocates and initializes a new htp_uri_t structure.

Returns
New structure, or NULL on memory allocation failure.
void htp_uri_free ( htp_uri_t uri)

Frees all data contained in the uri, and then the uri itself.

Parameters
[in]uri