X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=src%2FAPI.hpp;h=47f71e3c4394abf4c5ab5edc04e969a7d2b78228;hp=9b9f69f28ec22ba1e65677c956d82db3064d1ede;hb=47bcf8ba77fa8011f9be728c23dbe6915d70251b;hpb=1d5c20a335c25ab89adf2e0d3d74c810b679e719 diff --git a/src/API.hpp b/src/API.hpp index 9b9f69f..47f71e3 100644 --- a/src/API.hpp +++ b/src/API.hpp @@ -180,6 +180,12 @@ namespace suPHP { * Sets umask */ virtual void setUmask(int umask) const throw (SystemException) =0; + + /** + * Changes root directory for the current process + */ + virtual void chroot(const std::string& dir) const + throw (SystemException) =0; }; };