diff options
Diffstat (limited to 'src/daemon/https/tls/gnutls_str.h')
-rw-r--r-- | src/daemon/https/tls/gnutls_str.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/daemon/https/tls/gnutls_str.h b/src/daemon/https/tls/gnutls_str.h index befa957e..51ed1bd1 100644 --- a/src/daemon/https/tls/gnutls_str.h +++ b/src/daemon/https/tls/gnutls_str.h | |||
@@ -28,8 +28,6 @@ | |||
28 | #include <gnutls_int.h> | 28 | #include <gnutls_int.h> |
29 | 29 | ||
30 | void MHD_gtls_str_cpy (char *dest, size_t dest_tot_size, const char *src); | 30 | void MHD_gtls_str_cpy (char *dest, size_t dest_tot_size, const char *src); |
31 | void MHD_gtls_mem_cpy (char *dest, size_t dest_tot_size, const char *src, | ||
32 | size_t src_size); | ||
33 | void MHD_gtls_str_cat (char *dest, size_t dest_tot_size, const char *src); | 31 | void MHD_gtls_str_cat (char *dest, size_t dest_tot_size, const char *src); |
34 | 32 | ||
35 | typedef struct | 33 | typedef struct |
@@ -47,18 +45,9 @@ void MHD_gtls_string_init (MHD_gtls_string *, MHD_gnutls_alloc_function, | |||
47 | MHD_gnutls_free_function); | 45 | MHD_gnutls_free_function); |
48 | void MHD_gtls_string_clear (MHD_gtls_string *); | 46 | void MHD_gtls_string_clear (MHD_gtls_string *); |
49 | 47 | ||
50 | /* Beware, do not clear the string, after calling this | ||
51 | * function | ||
52 | */ | ||
53 | MHD_gnutls_datum_t MHD_gtls_string2datum (MHD_gtls_string * str); | ||
54 | |||
55 | int MHD_gtls_string_copy_str (MHD_gtls_string * dest, const char *src); | ||
56 | int MHD_gtls_string_append_str (MHD_gtls_string *, const char *str); | ||
57 | int MHD_gtls_string_append_data (MHD_gtls_string *, const void *data, | 48 | int MHD_gtls_string_append_data (MHD_gtls_string *, const void *data, |
58 | size_t data_size); | 49 | size_t data_size); |
59 | char *MHD_gtls_bin2hex (const void *old, size_t oldlen, char *buffer, | 50 | char *MHD_gtls_bin2hex (const void *old, size_t oldlen, char *buffer, |
60 | size_t buffer_size); | 51 | size_t buffer_size); |
61 | int MHD_gtls_hex2bin (const opaque * hex_data, int hex_size, | ||
62 | opaque * bin_data, size_t * bin_size); | ||
63 | 52 | ||
64 | #endif | 53 | #endif |