From 9230578c5bb4ee0e3e08ce432a7f07b9b967c0b8 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Tue, 24 Feb 2026 23:35:18 +0100 Subject: Also print duplicate filenames --- include/database_interaction.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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); -- cgit v1.3