|
suricata
|
#include "ippair.h"

Go to the source code of this file.
Data Structures | |
| struct | SCIPPairStorageId |
Typedefs | |
| typedef struct SCIPPairStorageId | SCIPPairStorageId |
Functions | |
| unsigned int | SCIPPairStorageSize (void) |
| void * | SCIPPairGetStorageById (IPPair *h, SCIPPairStorageId id) |
| int | SCIPPairSetStorageById (IPPair *h, SCIPPairStorageId id, void *ptr) |
| void | SCIPPairFreeStorage (IPPair *h) |
| void | SCRegisterIPPairStorageTests (void) |
| SCIPPairStorageId | SCIPPairStorageRegister (const char *name, void(*Free)(void *)) |
IPPair wrapper around storage api
Definition in file ippair-storage.h.
| typedef struct SCIPPairStorageId SCIPPairStorageId |
| void SCIPPairFreeStorage | ( | IPPair * | h | ) |
Definition at line 45 of file ippair-storage.c.
References SCIPPairStorageSize(), SCStorageFreeAll(), IPPair_::storage, and STORAGE_IPPAIR.
Referenced by IPPairCleanup(), and IPPairClearMemory().


| void* SCIPPairGetStorageById | ( | IPPair * | h, |
| SCIPPairStorageId | id | ||
| ) |
Definition at line 35 of file ippair-storage.c.
References SCStorageGetById(), IPPair_::storage, and STORAGE_IPPAIR.
Referenced by IPPairBitsTimedoutCheck(), and IPPairHasBits().


| int SCIPPairSetStorageById | ( | IPPair * | h, |
| SCIPPairStorageId | id, | ||
| void * | ptr | ||
| ) |
Definition at line 40 of file ippair-storage.c.
References SCStorageSetById(), IPPair_::storage, and STORAGE_IPPAIR.

| SCIPPairStorageId SCIPPairStorageRegister | ( | const char * | name, |
| void(*)(void *) | Free | ||
| ) |
Definition at line 51 of file ippair-storage.c.
References SCIPPairStorageId::id, name, SCStorageRegister(), and STORAGE_IPPAIR.

| unsigned int SCIPPairStorageSize | ( | void | ) |
Definition at line 30 of file ippair-storage.c.
References SCStorageGetSize(), and STORAGE_IPPAIR.
Referenced by IPPairClearMemory(), IPPairInitConfig(), and SCIPPairFreeStorage().


| void SCRegisterIPPairStorageTests | ( | void | ) |
Definition at line 218 of file ippair-storage.c.
References UtRegisterTest().
Referenced by IPPairRegisterUnittests().

