#include <gnutls_int.h>
Go to the source code of this file.
Data Structures | |
struct | MHD_gtls_string |
Functions | |
void | MHD_gtls_str_cpy (char *dest, size_t dest_tot_size, const char *src) |
void | MHD_gtls_str_cat (char *dest, size_t dest_tot_size, const char *src) |
void | MHD_gtls_string_init (MHD_gtls_string *, MHD_gnutls_alloc_function, MHD_gnutls_realloc_function, MHD_gnutls_free_function) |
void | MHD_gtls_string_clear (MHD_gtls_string *) |
int | MHD_gtls_string_append_data (MHD_gtls_string *, const void *data, size_t data_size) |
char * | MHD_gtls_bin2hex (const void *old, size_t oldlen, char *buffer, size_t buffer_size) |
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().
void MHD_gtls_str_cat | ( | char * | dest, | |
size_t | dest_tot_size, | |||
const char * | src | |||
) |
Definition at line 37 of file gnutls_str.c.
Referenced by MHD__gnutls_fbase64_decode(), MHD__gnutls_x509_crt_get_extension(), MHD__gnutls_x509_decode_octet_string(), MHD__gnutls_x509_get_pk_algorithm(), and MHD_gtls_io_write_buffered().
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().
int MHD_gtls_string_append_data | ( | MHD_gtls_string * | , | |
const void * | data, | |||
size_t | data_size | |||
) |
Definition at line 106 of file gnutls_str.c.
References MHD_gtls_string::data, GNUTLS_E_MEMORY_ERROR, MHD_gtls_string::length, MHD_gtls_string::max_length, MHD_gnutls_assert, MIN_CHUNK, and MHD_gtls_string::realloc_func.
void MHD_gtls_string_clear | ( | MHD_gtls_string * | ) |
Definition at line 91 of file gnutls_str.c.
References MHD_gtls_string::data, MHD_gtls_string::free_func, MHD_gtls_string::length, and MHD_gtls_string::max_length.
void MHD_gtls_string_init | ( | MHD_gtls_string * | , | |
MHD_gnutls_alloc_function | , | |||
MHD_gnutls_realloc_function | , | |||
MHD_gnutls_free_function | ||||
) |
Definition at line 76 of file gnutls_str.c.
References MHD_gtls_string::alloc_func, MHD_gtls_string::data, MHD_gtls_string::free_func, MHD_gtls_string::length, MHD_gtls_string::max_length, and MHD_gtls_string::realloc_func.