next up previous contents
Next: Detection Engine Up: Required Functions Previous: Required Functions   Contents

Preprocessors

Each dynamic preprocessor must define the following items. These must be defined in the global scope of a source file (e.g. spp_example.c).

The preprocessor must be built with the same macros defined as the Snort binary and linked with the dynamic preprocessor library that was created during the Snort build. A package configuration file is exported as part of the Snort build and can be accessed using the following commands with PKG_CONFIG_PATH=$<$snort build prefix/lib/pkgconfig$>$:


next up previous contents
Next: Detection Engine Up: Required Functions Previous: Required Functions   Contents
Eugene Misnik 2013-05-08