suricata
|
#include "suricata-common.h"
#include "conf.h"
#include "datasets.h"
#include "datasets-string.h"
#include "util-thash.h"
#include "util-print.h"
#include "util-hash-lookup3.h"
#include "rust.h"
Go to the source code of this file.
Functions | |
int | StringAsBase64 (const void *s, char *out, size_t out_size) |
int | StringSet (void *dst, void *src) |
bool | StringCompare (void *a, void *b) |
uint32_t | StringHash (uint32_t hash_seed, void *s) |
uint32_t | StringGetLength (void *s) |
void | StringFree (void *s) |
Definition in file datasets-string.c.
int StringAsBase64 | ( | const void * | s, |
char * | out, | ||
size_t | out_size | ||
) |
bool StringCompare | ( | void * | a, |
void * | b | ||
) |
Definition at line 77 of file datasets-string.c.
References StringType::len, and StringType::ptr.
void StringFree | ( | void * | s | ) |
Definition at line 101 of file datasets-string.c.
uint32_t StringGetLength | ( | void * | s | ) |
Definition at line 94 of file datasets-string.c.
References str.
uint32_t StringHash | ( | uint32_t | hash_seed, |
void * | s | ||
) |
Definition at line 88 of file datasets-string.c.
References hashlittle_safe(), and str.
int StringSet | ( | void * | dst, |
void * | src | ||
) |
Definition at line 61 of file datasets-string.c.
References BUG_ON, dst, StringType::len, StringType::ptr, StringType::rep, SCLogDebug, SCMalloc, and src.