summaryrefslogtreecommitdiff
path: root/ext/standard/file.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-16 12:55:13 +0200
committerAnatol Belski <ab@php.net>2014-08-16 12:55:13 +0200
commitb7e7a895414bd1821686932d57949f1ad0693900 (patch)
treed107d07e93948ccf115a73c27d6044d22ec64968 /ext/standard/file.h
parentcb25136f4ef1042295650475b2c20ace81e2b9b7 (diff)
downloadphp-git-b7e7a895414bd1821686932d57949f1ad0693900.tar.gz
several fixes -
- param parsing Z_PARAM_STR vs Z_PARAM_STRING - some functions for new params - etc
Diffstat (limited to 'ext/standard/file.h')
-rw-r--r--ext/standard/file.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/file.h b/ext/standard/file.h
index 9c044aff1e..b667a29233 100644
--- a/ext/standard/file.h
+++ b/ext/standard/file.h
@@ -77,10 +77,10 @@ PHPAPI int php_set_sock_blocking(int socketd, int block TSRMLS_DC);
PHPAPI int php_copy_file(const char *src, const char *dest TSRMLS_DC);
PHPAPI int php_copy_file_ex(const char *src, const char *dest, int src_chk TSRMLS_DC);
PHPAPI int php_copy_file_ctx(const char *src, const char *dest, int src_chk, php_stream_context *ctx TSRMLS_DC);
-PHPAPI int php_mkdir_ex(const char *dir, long mode, int options TSRMLS_DC);
-PHPAPI int php_mkdir(const char *dir, long mode TSRMLS_DC);
+PHPAPI int php_mkdir_ex(const char *dir, php_int_t mode, int options TSRMLS_DC);
+PHPAPI int php_mkdir(const char *dir, php_int_t mode TSRMLS_DC);
PHPAPI void php_fgetcsv(php_stream *stream, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value TSRMLS_DC);
-PHPAPI int php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC);
+PHPAPI php_size_t php_fputcsv(php_stream *stream, zval *fields, char delimiter, char enclosure, char escape_char TSRMLS_DC);
#define META_DEF_BUFSIZE 8192
@@ -117,8 +117,8 @@ php_meta_tags_token php_next_meta_token(php_meta_tags_data * TSRMLS_DC);
typedef struct {
int pclose_ret;
size_t def_chunk_size;
- long auto_detect_line_endings;
- long default_socket_timeout;
+ php_int_t auto_detect_line_endings;
+ php_int_t default_socket_timeout;
char *user_agent; /* for the http wrapper */
char *from_address; /* for the ftp and http wrappers */
const char *user_stream_current_filename; /* for simple recursion protection */