suricata
util-pool.c File Reference
#include "suricata-common.h"
#include "util-pool.h"
#include "util-pool-thread.h"
#include "util-unittest.h"
#include "util-debug.h"
Include dependency graph for util-pool.c:

Go to the source code of this file.

Functions

PoolPoolInit (uint32_t size, uint32_t prealloc_size, uint32_t elt_size, void *(*Alloc)(void), int(*Init)(void *, void *), void *InitData, void(*Cleanup)(void *), void(*Free)(void *))
 Init a Pool. More...
 
void PoolFree (Pool *p)
 
void * PoolGet (Pool *p)
 
void PoolReturn (Pool *p, void *data)
 
void PoolRegisterTests (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Pool utility functions

Definition in file util-pool.c.