-
Notifications
You must be signed in to change notification settings - Fork 30
/
gsc_mysql.hpp
executable file
·70 lines (57 loc) · 1.7 KB
/
gsc_mysql.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef _GSC_MYSQL_HPP_
#define _GSC_MYSQL_HPP_
#ifdef __cplusplus
extern "C" {
#endif
/* default stuff */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* gsc functions */
#include "gsc.hpp"
/* offsetof */
#include <stddef.h>
//#pragma GCC visibility push(hidden)
//#define HIDDEN __attribute__((__visibility__("hidden")))
#define HIDDEN
void gsc_mysql_init();
void gsc_mysql_real_connect();
void gsc_mysql_close();
void gsc_mysql_query();
void gsc_mysql_errno();
void gsc_mysql_error();
void gsc_mysql_affected_rows();
void gsc_mysql_store_result();
void gsc_mysql_num_rows();
void gsc_mysql_num_fields();
void gsc_mysql_field_seek();
void gsc_mysql_fetch_field();
void gsc_mysql_fetch_row();
void gsc_mysql_free_result();
void gsc_mysql_real_escape_string();
void gsc_mysql_async_create_query();
void gsc_mysql_async_create_query_nosave();
void gsc_mysql_async_getdone_list();
void gsc_mysql_async_getresult_and_free();
void gsc_mysql_async_initializer();
void gsc_mysql_reuse_connection();
/*HIDDEN*/ int gsc_mysql_stmt_init();
/*HIDDEN*/ int gsc_mysql_stmt_close();
/*HIDDEN*/ int gsc_mysql_stmt_get_stmt_id();
/*HIDDEN*/ int gsc_mysql_stmt_get_prefetch_rows();
/*HIDDEN*/ int gsc_mysql_stmt_get_param_count();
/*HIDDEN*/ int gsc_mysql_stmt_get_field_count();
/*HIDDEN*/ int gsc_mysql_stmt_prepare();
/*HIDDEN*/ int gsc_mysql_stmt_bind_param();
/*HIDDEN*/ int gsc_mysql_stmt_bind_result();
/*HIDDEN*/ int gsc_mysql_stmt_execute();
/*HIDDEN*/ int gsc_mysql_stmt_store_result();
/*HIDDEN*/ int gsc_mysql_stmt_fetch();
// test scenaries directly in cod2, no second... third ... fourth single project
int gsc_mysql_test_0();
int gsc_mysql_test_1();
//#pragma GCC visibility pop
#ifdef __cplusplus
}
#endif
#endif