]> git.ipfire.org Git - thirdparty/suricata.git/commit
Code cleanup.
authorAnoop Saldanha <anoopsaldanha@gmail.com>
Fri, 1 Nov 2013 08:29:55 +0000 (13:59 +0530)
committerVictor Julien <victor@inliniac.net>
Tue, 3 Dec 2013 16:52:16 +0000 (17:52 +0100)
commita49cbf8a49e5ff84c2f37e19fa450df1d8a88318
tree5426eb62826cc6dd5d51b11a72d1342d6af71e3c
parent9c0456ebbe7840c87cdefe808b4044676a1e5993
Code cleanup.

Use the MpmAddPattern[CS|CI] wrapper to add patterns to the mpm context.

Also use MpmInitCtx() to init the mpm context.
14 files changed:
src/app-layer-detect-proto.c
src/app-layer-smtp.c
src/detect-engine-mpm.c
src/util-mpm-ac-bs.c
src/util-mpm-ac-gfbs.c
src/util-mpm-ac-tile.c
src/util-mpm-ac.c
src/util-mpm-b2g.c
src/util-mpm-b2gc.c
src/util-mpm-b2gm.c
src/util-mpm-b3g.c
src/util-mpm-wumanber.c
src/util-mpm.c
src/util-mpm.h