use enum instead of #define for ctl actions so that cgo can recognize these symbol