X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=src%2FAPI.hpp;h=47f71e3c4394abf4c5ab5edc04e969a7d2b78228;hp=9b9f69f28ec22ba1e65677c956d82db3064d1ede;hb=15131cc4552b38de0638fa84164e509b05bb6c11;hpb=873afb00229b8e205345b6895eaad6602d5e10f4 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; }; };