From: Nikos Mavrogiannopoulos Date: Sat, 2 Jun 2012 08:31:02 +0000 (+0200) Subject: minor documentation updates X-Git-Tag: gnutls_3_0_21~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3b3e2fe76cfeda1c72a72ce716e6472b9e9f845;p=thirdparty%2Fgnutls.git minor documentation updates --- diff --git a/lib/gnutls_str.h b/lib/gnutls_str.h index 965d2fc3a7..a0fb44e9f6 100644 --- a/lib/gnutls_str.h +++ b/lib/gnutls_str.h @@ -39,8 +39,13 @@ typedef struct size_t length; /* API: current length */ } gnutls_buffer_st; +/* Initialize a buffer */ void _gnutls_buffer_init (gnutls_buffer_st *); + +/* Free the data in a buffer */ void _gnutls_buffer_clear (gnutls_buffer_st *); + +/* Set the buffer data to be of zero length */ inline static void _gnutls_buffer_reset (gnutls_buffer_st * buf) { buf->data = buf->allocd;