Renamed one getSeekPosition() to determineSeekPosition().
[core.git] / inc / classes / interfaces / io / pointer / io / class_InputOutputPointer.php
index 6c2de09c78a1a8e49c6156b3d563e8ceca0036b8..6dc483a3df9daece2f98bfb3d425cddf4b8f2755 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface InputOutputPointer extends InputPointer, OutputPointer {
+       /**
+        * Rewinds to the beginning of the file
+        *
+        * @return      $status         Status of this operation
+        */
+       function rewind ();
+
+       /**
+        * Seeks to given position
+        *
+        * @param       $seekPosition   Seek position in file
+        * @param       $whence                 "Seek mode" (see http://de.php.net/fseek)
+        * @return      $tatus                  Status of this operation
+        */
+       function seek ($seekPosition, $whence = SEEK_SET);
 }
 
 // [EOF]