1mysql_get_proto_info(3)       MariaDB Connector/C      mysql_get_proto_info(3)
2
3
4
5   Name
6       mysql_get_proto_info - Returns protocol version number
7
8   Synopsis
9              #include <mysql.h>
10
11              unsigned int mysql_get_proto_info(MYSQL * mysql);
12
13   Description
14       Returns the protocol version number for the specified connection
15
16   Parameter
17       • mysql  -  a  connection identifier, which was previously allocated by
18         mysql_init(3) and connected by mysql_real_connect(3).
19
20   Notes
21       MariaDB Connector/C doesn’t support protocol version 9 and prior.
22
23   Return value
24       The protocol version number in use
25
26   See also
27mysql_get_host_info(3)
28
29
30
31Version 3.2.2                                          mysql_get_proto_info(3)
Impressum