DMU: Added a typedef for void* arguments in public API

This should make it clearer to the caller what kind of an object is
expected as the argument.