summaryrefslogtreecommitdiffstats
path: root/utils/cache_gc/categories.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cache_gc/categories.h')
-rw-r--r--utils/cache_gc/categories.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/cache_gc/categories.h b/utils/cache_gc/categories.h
new file mode 100644
index 0000000..388fbe7
--- /dev/null
+++ b/utils/cache_gc/categories.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-3.0-or-later */
+#pragma once
+
+#include "kr_cache_gc.h"
+
+typedef uint8_t category_t;
+
+#define CATEGORIES 100 // number of categories
+
+category_t kr_gc_categorize(gc_record_info_t * info);