gnutls_protocol_get_id3
Api function
Usage
#include <gnutls/gnutls.h>
gnutls_protocol_t gnutls_protocol_get_id(const char * name);
Arguments
- const char * name
-
is a protocol name
Overview
The names are compared in a case insensitive way.
Returns
an id of the specified protocol, or GNUTLS_VERSION_UNKNOWN on error.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 8 times.