From 8ea2cb55648ba24899e57ed41b61ee7dc5bf7678 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 7 Dec 2000 09:07:00 +0000 Subject: major cleanups --- lib/gnutls_buffers.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'lib/gnutls_buffers.h') diff --git a/lib/gnutls_buffers.h b/lib/gnutls_buffers.h index 4a04dc69f1..7baa97f969 100644 --- a/lib/gnutls_buffers.h +++ b/lib/gnutls_buffers.h @@ -5,8 +5,11 @@ ssize_t _gnutls_Read(int fd, void *iptr, size_t n); ssize_t _gnutls_Write(int fd, const void *iptr, size_t n); /* used in SSL3 */ -int gnutls_getHashDataFromBuffer(int type, GNUTLS_STATE state, char *data, int length); -int gnutls_getHashDataBufferSize(int type, GNUTLS_STATE state); -int gnutls_readHashDataFromBuffer(int type, GNUTLS_STATE state, char *data, int length); -int gnutls_insertHashDataBuffer(int type, GNUTLS_STATE state, char *data, int length); -int gnutls_clearHashDataBuffer(int type, GNUTLS_STATE state); +int gnutls_getHashDataFromBuffer( GNUTLS_STATE state, char *data, int length); +int gnutls_getHashDataBufferSize( GNUTLS_STATE state); +int gnutls_readHashDataFromBuffer( GNUTLS_STATE state, char *data, int length); +int gnutls_insertHashDataBuffer( GNUTLS_STATE state, char *data, int length); +int gnutls_clearHashDataBuffer( GNUTLS_STATE state); + +ssize_t _gnutls_Recv_int(int fd, GNUTLS_STATE state, ContentType type, void *iptr, size_t sizeOfPtr); +ssize_t _gnutls_Send_int(int fd, GNUTLS_STATE state, ContentType type, void *iptr, size_t n); -- cgit v1.2.1