Add fixes for CVE-2008-1614
[manu/suphp.git] / src / API.hpp
index 47f71e3..c079888 100644 (file)
@@ -157,6 +157,12 @@ namespace suPHP {
        virtual GroupInfo File_getGroup(const File& file) const
            throw (SystemException) =0;
        
+        /**
+         * Checks whether a file is a symlink
+         */
+        virtual bool File_isSymlink(const File& file) const 
+            throw (SystemException) =0;
+        
        /**
         * Runs another program (replaces current process)
         */