天佐.乾坤袋
tianzuo.Qiankun
NoSql数据库 NoSql database
|
#include "tianzuo.Qiankun.h"
Go to the source code of this file.
Classes | |
struct | Qiankun_db_verify |
数据库验证 More... | |
struct | Qiankun_data_type_tag |
数据类型 More... | |
struct | Qiankun_user_data_tag |
用户数据 More... | |
struct | Qiankun_get_user_data_tag |
返回用户数据 More... | |
struct | Qiankun_function_tag |
回调函数 More... | |
class | tianzuo_QiankunInt |
乾坤袋模块类 for c++ More... | |
class | tianzuo_QiankunInterface |
乾坤袋接口 for c++ More... | |
class | tianzuo_QiankunDataInt |
乾坤袋数据模块类 for c++ More... | |
class | tianzuo_QiankunDataInterface |
乾坤袋数据接口 for c++ More... | |
Macros | |
#define | tianzuo_Qiankun_atr __attribute__((visibility("default"))) |
导出函数定义(define dllexport) | |
#define | tianzuo_Qiankun_lib |
Typedefs | |
typedef struct Qiankun_db_verify | Qiankun_db_verify_struct |
typedef struct Qiankun_db_verify * | Qiankun_db_verify_pointer |
typedef struct Qiankun_data_type_tag | Qiankun_data_type_struct |
typedef struct Qiankun_data_type_tag * | Qiankun_data_type_pointer |
typedef struct Qiankun_user_data_tag | Qiankun_user_data_struct |
typedef struct Qiankun_user_data_tag * | Qiankun_user_data_pointer |
typedef struct Qiankun_get_user_data_tag | Qiankun_get_user_data_struct |
typedef struct Qiankun_get_user_data_tag * | Qiankun_get_user_data_pointer |
typedef struct Qiankun_function_tag | Qiankun_function_struct |
typedef struct Qiankun_function_tag * | Qiankun_function_pointer |
Functions | |||||||||||||||||||
initialize | |||||||||||||||||||
组件初始化
| |||||||||||||||||||
tianzuo_Qiankun_lib tianzuo_QiankunInt * | tianzuo_QiankunInterface_initialize () | ||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_initialize (tianzuo_QiankunInt *QiankunInt_pointer) | ||||||||||||||||||
terminate | |||||||||||||||||||
接口销毁
| |||||||||||||||||||
tianzuo_Qiankun_lib void | tianzuo_QiankunInterface_terminate (tianzuo_QiankunInt **QiankunInt_pointer) | ||||||||||||||||||
db_create_database | |||||||||||||||||||
创建数据库
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_create_database (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *db_name, bool const over_write) | ||||||||||||||||||
db_open_database | |||||||||||||||||||
打开数据库
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_open_database (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password) | ||||||||||||||||||
db_close_database | |||||||||||||||||||
关闭数据库
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_close_database (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password) | ||||||||||||||||||
db_change_password | |||||||||||||||||||
修改密码
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_change_password (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *new_password) | ||||||||||||||||||
db_get_name | |||||||||||||||||||
获取数据库名称
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_get_name (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, char *&db_name) | ||||||||||||||||||
db_get_total_number | |||||||||||||||||||
获取数据库数据总数
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_get_total_number (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int *file_number) | ||||||||||||||||||
db_rebuild | |||||||||||||||||||
重建数据库
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_rebuild (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *new_db_file_name) | ||||||||||||||||||
db_set_name | |||||||||||||||||||
设置数据库名称
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_set_name (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *db_name) | ||||||||||||||||||
db_set_total_number | |||||||||||||||||||
设置数据库总数
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_db_set_total_number (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int const add_file_number) | ||||||||||||||||||
data_check | |||||||||||||||||||
检测数据有效性
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_check (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, int data_type) | ||||||||||||||||||
data_delete | |||||||||||||||||||
删除数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_delete (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name) | ||||||||||||||||||
data_deletes | |||||||||||||||||||
删除多个数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_deletes (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name) | ||||||||||||||||||
data_get_size | |||||||||||||||||||
获取数据大小
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_get_size (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int size_type, const char *data_name, int data_type, int *data) | ||||||||||||||||||
data_get_size_list | |||||||||||||||||||
获取数据大小
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_get_size_list (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int size_type, char **data) | ||||||||||||||||||
data_get_name_list | |||||||||||||||||||
获取数据名称列表
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_get_name_list (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, int name_type, char **data) | ||||||||||||||||||
data_get_type_list | |||||||||||||||||||
获取数据类型列表
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_get_type_list (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, char **data) | ||||||||||||||||||
data_get_type_total_number_list | |||||||||||||||||||
获取数据类型总数列表
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_get_type_total_number_list (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, char **data) | ||||||||||||||||||
data_get_index_list | |||||||||||||||||||
获取序号列表
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_get_index_list (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, char **data) | ||||||||||||||||||
data_short_combine | |||||||||||||||||||
加入短整型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_short_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, short data) | ||||||||||||||||||
data_short_modify | |||||||||||||||||||
修改短整型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_short_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, short data) | ||||||||||||||||||
data_short_extract | |||||||||||||||||||
获取短整型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_short_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, short *data) | ||||||||||||||||||
data_int_combine | |||||||||||||||||||
加入整型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_int_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, int data) | ||||||||||||||||||
data_int_modify | |||||||||||||||||||
修改整型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_int_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, int data) | ||||||||||||||||||
data_int_extract | |||||||||||||||||||
获取整型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_int_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, int *data) | ||||||||||||||||||
data_float_combine | |||||||||||||||||||
加入浮点型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_float_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, float data) | ||||||||||||||||||
data_float_modify | |||||||||||||||||||
修改浮点型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_float_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, float data) | ||||||||||||||||||
data_float_extract | |||||||||||||||||||
获取浮点型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_float_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, float *data) | ||||||||||||||||||
data_double_combine | |||||||||||||||||||
加入双浮点型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_double_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, double data) | ||||||||||||||||||
data_double_modify | |||||||||||||||||||
修改双浮点型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_double_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double data) | ||||||||||||||||||
data_double_extract | |||||||||||||||||||
获取双浮点型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_double_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double *data) | ||||||||||||||||||
data_currency_combine | |||||||||||||||||||
加入货币型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_currency_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, double data) | ||||||||||||||||||
data_currency_modify | |||||||||||||||||||
修改货币型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_currency_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double data) | ||||||||||||||||||
data_currency_extract | |||||||||||||||||||
获取货币型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_currency_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double *data) | ||||||||||||||||||
data_date_combine | |||||||||||||||||||
加入日期型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_date_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, double data) | ||||||||||||||||||
data_date_modify | |||||||||||||||||||
修改日期型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_date_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double data) | ||||||||||||||||||
data_date_extract | |||||||||||||||||||
获取日期型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_date_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, double *data) | ||||||||||||||||||
data_string_combine | |||||||||||||||||||
加入字符串型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_string_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data) | ||||||||||||||||||
data_string_modify | |||||||||||||||||||
修改字符串型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_string_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data) | ||||||||||||||||||
data_string_extract | |||||||||||||||||||
获取字符串型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_string_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data) | ||||||||||||||||||
data_file_combine | |||||||||||||||||||
加入文件型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_file_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *file_name, bool const compress) | ||||||||||||||||||
data_file_modify | |||||||||||||||||||
修改文件型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_file_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *file_name, bool const compress) | ||||||||||||||||||
data_file_extract | |||||||||||||||||||
获取文件型数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_file_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *file_name, bool over_write) | ||||||||||||||||||
data_shorts_combine | |||||||||||||||||||
加入短整型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_shorts_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data) | ||||||||||||||||||
data_shorts_modify | |||||||||||||||||||
修改短整型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_shorts_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data) | ||||||||||||||||||
data_shorts_extract | |||||||||||||||||||
获取短整型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_shorts_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data) | ||||||||||||||||||
data_ints_combine | |||||||||||||||||||
加入整型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_ints_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data) | ||||||||||||||||||
data_ints_modify | |||||||||||||||||||
修改整型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_ints_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data) | ||||||||||||||||||
data_ints_extract | |||||||||||||||||||
获取整型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_ints_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data) | ||||||||||||||||||
data_floats_combine | |||||||||||||||||||
加入浮点型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_floats_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data) | ||||||||||||||||||
data_floats_modify | |||||||||||||||||||
修改浮点型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_floats_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data) | ||||||||||||||||||
data_floats_extract | |||||||||||||||||||
获取浮点型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_floats_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data) | ||||||||||||||||||
data_doubles_combine | |||||||||||||||||||
加入双浮点型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_doubles_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data) | ||||||||||||||||||
data_doubles_modify | |||||||||||||||||||
修改双浮点型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_doubles_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data) | ||||||||||||||||||
data_doubles_extract | |||||||||||||||||||
获取双浮点型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_doubles_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data) | ||||||||||||||||||
data_currencys_combine | |||||||||||||||||||
加入货币型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_currencys_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data) | ||||||||||||||||||
data_currencys_modify | |||||||||||||||||||
修改货币型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_currencys_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data) | ||||||||||||||||||
data_currencys_extract | |||||||||||||||||||
获取货币型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_currencys_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data) | ||||||||||||||||||
data_dates_combine | |||||||||||||||||||
加入日期型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_dates_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data) | ||||||||||||||||||
data_dates_modify | |||||||||||||||||||
修改日期型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_dates_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data) | ||||||||||||||||||
data_dates_extract | |||||||||||||||||||
获取日期型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_dates_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data) | ||||||||||||||||||
data_strings_combine | |||||||||||||||||||
加入字符串型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_strings_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, const char *remark, char *data) | ||||||||||||||||||
data_strings_modify | |||||||||||||||||||
修改字符串型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_strings_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data) | ||||||||||||||||||
data_strings_extract | |||||||||||||||||||
获取字符串型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_strings_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char **data) | ||||||||||||||||||
data_files_combine | |||||||||||||||||||
加入文件型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_files_combine (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data, bool const compress) | ||||||||||||||||||
data_files_modify | |||||||||||||||||||
修改文件型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_files_modify (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data, bool const compress) | ||||||||||||||||||
data_files_extract | |||||||||||||||||||
获取文件型数组数据
| |||||||||||||||||||
tianzuo_Qiankun_lib int | tianzuo_QiankunInt_data_files_extract (tianzuo_QiankunInt *QiankunInt_pointer, const char *db_file_name, const char *db_password, const char *data_name, char *data, bool over_write) | ||||||||||||||||||
#define tianzuo_Qiankun_atr __attribute__((visibility("default"))) |
导出函数定义(define dllexport)
#define tianzuo_Qiankun_lib |
typedef struct Qiankun_data_type_tag * Qiankun_data_type_pointer |
typedef struct Qiankun_data_type_tag Qiankun_data_type_struct |
typedef struct Qiankun_db_verify * Qiankun_db_verify_pointer |
typedef struct Qiankun_db_verify Qiankun_db_verify_struct |
typedef struct Qiankun_function_tag * Qiankun_function_pointer |
typedef struct Qiankun_function_tag Qiankun_function_struct |
typedef struct Qiankun_get_user_data_tag * Qiankun_get_user_data_pointer |
typedef struct Qiankun_get_user_data_tag Qiankun_get_user_data_struct |
typedef struct Qiankun_user_data_tag * Qiankun_user_data_pointer |
typedef struct Qiankun_user_data_tag Qiankun_user_data_struct |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_check | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
int | data_type | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currency_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
double | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currency_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
double * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currency_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
double | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currencys_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currencys_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_currencys_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_date_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
double | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_date_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
double * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_date_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
double | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_dates_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_dates_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_dates_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_delete | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_deletes | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_double_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
double | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_double_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
double * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_double_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
double | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_doubles_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_doubles_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_doubles_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_file_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | file_name, | ||
bool const | compress | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_file_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | file_name, | ||
bool | over_write | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_file_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | file_name, | ||
bool const | compress | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_files_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data, | ||
bool const | compress | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_files_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data, | ||
bool | over_write | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_files_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data, | ||
bool const | compress | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_float_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
float | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_float_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
float * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_float_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
float | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_floats_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_floats_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_floats_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_index_list | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_name_list | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
int | name_type, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_size | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
int | size_type, | ||
const char * | data_name, | ||
int | data_type, | ||
int * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_size_list | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
int | size_type, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_type_list | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_get_type_total_number_list | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_int_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
int | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_int_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
int * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_int_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
int | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_ints_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_ints_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_ints_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_short_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
short | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_short_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
short * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_short_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
short | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_shorts_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_shorts_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_shorts_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_string_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_string_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_string_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_strings_combine | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
const char * | remark, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_strings_extract | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char ** | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_data_strings_modify | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | data_name, | ||
char * | data | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_change_password | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | new_password | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_close_database | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_create_database | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | db_name, | ||
bool const | over_write | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_get_name | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
char *& | db_name | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_get_total_number | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
int * | file_number | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_open_database | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_rebuild | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | new_db_file_name | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_set_name | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
const char * | db_name | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_db_set_total_number | ( | tianzuo_QiankunInt * | QiankunInt_pointer, |
const char * | db_file_name, | ||
const char * | db_password, | ||
int const | add_file_number | ||
) |
tianzuo_Qiankun_lib int tianzuo_QiankunInt_initialize | ( | tianzuo_QiankunInt * | QiankunInt_pointer | ) |
tianzuo_Qiankun_lib tianzuo_QiankunInt * tianzuo_QiankunInterface_initialize | ( | ) |
tianzuo_Qiankun_lib void tianzuo_QiankunInterface_terminate | ( | tianzuo_QiankunInt ** | QiankunInt_pointer | ) |