@deftypefun {gnutls_kx_algorithm_t} {gnutls_kx_get_id} (const char * @var{name}) @var{name}: is a KX name Convert a string to a @code{gnutls_kx_algorithm_t} value. The names are compared in a case insensitive way. @strong{Returns:} an id of the specified KX algorithm, or @code{GNUTLS_KX_UNKNOWN} on error. @end deftypefun