str2type
(void) str2type(t, &type);
static int str2type(char *s, uint_t *type);
if (str2type (*argv, &type))
if ((type = str2type(pp->type)) == TOPO_TYPE_INVALID) {