~clint-fewbar/ubuntu/precise/php5/php5-5.4-merge

« back to all changes in this revision

Viewing changes to ext/standard/file.h

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-02-22 09:46:37 UTC
  • mfrom: (1.1.20) (0.3.18 sid)
  • Revision ID: package-import@ubuntu.com-20110222094637-nlu2tvb7oqgaarl0
Tags: 5.3.5-1ubuntu1
* Merge from debian/unstable. Remaining changes:
 - debian/control:
    * Dropped firebird2.1-dev, libc-client-dev, libmcrypt-dev as it is in universe.
    * Dropped libmysqlclient15-dev, build against mysql 5.1.
    * Dropped libcurl-dev not in the archive.
    * Suggest php5-suhosin rather than recommends.
    * Dropped php5-imap, php5-interbase, php5-mcrypt since we have versions 
      already in universe.
    * Dropped libonig-dev and libqgdbm since its in universe. (will be re-added in lucid+1)
    * Dropped locales-all.
  - modulelist: Drop imap, interbase, sybase, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
    * stop mysql instance on clean just in case we failed in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
   +----------------------------------------------------------------------+
17
17
*/
18
18
 
19
 
/* $Id: file.h 293036 2010-01-03 09:23:27Z sebastian $ */
 
19
/* $Id: file.h 305495 2010-11-18 12:10:17Z cataphract $ */
20
20
 
21
21
/* Synced with php 3.0 revision 1.30 1999-06-16 [ssb] */
22
22
 
76
76
PHPAPI int php_set_sock_blocking(int socketd, int block TSRMLS_DC);
77
77
PHPAPI int php_copy_file(char *src, char *dest TSRMLS_DC);
78
78
PHPAPI int php_copy_file_ex(char *src, char *dest, int src_chk TSRMLS_DC);
 
79
PHPAPI int php_copy_file_ctx(char *src, char *dest, int src_chk, php_stream_context *context TSRMLS_DC);
79
80
PHPAPI int php_mkdir_ex(char *dir, long mode, int options TSRMLS_DC);
80
81
PHPAPI int php_mkdir(char *dir, long mode TSRMLS_DC);
81
82
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);
117
118
        size_t def_chunk_size;
118
119
        long auto_detect_line_endings;
119
120
        long default_socket_timeout;
120
 
        char *user_agent;
 
121
        char *user_agent; /* for the http wrapper */
121
122
        char *user_stream_current_filename; /* for simple recursion protection */
122
123
        php_stream_context *default_context;
123
124
        HashTable *stream_wrappers;                     /* per-request copy of url_stream_wrappers_hash */