-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSYS_Manager.h
More file actions
27 lines (21 loc) · 754 Bytes
/
Copy pathSYS_Manager.h
File metadata and controls
27 lines (21 loc) · 754 Bytes
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
#ifndef SYS_MANAGER_H_H
#define SYS_MANAGER_H_H
#include "IX_Manager.h"
#include "PF_Manager.h"
#include "RM_Manager.h"
#include "str.h"
void ExecuteAndMessage(char *, CEditArea*);
bool CanButtonClick();
RC CreateDB(char *dbpath, char *dbname);
RC DropDB(char *dbname);
RC OpenDB(char *dbname);
RC CloseDB();
RC execute(char * sql);
RC CreateTable(char *relName, int attrCount, AttrInfo *attributes);
RC DropTable(char *relName);
RC CreateIndex(char *indexName, char *relName, char *attrName);
RC DropIndex(char *indexName);
RC Insert(char *relName, int nValues, Value * values);
RC Delete(char *relName, int nConditions, Condition *conditions);
RC Update(char *relName, char *attrName, Value *value, int nConditions, Condition *conditions);
#endif