aboutsummaryrefslogtreecommitdiff
path: root/include/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/database.h')
-rw-r--r--include/database.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/database.h b/include/database.h
index bcade34..5f2d99d 100644
--- a/include/database.h
+++ b/include/database.h
@@ -7,8 +7,8 @@
typedef struct database{
char name[32];
ltable *lfiles, *ltags;
- htable *hfiles, *htags;
- htable *fcount, *tcount;
+ ctable *cfiles, *ctags;
+ tree hfiles, htags;
mtable *map;
} database;
@@ -33,6 +33,8 @@ int searchTag(database *db, char *tag, uint64_t n, uint64_t **r, uint64_t *rl);
void printDatabase(database *db);
+void debugAVLtree(node *n);
+
void debugDatabase(database *db);
#endif