summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_srp_server_get_username
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_srp_server_get_username')
-rw-r--r--doc/functions/gnutls_srp_server_get_username13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/functions/gnutls_srp_server_get_username b/doc/functions/gnutls_srp_server_get_username
new file mode 100644
index 0000000..47ebaa3
--- /dev/null
+++ b/doc/functions/gnutls_srp_server_get_username
@@ -0,0 +1,13 @@
+
+
+
+
+@deftypefun {const char *} {gnutls_srp_server_get_username} (gnutls_session_t @var{session})
+@var{session}: is a gnutls session
+
+This function will return the username of the peer. This should
+only be called in case of SRP authentication and in case of a
+server. Returns NULL in case of an error.
+
+@strong{Returns:} SRP username of the peer, or NULL in case of error.
+@end deftypefun