Add enum nameflags and struct name.n_flags field