aboutsummaryrefslogtreecommitdiff
path: root/include/database.h
diff options
context:
space:
mode:
authorSoikk2022-07-24 22:26:35 +0200
committerSoikk2022-07-24 22:26:35 +0200
commitaf8d064328b718a90d66e1d729780563f17539f7 (patch)
tree8e492d0701a7f630c50011e15e9860610596eea7 /include/database.h
parentff5da06da823ac3a0bc7e89b35ed573255139b2d (diff)
downloadsoikk-DB-af8d064328b718a90d66e1d729780563f17539f7.tar.xz
soikk-DB-af8d064328b718a90d66e1d729780563f17539f7.tar.zst
Updated example
Diffstat (limited to 'include/database.h')
-rw-r--r--include/database.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/database.h b/include/database.h
index 339b48b..bcade34 100644
--- a/include/database.h
+++ b/include/database.h
@@ -27,10 +27,10 @@ int addFileTag(database *db, char *file, char *tag);
int addFileTags(database *db, char *file, int ntags, ...);
-int searchTag(database *db, char *tag, uint64_t n, uint64_t **r, uint64_t *rl);
-
int searchFile(database *db, char *file, uint64_t n, uint64_t **r, uint64_t *rl);
+int searchTag(database *db, char *tag, uint64_t n, uint64_t **r, uint64_t *rl);
+
void printDatabase(database *db);
void debugDatabase(database *db);