|
suricata
|


Go to the source code of this file.
Data Structures | |
| struct | StringType |
Typedefs | |
| typedef struct StringType | StringType |
Functions | |
| int | StringSet (void *dst, void *src) |
| int | StringJsonSet (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) |
| void | StringJsonFree (void *s) |
| int | StringAsBase64 (const void *s, char *out, size_t out_size) |
| uint32_t | StringJsonGetLength (void *s) |
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 95 of file datasets-string.c.
References StringType::len, and StringType::ptr.
| void StringFree | ( | void * | s | ) |
Definition at line 119 of file datasets-string.c.
| uint32_t StringGetLength | ( | void * | s | ) |
Definition at line 112 of file datasets-string.c.
References str.
| uint32_t StringHash | ( | uint32_t | hash_seed, |
| void * | s | ||
| ) |
Definition at line 106 of file datasets-string.c.
References hashlittle_safe(), and str.

| void StringJsonFree | ( | void * | s | ) |
Definition at line 125 of file datasets-string.c.
| uint32_t StringJsonGetLength | ( | void * | s | ) |
Definition at line 134 of file datasets-string.c.
References str.
| int StringJsonSet | ( | void * | dst, |
| void * | src | ||
| ) |
Definition at line 79 of file datasets-string.c.
References DatajsonCopyJson(), dst, StringType::json, StringType::ptr, SCFree, src, and StringSet().

| int StringSet | ( | void * | dst, |
| void * | src | ||
| ) |
Definition at line 60 of file datasets-string.c.
References dst, StringType::len, StringType::ptr, StringType::rep, SCLogDebug, SCLogError, SCMalloc, and src.
Referenced by StringJsonSet().
