OCT 增加头文件信息
This commit is contained in:
parent
240d00951b
commit
e9d1576d4f
|
@ -124,7 +124,23 @@ int update_database(int module_id, void * db_handle, int op_type, char * tabl
|
||||||
* 无
|
* 无
|
||||||
**********************************************************************************/
|
**********************************************************************************/
|
||||||
void * select_datebase_by_number(int module_id, void * db_handle, char * table_name, char * sql_str, int begin_num, int need_num, int * return_num, int param_num, ...);
|
void * select_datebase_by_number(int module_id, void * db_handle, char * table_name, char * sql_str, int begin_num, int need_num, int * return_num, int param_num, ...);
|
||||||
|
/*********************************************************************************
|
||||||
|
* Description:
|
||||||
|
* 释放查询接口申请的内存
|
||||||
|
* Input:
|
||||||
|
* module_id - 模块ID,每个模块需要向数据库模块设置模块ID,用于打印、统计使用
|
||||||
|
* table_name - 创建的表名
|
||||||
|
* memory_ptr - 待释放内存指针
|
||||||
|
* Output:
|
||||||
|
* 无
|
||||||
|
* Return:
|
||||||
|
* DB_RET_PARAM_NULL - 入参指针为NULL
|
||||||
|
* DB_RET_ERR - 操作失败
|
||||||
|
* DB_RET_OK - 操作成功
|
||||||
|
* Others:
|
||||||
|
* 无
|
||||||
|
**********************************************************************************/
|
||||||
|
int free_database_memory(int module_id, char * table_name, void * memory_ptr);
|
||||||
/*********************************************************************************
|
/*********************************************************************************
|
||||||
* Description:
|
* Description:
|
||||||
* 返回根据指定信息查找数据库的结果的条目数
|
* 返回根据指定信息查找数据库的结果的条目数
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sql.h>
|
#include <sql.h>
|
||||||
#include <sqlext.h>
|
#include <sqlext.h>
|
||||||
|
|
Loading…
Reference in New Issue