aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/database_interaction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/database_interaction.h b/include/database_interaction.h
index 32d76dd..0ceb973 100644
--- a/include/database_interaction.h
+++ b/include/database_interaction.h
@@ -15,6 +15,7 @@ void dbi_close();
char *dbi_select_filename_by_id(int64_t id);
int64_t dbi_select_filename_by_name(const char *name);
+int64_t *dbi_select_filenames_all_ids();
int dbi_insert_filename(const char *filename);
char *dbi_select_path_by_id(int64_t id);
@@ -22,6 +23,7 @@ int64_t dbi_select_path_by_pathname(const char *pathname);
int dbi_insert_pathname(const char *path);
struct df_hashstrings *dbi_select_hashes_by_id(int64_t id);
+int64_t *dbi_select_hashes_all_ids();
int64_t dbi_select_hashes_by_strings(const char *blake2, const char *sha256, const char *sha512);
int dbi_insert_hashes(const char *blake2, const char *sha256, const char *sha512);