[Snort-devel] Multiple copies of header files

Steven Sturges steve.sturges at ...402...
Fri Sep 11 07:29:33 EDT 2009


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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
> 




More information about the Snort-devel mailing list