[prev in list] [next in list] [prev in thread] [next in thread] 

List:       snort-devel
Subject:    Re: [Snort-devel] Multiple copies of header files
From:       Steven Sturges <steve.sturges () sourcefire ! com>
Date:       2009-09-11 11:29:33
Message-ID: 4AAA349D.9040404 () sourcefire ! com
[Download RAW message or body]

If you look in the source distribution or CVS, there is only
one copy of each header file.  They are copied from their
original location and modified programatically as needed relating
to changes in the different packet types and dynamic APIs.


snort user wrote:
> What is the reason for keeping a separate copy of various header files
> in the dynamic directories.
> Does'nt this increase maintenance effort? i.e. changes will need to be
> coordinated.
> 
> Why does'nt the dynamic preprocessor code and other code
> refer to header files in a single place?
> 
> 
> ./sf_types.h
> ./dynamic-preprocessors/include/sf_types.h
> 
> ./preprocessors/stream_api.h
> ./dynamic-preprocessors/include/stream_api.h
> 
> ./preprocessors/str_search.h
> ./dynamic-preprocessors/include/str_search.h
> 
> ./dynamic-plugins/sf_engine/debug.h
> ./dynamic-preprocessors/include/debug.h
> ./debug.h
> 
> ./dynamic-preprocessors/include/bounds.h
> ./bounds.h
> 
> ./sfutil/bitop.h
> ./dynamic-preprocessors/include/bitop.h
> 
> 
> Thanks
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Snort-devel mailing list
> Snort-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
> 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Snort-devel mailing list
Snort-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic