cache: remove struct cache_type
[project/mdnsd.git] / cache.h
diff --git a/cache.h b/cache.h
index 03c35f6..7d5a0b9 100644 (file)
--- a/cache.h
+++ b/cache.h
 
 #include "dns.h"
 
-struct cache_type {
-        struct avl_node avl;
-
-       char *key;
-       char *val;
-};
-
 struct cache_entry {
         struct avl_node avl;
 
@@ -48,7 +41,7 @@ struct cache_record {
        time_t time;
 };
 
-extern struct avl_tree records, entries, types;
+extern struct avl_tree records, entries;
 
 extern int cache_init(void);
 extern void cache_scan(void);