add env.{c,h} to add envrion manipulate API