summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_mac_get_id
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_mac_get_id')
-rw-r--r--doc/functions/gnutls_mac_get_id13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/functions/gnutls_mac_get_id b/doc/functions/gnutls_mac_get_id
new file mode 100644
index 0000000..8022d84
--- /dev/null
+++ b/doc/functions/gnutls_mac_get_id
@@ -0,0 +1,13 @@
+
+
+
+
+@deftypefun {gnutls_mac_algorithm_t} {gnutls_mac_get_id} (const char * @var{name})
+@var{name}: is a MAC algorithm name
+
+Convert a string to a @code{gnutls_mac_algorithm_t} value. The names are
+compared in a case insensitive way.
+
+@strong{Returns:} a @code{gnutls_mac_algorithm_t} id of the specified MAC
+algorithm string, or @code{GNUTLS_MAC_UNKNOWN} on failure.
+@end deftypefun