|
suricata
|
#include "host.h"

Go to the source code of this file.
Data Structures | |
| struct | HostStorageId_ |
Typedefs | |
| typedef struct HostStorageId_ | SCHostStorageId |
Functions | |
| unsigned int | SCHostStorageSize (void) |
| void * | SCHostGetStorageById (Host *h, SCHostStorageId id) |
| Get a value from a given Host storage. More... | |
| int | SCHostSetStorageById (Host *h, SCHostStorageId id, void *ptr) |
| Store a pointer in a given Host storage. More... | |
| void | SCHostFreeStorage (Host *h) |
| void | SCRegisterHostStorageTests (void) |
| SCHostStorageId | SCHostStorageRegister (const char *name, void(*Free)(void *)) |
| Register a Host storage. More... | |
Host wrapper around storage api
Definition in file host-storage.h.
| typedef struct HostStorageId_ SCHostStorageId |
| void SCHostFreeStorage | ( | Host * | h | ) |
Definition at line 96 of file host-storage.c.
References SCHostStorageSize(), SCStorageFreeAll(), Host_::storage, and STORAGE_HOST.
Referenced by HostCleanup(), and HostClearMemory().


| unsigned int SCHostStorageSize | ( | void | ) |
Definition at line 30 of file host-storage.c.
References SCStorageGetSize(), and STORAGE_HOST.
Referenced by HostClearMemory(), HostInitConfig(), and SCHostFreeStorage().


| void SCRegisterHostStorageTests | ( | void | ) |
Definition at line 254 of file host-storage.c.
References UtRegisterTest().
Referenced by HostRegisterUnittests().

