Task #3166
opensrc code file reorg
Description
Reorg code files to not have a single src dir containing all files.
Updated by Victor Julien over 5 years ago
- Blocks Feature #1025: seperate #ifdef UNITTEST code into their own files added
Updated by Jason Ish about 5 years ago
- Status changed from Assigned to In Review
Updated by Victor Julien almost 5 years ago
- Target version changed from 6.0.0beta1 to 7.0.0-beta1
Updated by Victor Julien over 3 years ago
- Target version changed from 7.0.0-beta1 to 8.0.0-beta1
Updated by Jason Ish about 1 year ago
- Status changed from In Review to In Progress
Moving back to in-progress.
Updated by Jason Ish about 1 year ago
- Related to Task #3836: Formatting rust code added
Updated by Jason Ish 2 months ago
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.
Updated by Victor Julien 23 days ago
- Target version changed from 8.0.0-beta1 to 9.0.0-beta1