summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-17 14:21:01 +0000
committerWez Furlong <wez@php.net>2002-03-17 14:21:01 +0000
commit12a00923769aa26e18f3af6b11b4e6f37d6163d0 (patch)
tree54ad9bcc90886df75303de6766ce6b62c39223ff /main/fopen_wrappers.h
parenteffa6e8daa84075cf7c6c44a278efdd135dee1a3 (diff)
downloadphp-git-12a00923769aa26e18f3af6b11b4e6f37d6163d0.tar.gz
Fix for php_stream_gets when the implementation does not support it
natively (Thanks Marcus). Implement php_stream_make_seekable() and add STREAM_MUST_SEEK as an option to php_stream_open_wrapper(). See README.STREAMS for usage.
Diffstat (limited to 'main/fopen_wrappers.h')
-rw-r--r--main/fopen_wrappers.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h
index f64efd40c8..1a9ca6cc3a 100644
--- a/main/fopen_wrappers.h
+++ b/main/fopen_wrappers.h
@@ -22,19 +22,6 @@
#include "php_globals.h"
-#define IGNORE_PATH 0
-#define USE_PATH 1
-#define IGNORE_URL 2
-/* There's no USE_URL. */
-#define ENFORCE_SAFE_MODE 4
-#define REPORT_ERRORS 8
-
-#ifdef PHP_WIN32
-# define IGNORE_URL_WIN IGNORE_URL
-#else
-# define IGNORE_URL_WIN 0
-#endif
-
PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC);
PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC);