1gnutls_protocol_get_id(3) gnutls gnutls_protocol_get_id(3)
2
3
4
6 gnutls_protocol_get_id - API function
7
9 #include <gnutls/gnutls.h>
10
11 gnutls_protocol_t gnutls_protocol_get_id(const char * name);
12
14 const char * name
15 is a protocol name
16
18 The names are compared in a case insensitive way.
19
21 an id of the specified protocol, or GNUTLS_VERSION_UNKNOWN on error.
22
24 Report bugs to <bugs@gnutls.org>.
25 Home page: http://www.gnutls.org
26
27
29 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
30 Copying and distribution of this file, with or without modification,
31 are permitted in any medium without royalty provided the copyright
32 notice and this notice are preserved.
33
35 The full documentation for gnutls is maintained as a Texinfo manual.
36 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
37 visit
38
39 http://www.gnutls.org/manual/
40
41gnutls 3.6.5 gnutls_protocol_get_id(3)