index: cleanup header, move as much as possible to libkmod-index.c
2 files changed