Azinix

rlpL7.c File Reference

Routines for building a content check structure from an L7 formula. More...

#include "rlp.h"

Go to the source code of this file.

Functions

array_tRlp_BuildContentCheckArrayFromL7Formula (Rlp_Formula_t *aL7Formula)
 Walk an L7 formula, build the list of checks.
int Rlp_FreeL7CheckArray (array_t *L7CheckArray)
 Free an array containing content check structs.


Detailed Description

Routines for building a content check structure from an L7 formula.

The idea is to simplify having to walk through a list of checks, have a content struct with the case check, offset, etc. all in place.

Definition in file rlpL7.c.


Function Documentation

array_t* Rlp_BuildContentCheckArrayFromL7Formula ( Rlp_Formula_t aL7Formula  ) 

Walk an L7 formula, build the list of checks.

Definition at line 25 of file rlpL7.c.

int Rlp_FreeL7CheckArray ( array_t L7CheckArray  ) 

Free an array containing content check structs.

Definition at line 99 of file rlpL7.c.