From: Alexandre Bique Date: Wed, 18 Apr 2012 17:01:31 +0000 (+0200) Subject: Add gnutls::session::set_transport_vec_push(). X-Git-Tag: gnutls_3_0_21~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c79b407a7ed1506f15ce1fb0145f8af285b4fed3;p=thirdparty%2Fgnutls.git Add gnutls::session::set_transport_vec_push(). Signed-off-by: Nikos Mavrogiannopoulos --- diff --git a/lib/gnutlsxx.cpp b/lib/gnutlsxx.cpp index cba0006938..a01f462757 100644 --- a/lib/gnutlsxx.cpp +++ b/lib/gnutlsxx.cpp @@ -448,6 +448,11 @@ namespace gnutls gnutls_transport_set_push_function (s, push_func); } + void session::set_transport_vec_push_function (gnutls_vec_push_func vec_push_func) + { + gnutls_transport_set_vec_push_function (s, vec_push_func); + } + void session::set_transport_pull_function (gnutls_pull_func pull_func) { gnutls_transport_set_pull_function (s, pull_func); diff --git a/lib/includes/gnutls/gnutlsxx.h b/lib/includes/gnutls/gnutlsxx.h index 9be127e369..f30ca73888 100644 --- a/lib/includes/gnutls/gnutlsxx.h +++ b/lib/includes/gnutls/gnutlsxx.h @@ -184,6 +184,7 @@ namespace gnutls void set_transport_lowat (size_t num); void set_transport_push_function (gnutls_push_func push_func); + void set_transport_vec_push_function (gnutls_vec_push_func vec_push_func); void set_transport_pull_function (gnutls_pull_func pull_func); void set_user_ptr (void *ptr);