NBT library written in C