summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-10-09 19:04:30 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-10-09 19:29:21 +0200
commit9aadbbdc4198655aba70c549764f9e38d3384f57 (patch)
tree284e8c647ca929be9de8859e4216dc9143afde62 /doc
parent65b3870d260fd5ef040b0733a9b831dfc86eaa39 (diff)
downloadgnutls-9aadbbdc4198655aba70c549764f9e38d3384f57.tar.gz
doc: mention gnutls_session_ext_register and its supplemental data equivalent
Diffstat (limited to 'doc')
-rw-r--r--doc/cha-internals.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/cha-internals.texi b/doc/cha-internals.texi
index 2fdf977a15..2f71ee2d96 100644
--- a/doc/cha-internals.texi
+++ b/doc/cha-internals.texi
@@ -124,8 +124,8 @@ the process to do so is not difficult. Here are the steps you need to
follow if you wish to do this yourself. For sake of discussion, let's
consider adding support for the hypothetical TLS extension
@code{foobar}. The following section is about adding an extension to GnuTLS,
-for custom application extensions you should check the exported function
-@funcref{gnutls_ext_register}.
+for custom application extensions you should check the exported functions
+@funcref{gnutls_session_ext_register} or @funcref{gnutls_ext_register}.
@subsubheading Add @code{configure} option like @code{--enable-foobar} or @code{--disable-foobar}.
@@ -425,8 +425,8 @@ _foobar_supp_send_params(gnutls_session_t session, gnutls_buffer_t buf)
@}
@end example
-Afterwards, register the new supplemental data using @funcref{gnutls_supplemental_register},
-at some point in your program.
+Afterwards, register the new supplemental data using @funcref{gnutls_session_supplemental_register},
+or @funcref{gnutls_supplemental_register} at some point in your program.
@node Cryptographic Backend
@section Cryptographic Backend