datasets-string.h File Reference
Include dependency graph for datasets-string.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  StringType


typedef struct StringType StringType


int StringSet (void *dst, void *src)
bool StringCompare (void *a, void *b)
uint32_t StringHash (void *s)
void StringFree (void *s)
int StringAsBase64 (const void *s, char *out, size_t out_size)

Detailed Description

Typedef Documentation

◆ StringType

typedef struct StringType StringType

Function Documentation

◆ StringAsBase64()

int StringAsBase64 ( const void *  s,
char *  out,
size_t  out_size 

Definition at line 46 of file datasets-string.c.

References len, str, strlcat(), and strlcpy().

Here is the call graph for this function:

◆ StringCompare()

bool StringCompare ( void *  a,
void *  b 

Definition at line 77 of file datasets-string.c.

References StringType::len, and StringType::ptr.

◆ StringFree()

void StringFree ( void *  s)

Definition at line 102 of file datasets-string.c.

References SCFree, and str.

◆ StringHash()

uint32_t StringHash ( void *  s)

Definition at line 88 of file datasets-string.c.

References str.

◆ StringSet()

int StringSet ( void *  dst,
void *  src