parse_catalog_role
if(!parse_catalog_role($1, &$$)) {
static int parse_catalog_role(const char *str, int *role);