-struct files *get_file(struct processtop *proc, int fd);
-void show_table(GPtrArray *tab);
-void insert_file(struct processtop *proc, int fd);
+#include "common.h"
+
+bool get_file(Quark proc_quark, int fd, Quark &file_quark);
+void insert_file(Quark proc, int fd, unsigned long timestamp);
+
+void show_history(Quark proc);