gnutls_str.c File Reference

#include <gnutls_int.h>
#include <gnutls_errors.h>
#include <gnutls_num.h>
#include <gnutls_str.h>
Include dependency graph for gnutls_str.c:

Go to the source code of this file.

Defines

#define MIN_CHUNK   256

Functions

void MHD_gtls_str_cat (char *dest, size_t dest_tot_size, const char *src)
void MHD_gtls_str_cpy (char *dest, size_t dest_tot_size, const char *src)
void MHD_gtls_string_init (MHD_gtls_string *str, MHD_gnutls_alloc_function alloc_func, MHD_gnutls_realloc_function realloc_func, MHD_gnutls_free_function free_func)
void MHD_gtls_string_clear (MHD_gtls_string *str)
int MHD_gtls_string_append_data (MHD_gtls_string *dest, const void *data, size_t data_size)
char * MHD_gtls_bin2hex (const void *_old, size_t oldlen, char *buffer, size_t buffer_size)

Define Documentation

#define MIN_CHUNK   256

Definition at line 102 of file gnutls_str.c.

Referenced by MHD_gtls_string_append_data().


Function Documentation

char* MHD_gtls_bin2hex ( const void *  _old,
size_t  oldlen,
char *  buffer,
size_t  buffer_size 
)

Definition at line 143 of file gnutls_str.c.

References old.

Referenced by generate_normal_master(), MHD__gnutls_send_server_hello(), and MHD__gnutls_set_keys().

Here is the caller graph for this function:

void MHD_gtls_str_cat ( char *  dest,
size_t  dest_tot_size,
const char *  src 
)
void MHD_gtls_str_cpy ( char *  dest,
size_t  dest_tot_size,
const char *  src 
)

Definition at line 57 of file gnutls_str.c.

Referenced by MHD__gnutls_fbase64_decode(), MHD__gnutls_x509_crt_get_extension(), MHD__gnutls_x509_decode_octet_string(), and MHD__gnutls_x509_get_pk_algorithm().

Here is the caller graph for this function:

int MHD_gtls_string_append_data ( MHD_gtls_string dest,
const void *  data,
size_t  data_size 
)
void MHD_gtls_string_clear ( MHD_gtls_string str  ) 
void MHD_gtls_string_init ( MHD_gtls_string str,
MHD_gnutls_alloc_function  alloc_func,
MHD_gnutls_realloc_function  realloc_func,
MHD_gnutls_free_function  free_func 
)

Generated by  doxygen 1.6.2