Snort mailing list archives

Dynamic-preprocessor and util functions (for e.g. sfghash)


From: snort user <snort.user () gmail com>
Date: Wed, 10 Aug 2011 18:19:02 -0400

Hi all -

I have a question about the recommended way to reuse the functions
that is present in snort - in the dynamic preprocessors. Consider
sfghash. This is currently in src/util and snort is linked against
this. But dynamic-preprocessors do not look there. If a dynamic
preprocessor needs to use the hash functions, what is the recommended
way?
I see that certain .h and .c files are copied to
src/dynamic-preprocessor/include. That is mainly for the #include's.
In this case, would it require us to copy the sfghash to the relevant
directory of the preprocessor and compiled/linked as necessary?

Thanks for your opinion.

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel


Current thread: