suricata
|
#include "suricata-common.h"
#include "conf.h"
#include "util-unittest.h"
#include "util-magic.h"
#include "util-debug.h"
Go to the source code of this file.
Functions | |
void | MagicRegisterTests (void) |
Wrappers and tests for libmagic usage.
Libmagic's API is not thread safe. The data the pointer returned by magic_buffer is overwritten by the next magic_buffer call. This is why we need to lock calls and copy the returned string.
Definition in file util-magic.c.
void MagicRegisterTests | ( | void | ) |
Definition at line 575 of file util-magic.c.
References UtRegisterTest().