0.6.1-1 release
[manu/suphp.git] / src / API.hpp
index 9b9f69f..47f71e3 100644 (file)
@@ -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;
     };
 };