@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