correct prototypes
use DTC_KIND enum type where appropriate