-
Notifications
You must be signed in to change notification settings - Fork 0
/
db_top.h
22 lines (21 loc) · 861 Bytes
/
db_top.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef DB_TOP_H
#define DB_TOP_H
#include <sqlite3.h>
#include "list.h"
#include "data.h"
#include "dbutil.h"
List* db_top_get_all_project_infos(Database*, List*);
int db_top_register_project_info(Database*, ProjectInfo*);
void db_top_update_project_infos(Database*, List*);
void db_top_delete_project_info(Database*, ProjectInfo*);
char* db_top_get_project_db_name(char*, char*);
ProjectInfo* db_top_get_project_info(Database*, ProjectInfo*, char*, bool);
void db_top_update_project(Database*, Project*);
List* db_top_search(Database*, char*, List*);
String* db_top_get_project_name(Database*, Ticket*, String*);
String* db_top_get_title(Database*, Ticket*, String*);
String* db_top_get_locale(String*);
void db_top_set_locale();
String* db_top_get_top_project_name(String*);
#endif
/* vim: set ts=4 sw=4 sts=4 expandtab fenc=utf-8: */