14 Commits
Author SHA1 Message Date
Jason Ish 336b50ae9e storage: prefix core API with SC 2026-04-03 10:16:59 +00:00
Jason Ish cd9993c568 storage: remove the size registration parameter
With the Alloc callback gone, the size is no longer needed.
2026-03-30 08:10:36 +00:00
Jason Ish f337cd573b storage: remove alloc callback as its unused
Remove the "Alloc" callback from the storage API, it was only being
used in tests without any real usage.
2026-03-30 08:10:36 +00:00
Jason Ish fa230efccb threads: add storage api, based on flow storage 2024-11-13 10:53:59 +01:00
Philippe Antoine b113bdd9e3 src: remove unused headers-exported functions
+ remove double definition of IPPairLock

Ticket: #4083
2024-04-13 08:50:21 +02:00
Jason Ish 44388f1b69 src: make include guards more library friendly
Include guards for libraries should use a prefix that is meaningful for
the library to avoid conflicts with other user code. For Suricata, use
SURICATA.

Additionally, remove the pattern of leading and trailing underscores as
these are reserved for the language implementation per the C and C++
standards.
2024-03-10 07:59:54 +01:00
Victor Julien c1b920d056 storage: use proper type instead of void ptr 2023-12-01 14:55:37 +01:00
Victor Julien 69f61c0028 storage: remove unused code
Only used in a unittest; removed that as well.
2023-12-01 14:55:37 +01:00
Eric Leblond 3ae714d354 device-storage: introduce feature
The capture method may have to store data depending related to the
offloading so having a per interface storage via LiveDevice seems
interesting.
2018-02-06 16:58:19 +01:00
Victor Julien 99ae643e4e ippair: track ippairs, enable tests 2015-04-15 09:43:29 +02:00
Victor Julien 5a7bf53a6b Storage: rename Init to Alloc to reflect actual functioning. Comment updates. 2013-07-28 23:41:11 +02:00
Victor Julien 0d2a6e515e Add Host specific wrapper to StorageRegister() 2013-07-28 23:41:11 +02:00
Victor Julien b5ccf0b9c7 storage: allow preallocated storage 2013-07-28 23:41:11 +02:00
Victor Julien 022c0e466e Initial storage api work 2013-07-28 23:41:06 +02:00