-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit0_internal.h
More file actions
38 lines (27 loc) · 1004 Bytes
/
git0_internal.h
File metadata and controls
38 lines (27 loc) · 1004 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
28
29
30
31
32
33
34
35
36
37
38
/*
** Internal declarations shared between git0 extension source files.
** Not part of the public API (git0.h).
*/
#ifndef GIT0_INTERNAL_H
#define GIT0_INTERNAL_H
#include <sqlite3.h>
#include <git2.h>
/* git0.c: repo handle management */
git_repository *git0_repo_open(const char *path, char **err);
/* git0_vtab.c: table-valued functions */
int git0_register_vtabs(sqlite3 *db);
/* git0_objects.c: objects virtual table */
void git0_register_objects(sqlite3 *db);
/* git0_refs_vt.c: refs virtual table */
int git0_register_refs_vt(sqlite3 *db);
/* git0_repo.c: self-contained repo functions */
int git0_register_repo(sqlite3 *db);
/* git0_lfs.c: LFS functions */
int git0_register_lfs(sqlite3 *db);
/* git0_storage.c: storage-native scalar functions */
int git0_register_storage(sqlite3 *db);
/* git0_backend.c: custom libgit2 ODB+refdb backend */
int git0_register_backend(sqlite3 *db);
git_repository *git0_storage_repo(void);
void git0_backend_cleanup(void);
#endif /* GIT0_INTERNAL_H */