Task #3166
open
- Blocks Feature #1025: seperate #ifdef UNITTEST code into their own files added
- Status changed from Assigned to In Review
- Target version changed from 6.0.0beta1 to 7.0.0-beta1
- Target version changed from 7.0.0-beta1 to 8.0.0-beta1
- Status changed from In Review to In Progress
Moving back to in-progress.
- Related to Bug #6754: libsuricata: restructure directory and files to allow for include files to be name spaced added
A few ideas of code reorganization have happened, but we haven't settled on one.
1. Modular re-org without consideration for the library
- PR: https://github.com/OISF/suricata/pull/10041
- Moves "detect-*" into "detect/" and so.
2. Re-organize to be a first class library (#6754)
- PR: https://github.com/OISF/suricata/pull/10421
- The idea here is that almost all C source files are moved into a directory named suricata
or libsuricata
.
- Brings a natural include pattern of "suricata/filename.h"
- Executables, including suricata
would live in the src/
directory or some other directory like tools/
. Curl is an example of another project where its developed as a library, and the popular command is just one of the executables generated from it.
Both of these have gone kind of stale, just adding PRs to the existing work in case we pick them up.
- Target version changed from 8.0.0-beta1 to 9.0.0-beta1
Also available in: Atom
PDF