Diff for /embedaddon/php/TSRM/tsrm_virtual_cwd.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:47:52 version 1.1.1.2, 2012/05/29 12:34:34
Line 131  typedef unsigned short mode_t; Line 131  typedef unsigned short mode_t;
   
 #ifdef TSRM_WIN32  #ifdef TSRM_WIN32
 CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat);  CWD_API int php_sys_stat_ex(const char *path, struct stat *buf, int lstat);
CWD_API int php_sys_stat(const char *path, struct stat *buf);# define php_sys_stat(path, buf) php_sys_stat_ex(path, buf, 0)
CWD_API int php_sys_lstat(const char *path, struct stat *buf);# define php_sys_lstat(path, buf) php_sys_stat_ex(path, buf, 1)
 CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len);  CWD_API int php_sys_readlink(const char *link, char *target, size_t target_len);
 #else  #else
 # define php_sys_stat stat  # define php_sys_stat stat
Line 201  CWD_API int virtual_chown(const char *filename, uid_t  Line 201  CWD_API int virtual_chown(const char *filename, uid_t 
 #define CWD_FILEPATH 1 /* resolve symlinks if file is exist otherwise expand */  #define CWD_FILEPATH 1 /* resolve symlinks if file is exist otherwise expand */
 #define CWD_REALPATH 2 /* call realpath(), resolve symlinks. File must exist */  #define CWD_REALPATH 2 /* call realpath(), resolve symlinks. File must exist */
   
CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int use_realpath);CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int use_realpath TSRMLS_DC);
   
 CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC);  CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC);
   
Line 267  CWD_API realpath_cache_bucket** realpath_cache_get_buc Line 267  CWD_API realpath_cache_bucket** realpath_cache_get_buc
 #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path TSRMLS_CC)  #define VCWD_REALPATH(path, real_path) virtual_realpath(path, real_path TSRMLS_CC)
 #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname TSRMLS_CC)  #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname TSRMLS_CC)
 #define VCWD_STAT(path, buff) virtual_stat(path, buff TSRMLS_CC)  #define VCWD_STAT(path, buff) virtual_stat(path, buff TSRMLS_CC)
#define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC)# define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC)
 #define VCWD_UNLINK(path) virtual_unlink(path TSRMLS_CC)  #define VCWD_UNLINK(path) virtual_unlink(path TSRMLS_CC)
 #define VCWD_MKDIR(pathname, mode) virtual_mkdir(pathname, mode TSRMLS_CC)  #define VCWD_MKDIR(pathname, mode) virtual_mkdir(pathname, mode TSRMLS_CC)
 #define VCWD_RMDIR(pathname) virtual_rmdir(pathname TSRMLS_CC)  #define VCWD_RMDIR(pathname) virtual_rmdir(pathname TSRMLS_CC)
Line 310  CWD_API realpath_cache_bucket** realpath_cache_get_buc Line 310  CWD_API realpath_cache_bucket** realpath_cache_get_buc
 #define VCWD_OPENDIR(pathname) opendir(pathname)  #define VCWD_OPENDIR(pathname) opendir(pathname)
 #define VCWD_POPEN(command, type) popen(command, type)  #define VCWD_POPEN(command, type) popen(command, type)
 #if defined(TSRM_WIN32)  #if defined(TSRM_WIN32)
#define VCWD_ACCESS(pathname, mode) tsrm_win32_access(pathname, mode)#define VCWD_ACCESS(pathname, mode) tsrm_win32_access(pathname, mode TSRMLS_CC)
 #else  #else
 #define VCWD_ACCESS(pathname, mode) access(pathname, mode)  #define VCWD_ACCESS(pathname, mode) access(pathname, mode)
 #endif  #endif

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>