aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2026-02-24 23:35:18 +0100
committerThorsten Töpper <atsutane@freethoughts.de>2026-02-24 23:35:18 +0100
commit9230578c5bb4ee0e3e08ce432a7f07b9b967c0b8 (patch)
tree22fcfb8081771c806e579c878f6b352e0468593c /include
parenta3b5ddabd37cce398e84f0e98fa9c3318ee8df86 (diff)
downloadduplicate_finder-9230578c5bb4ee0e3e08ce432a7f07b9b967c0b8.tar.gz
duplicate_finder-9230578c5bb4ee0e3e08ce432a7f07b9b967c0b8.tar.bz2
Also print duplicate filenames
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);