MAX_CFTYPE_NAME
char name[MAX_CFTYPE_NAME];
MAX_CFTYPE_NAME + 2)
scnprintf(cft->name, MAX_CFTYPE_NAME, "%s.%s", buf, tmpl->name);