aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/tls/gnutls_str.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/tls/gnutls_str.h')
-rw-r--r--src/daemon/https/tls/gnutls_str.h11
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
30void MHD_gtls_str_cpy (char *dest, size_t dest_tot_size, const char *src); 30void MHD_gtls_str_cpy (char *dest, size_t dest_tot_size, const char *src);
31void MHD_gtls_mem_cpy (char *dest, size_t dest_tot_size, const char *src,
32 size_t src_size);
33void MHD_gtls_str_cat (char *dest, size_t dest_tot_size, const char *src); 31void MHD_gtls_str_cat (char *dest, size_t dest_tot_size, const char *src);
34 32
35typedef struct 33typedef 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);
48void MHD_gtls_string_clear (MHD_gtls_string *); 46void MHD_gtls_string_clear (MHD_gtls_string *);
49 47
50/* Beware, do not clear the string, after calling this
51 * function
52 */
53MHD_gnutls_datum_t MHD_gtls_string2datum (MHD_gtls_string * str);
54
55int MHD_gtls_string_copy_str (MHD_gtls_string * dest, const char *src);
56int MHD_gtls_string_append_str (MHD_gtls_string *, const char *str);
57int MHD_gtls_string_append_data (MHD_gtls_string *, const void *data, 48int MHD_gtls_string_append_data (MHD_gtls_string *, const void *data,
58 size_t data_size); 49 size_t data_size);
59char *MHD_gtls_bin2hex (const void *old, size_t oldlen, char *buffer, 50char *MHD_gtls_bin2hex (const void *old, size_t oldlen, char *buffer,
60 size_t buffer_size); 51 size_t buffer_size);
61int MHD_gtls_hex2bin (const opaque * hex_data, int hex_size,
62 opaque * bin_data, size_t * bin_size);
63 52
64#endif 53#endif