[Oisf-devel] RFC: generic storage API, with host and flow implementations

Victor Julien victor at inliniac.net
Mon Jul 29 08:08:22 UTC 2013

On 07/22/2013 05:34 PM, Victor Julien wrote:
> On 04/09/2013 11:18 AM, Victor Julien wrote:
>> Eric and I have been working on a generic storage API. It's current
>> iteration can be found at:
>> https://github.com/inliniac/suricata/tree/dev-storage-api-v1.1
>> I think it's shaping up nicely. However, in general I still wonder if we
>> should change the logic of the "Init" function ptr. Right now it behaves
>> like "Alloc".
>> If we leave the alloc to the lower level implementation, we could
>> prealloc memory there. Currently we just alloc an array of ptrs, but we
>> could also choose to do alloc the actual memory needs.
>> Need a decision before we integrate it.
> It's my intention to merge this later this week:
> https://github.com/inliniac/suricata/pull/455
> I renamed the Init func ptr to Alloc, so it's now clear what it does.

This is now part of the git master.

Victor Julien
PGP: http://www.inliniac.net/victorjulien.asc

More information about the Oisf-devel mailing list