summaryrefslogtreecommitdiff
path: root/main/php_virtual_cwd.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-20 14:11:50 +0000
committerSascha Schumann <sas@php.net>2000-08-20 14:11:50 +0000
commit6358dad0e1bc99081c2a5012923ead2b73e53fc9 (patch)
tree4009c335c796a8f7a425947897d712f3265993e5 /main/php_virtual_cwd.h
parentc8b8a908ca9bed4891798e94bb1a138df2257ae7 (diff)
downloadphp-git-6358dad0e1bc99081c2a5012923ead2b73e53fc9.tar.gz
const'ify virtual-cwd API
Diffstat (limited to 'main/php_virtual_cwd.h')
-rw-r--r--main/php_virtual_cwd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/php_virtual_cwd.h b/main/php_virtual_cwd.h
index e0ab004866..1de12a28ba 100644
--- a/main/php_virtual_cwd.h
+++ b/main/php_virtual_cwd.h
@@ -73,14 +73,14 @@ typedef int (*verify_path_func)(const cwd_state *);
CWD_API void virtual_cwd_startup(void);
CWD_API void virtual_cwd_shutdown(void);
-CWD_API void virtual_cwd_activate(char *filename);
+CWD_API void virtual_cwd_activate(const char *filename);
CWD_API char *virtual_getcwd_ex(int *length);
CWD_API char *virtual_getcwd(char *buf, size_t size);
-CWD_API int virtual_chdir(char *path);
-CWD_API int virtual_chdir_file(char *path);
+CWD_API int virtual_chdir(const char *path);
+CWD_API int virtual_chdir_file(const char *path);
CWD_API void virtual_real_chdir_file(const char *path);
-CWD_API int virtual_filepath(char *path, char **filepath);
-CWD_API char *virtual_realpath(char *path, char *real_path);
+CWD_API int virtual_filepath(const char *path, char **filepath);
+CWD_API char *virtual_realpath(const char *path, char *real_path);
CWD_API FILE *virtual_fopen(const char *path, const char *mode);
CWD_API int virtual_open(const char *path, int flags, ...);
CWD_API int virtual_creat(const char *path, mode_t mode);