-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAPI_Module.h
More file actions
29 lines (25 loc) · 1.11 KB
/
Copy pathAPI_Module.h
File metadata and controls
29 lines (25 loc) · 1.11 KB
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
//////////////////////////////////////////////////////////
///----------------------------------------------------///
/// Module: API_Module ///
/// Produced by: XXX ///
/// Description: Produced to deal with the ///
/// functions between Interpreter, ///
/// Record_Manager and Index_Manager///
/// date: 2004/12/29 ///
///----------------------------------------------------///
//////////////////////////////////////////////////////////
#if !defined(_API_MODULE_H_)
#define _API_MODULE_H_
#include"MiniSQL.h"
void API_Module(string SQL);
//显示帮助信息
void Help();
//插入索引节点
void Insert_Index(string DB_Name,string Table_Name,index_info & index);
//删除索引节点
void Delete_Index(string DB_Name,string Table_Name,index_info & index);
//查找索引节点
void Find_Index(string DB_Name,string Table_Name,index_info & index);
//获取条件的索引信息
void Get_Index(string DB_Name,string Table_Name,int & start,int & end,int type,index_info & index);
#endif