Use correct typedef for code
use rlm_rcode_t typedef for calling modules