ctrl: Reduce code duplication and add a define to create the struct

This has been pointed out by Jacob and removes two more duplicates
of the struct. For the unused CTRL_CMD_DEFINE_STRING macro there
will be no verify command.
1 file changed