@deftypefun {gnutls_protocol_t} {gnutls_protocol_get_id} (const char * @var{name}) @var{name}: is a protocol name The names are compared in a case insensitive way. @strong{Returns:} an id of the specified protocol, or @code{GNUTLS_VERSION_UNKNOWN} on error. @end deftypefun