[Snort-devel] a note on the snort code's organization

Martin Roesch roesch at ...48...
Sat Feb 10 23:10:21 EST 2001


Noted.  Version 2.0 will have cleaned up header files.

    -Marty

Todd Lewis wrote:
> 
> Snort 1.6.3 is giving me fits.  Needed type definitions are in snort.h
> along with a lot of other crap.  This other crap precludes me from
> including snort.h in separate code like a paengine.  The type definitions
> should be put in a separate header file and that should be included
> into snort.h.
> 
> Header files aren't just a convenient place to put the crap that comes
> before The Real Programming; they should be crafted with the goal in mind
> of being shared across multiple user files, and anything not intended
> to be shared should be in the C file, not in a header file.
> 
> --
> Todd Lewis                                       tlewis at ...120...
> 
>   God grant me the courage not to give up what I think is right, even
>   though I think it is hopeless.          - Admiral Chester W. Nimitz
> 
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/snort-devel

--
Martin Roesch
roesch at ...48...
http://www.snort.org




More information about the Snort-devel mailing list