dogma for hp/resists

https://github.com/Artefact2/libdogma