diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-04-04 11:45:28 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-04-04 11:50:19 +0200 |
commit | 6fe130b22b4d3a38c8accf26ef962fbc7ba4efe8 (patch) | |
tree | c444e5e50f79691c30b6feb4a3133b55ec8aff65 /lib/includes/gnutls | |
parent | 92f2bc7e2faa17dd553a77ade4594a9b9db83c0a (diff) | |
download | gnutls-6fe130b22b4d3a38c8accf26ef962fbc7ba4efe8.tar.gz |
gnutls_do_recv/send_supplemental -> gnutls_supplemental_recv/send
Also added the gnutls_ prefix to new types.
Diffstat (limited to 'lib/includes/gnutls')
-rw-r--r-- | lib/includes/gnutls/gnutls.h.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in index 9a34f4e1c4..cf6bf63940 100644 --- a/lib/includes/gnutls/gnutls.h.in +++ b/lib/includes/gnutls/gnutls.h.in @@ -2287,18 +2287,19 @@ int gnutls_ext_register(const char *name, int type, gnutls_ext_parse_type_t pars /* Public supplemental data related functions */ -typedef int (*supp_recv_func) (gnutls_session_t session, +typedef int (*gnutls_supp_recv_func) (gnutls_session_t session, const unsigned char * data, size_t data_size); -typedef int (*supp_send_func) (gnutls_session_t session, +typedef int (*gnutls_supp_send_func) (gnutls_session_t session, gnutls_buffer_t buf); int gnutls_supplemental_register(const char *name, gnutls_supplemental_data_format_type_t type, - supp_recv_func supp_recv_func, supp_send_func supp_send_func); + gnutls_supp_recv_func supp_recv_func, + gnutls_supp_send_func supp_send_func); -void gnutls_do_recv_supplemental(gnutls_session_t session, unsigned do_recv_supplemental); +void gnutls_supplemental_recv(gnutls_session_t session, unsigned do_recv_supplemental); -void gnutls_do_send_supplemental(gnutls_session_t session, unsigned do_send_supplemental); +void gnutls_supplemental_send(gnutls_session_t session, unsigned do_send_supplemental); /* FIPS140-2 related functions */ int gnutls_fips140_mode_enabled(void); |