'LibPst'
libstrfunc.c File Reference
#include "define.h"
Include dependency graph for libstrfunc.c:

Go to the source code of this file.

Functions

static void base64_append (char **ou, int *line_count, char data)
 
char * pst_base64_encode (void *data, size_t size)
 
char * pst_base64_encode_single (void *data, size_t size)
 
char * pst_base64_encode_multiple (void *data, size_t size, int *line_count)
 

Variables

static char base64_code_chars [] ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=="
 

Function Documentation

◆ base64_append()

static void base64_append ( char **  ou,
int *  line_count,
char  data 
)
static

Definition at line 10 of file libstrfunc.c.

Referenced by pst_base64_encode_multiple().

◆ pst_base64_encode()

char* pst_base64_encode ( void *  data,
size_t  size 
)

Definition at line 21 of file libstrfunc.c.

References pst_base64_encode_multiple().

Referenced by print_ldif_single(), pst_attach_to_file_base64(), and write_body_part().

Here is the call graph for this function:

◆ pst_base64_encode_multiple()

char* pst_base64_encode_multiple ( void *  data,
size_t  size,
int *  line_count 
)

Definition at line 35 of file libstrfunc.c.

References base64_append(), and base64_code_chars.

Referenced by pst_append_holder(), pst_base64_encode(), pst_base64_encode_single(), and pst_finish_cleanup_holder().

Here is the call graph for this function:

◆ pst_base64_encode_single()

char* pst_base64_encode_single ( void *  data,
size_t  size 
)

Definition at line 28 of file libstrfunc.c.

References pst_base64_encode_multiple().

Referenced by pst_rfc2047().

Here is the call graph for this function:

Variable Documentation

◆ base64_code_chars

char base64_code_chars[] ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=="
static

Definition at line 7 of file libstrfunc.c.

Referenced by pst_base64_encode_multiple().