summaryrefslogtreecommitdiff
path: root/lib/extv.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-10-03 11:43:45 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:35 +0100
commit72674eebe537f08b6b229902a22407aa283fa8e2 (patch)
treef717ec4f42caa73f62ae37dde3b95bf684aa7d5f /lib/extv.h
parentce97793cd7532e9d4752313fe96f22de90cd5484 (diff)
downloadgnutls-72674eebe537f08b6b229902a22407aa283fa8e2.tar.gz
handshake: send certificate request when requested
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/extv.h')
-rw-r--r--lib/extv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/extv.h b/lib/extv.h
index b16ad3cc65..b5089efed5 100644
--- a/lib/extv.h
+++ b/lib/extv.h
@@ -63,10 +63,12 @@ int _gnutls_extv_append_final(gnutls_buffer_st *buf, unsigned init)
return 0;
}
+typedef int (*extv_append_func)(void *ctx, gnutls_buffer_st *buf);
+
int _gnutls_extv_append(gnutls_buffer_st *buf,
uint16_t tls_id,
void *ctx,
- int (*cb)(void *ctx, gnutls_buffer_st *buf));
+ extv_append_func cb);
#endif