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 <bug-gnutls@gnu.org>. GnuTLS home page:
25 http://www.gnu.org/software/gnutls/ General help using GNU software:
26 http://www.gnu.org/gethelp/
27
29 Copyright © 2008 Free Software Foundation.
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 info and gnutls programs are properly installed at your site,
37 the command
38
39 info gnutls
40
41 should give you access to the complete manual.
42
43
44
45gnutls 2.12.6.1 gnutls_protocol_get_id(3)