suricata
|
#include "datasets-reputation.h"
Go to the source code of this file.
Data Structures | |
struct | StringType |
Typedefs | |
typedef struct StringType | StringType |
Functions | |
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) |
int | StringAsBase64 (const void *s, char *out, size_t out_size) |
Definition in file datasets-string.h.
typedef struct StringType StringType |
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.