Logo Search packages:      
Sourcecode: schroot version File versions  Download package

void environment::add ( char **  environment  ) 

Add environment variables. Any existing variables sharing the name of a new value will be replaced.

environment the environment variables to add. This is a null-terminated array of pointers to char.

Definition at line 43 of file sbuild-environment.cc.

Referenced by sbuild::session::setup_chroot(), sbuild::chroot::setup_env(), sbuild::chroot_plain::setup_env(), sbuild::chroot_lvm_snapshot::setup_env(), sbuild::chroot_file::setup_env(), sbuild::chroot_block_device::setup_env(), and sbuild::auth::setupenv().

  if (environment)
      for (char **ev = environment; ev != 0 && *ev != 0; ++ev)

Generated by  Doxygen 1.6.0   Back to index