shmem_parse_options(): use a separate structure to keep the results