summaryrefslogtreecommitdiff
path: root/lib/gnutls_extensions.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-13 09:31:17 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-11-13 09:31:17 +0000
commit700bf0fd58ef7f3f353c7569deff56c121644263 (patch)
tree76a0657c58a290dd04438fc7b1a657cef74ba610 /lib/gnutls_extensions.c
parent7f395ab4b171615e934ac0700f2445f746fdadf5 (diff)
downloadgnutls-700bf0fd58ef7f3f353c7569deff56c121644263.tar.gz
Some bugfixes, and type corrections.
Diffstat (limited to 'lib/gnutls_extensions.c')
-rw-r--r--lib/gnutls_extensions.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/gnutls_extensions.c b/lib/gnutls_extensions.c
index de80bf5dbd..256f5f6da4 100644
--- a/lib/gnutls_extensions.c
+++ b/lib/gnutls_extensions.c
@@ -57,22 +57,23 @@ gnutls_extension_entry _gnutls_extensions[MAX_EXT_SIZE] = {
/* EXTENSION functions */
-void* _gnutls_ext_func_recv(uint16 type)
+ext_recv_func _gnutls_ext_func_recv(uint16 type)
{
- void* ret=NULL;
+ ext_recv_func ret = NULL;
GNUTLS_EXTENSION_LOOP(ret = p->gnutls_ext_func_recv);
return ret;
}
-void* _gnutls_ext_func_send(uint16 type)
+
+ext_send_func _gnutls_ext_func_send(uint16 type)
{
- void* ret=NULL;
+ ext_send_func ret = NULL;
GNUTLS_EXTENSION_LOOP(ret = p->gnutls_ext_func_send);
return ret;
}
-const char *_gnutls_extension_get_name(uint16 type)
+const char* _gnutls_extension_get_name(uint16 type)
{
const char *ret = NULL;