1 | #pragma once |
2 | |
3 | #include <cstdint> |
4 | #include <string> |
5 | |
6 | #ifndef _mysql_h |
7 | |
8 | struct st_mysql; |
9 | using MYSQL = st_mysql; |
10 | |
11 | struct st_mysql_res; |
12 | using MYSQL_RES = st_mysql_res; |
13 | |
14 | using MYSQL_ROW = char**; |
15 | |
16 | struct st_mysql_field; |
17 | using MYSQL_FIELD = st_mysql_field; |
18 | |
19 | #endif |
20 | |
21 | namespace mysqlxx |
22 | { |
23 | |
24 | using UInt64 = uint64_t; |
25 | using Int64 = int64_t; |
26 | using UInt32 = uint32_t; |
27 | using Int32 = int32_t; |
28 | |
29 | using MYSQL_LENGTH = unsigned long; |
30 | using MYSQL_LENGTHS = MYSQL_LENGTH *; |
31 | using MYSQL_FIELDS = MYSQL_FIELD *; |
32 | |
33 | } |
34 | |