Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

hi_client.h File Reference

#include <sys/types.h>
#include "hi_include.h"
#include "hi_eo.h"
#include "hi_eo_events.h"

Go to the source code of this file.

Typedefs

typedef s_HI_CLIENT_REQ HI_CLIENT_REQ
typedef s_HI_CLIENT HI_CLIENT

Functions

int hi_client_inspection (void *Session, unsigned char *data, int dsize)
int hi_client_init (HTTPINSPECT_GLOBAL_CONF *GlobalConf)


Typedef Documentation

typedef struct s_HI_CLIENT HI_CLIENT
 

typedef struct s_HI_CLIENT_REQ HI_CLIENT_REQ
 


Function Documentation

int hi_client_init HTTPINSPECT_GLOBAL_CONF GlobalConf  ) 
 

Initializes arrays and search algorithms depending on the type of inspection that we are doing.

Parameters:
GlobalConf pointer to the global configuration
Returns:
integer
Return values:
HI_SUCCESS function successful.

Definition at line 1532 of file hi_client.c.

References find_non_rfc_delimiter(), find_rfc_delimiter(), hex_lookup, HI_SUCCESS, HI_UI_CONFIG_STATEFUL, s_HTTPINSPECT_GLOBAL_CONF::inspection_type, lookup_table, memset, NextNonWhiteSpace(), SetBackSlashNorm(), SetBinaryNorm(), SetParamField(), SetPercentNorm(), SetProxy(), and SetSlashNorm().

Referenced by HttpInspectInit().

int hi_client_inspection void *  Session,
unsigned char *  data,
int  dsize
 

Definition at line 1472 of file hi_client.c.

References s_HI_SESSION::global_conf, GlobalConf, HI_INVALID_ARG, HI_NONFATAL_ERR, HI_SUCCESS, HI_UI_CONFIG_STATEFUL, s_HTTPINSPECT_GLOBAL_CONF::inspection_type, and StatelessInspection().

Referenced by hi_mi_mode_inspection().


Generated on Sun May 14 14:51:24 2006 by  doxygen 1.4.2