aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--src/main.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/TODO b/TODO
index e934776..c0f473b 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,7 @@
+TODO Consider refactoring tables to B-Trees (better performance?)
+
+TODO Add remove* functions, restructure tables functions
+
TODO Get rid of old functionalities (strnatcmp, BM)
----------------------------------------------------------------
diff --git a/src/main.c b/src/main.c
index 0768188..71df5bf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -9,7 +9,7 @@ int main(){
addFileTag(db, "vaca.png", "naturaleza");
- addFileTags(db, "donald-tromp.jpg", 3, "based", "blonde", "very cool");
+ addFileTags(db, "terry-davis.jpg", 3, "holyC", "programmer", "very cool");
addFileTag(db, "vaca.png", "lovely");
addFileTags(db, "vaca.png", 3, "nature", "animal", "very cool");
@@ -20,9 +20,9 @@ int main(){
debugDatabase(db);
uint64_t *l, i;
- searchFile(db, "donald-tromp.jpg", 0, &l, &i);
+ searchFile(db, "terry-davis.jpg", 0, &l, &i);
- printf("Tags with tag 'donald-tromp.jpg':\n");
+ printf("Tags with file 'terry-davis.jpg':\n");
for(uint64_t j = 0; j < i; ++j){
printf("\t%s\n", db->ltags->table[l[j]]);