summaryrefslogtreecommitdiff
path: root/main/fopen_wrappers.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-06-08 09:43:12 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-06-08 09:43:12 +0000
commiteb8cd900a6ff60b40448ce2791eeca4ecb0d29a4 (patch)
tree43c79baeb7dd25a0f2e567bae00b9049b84568eb /main/fopen_wrappers.h
parentd180634e070205632d1d9351d72cdb74b66d7761 (diff)
downloadphp-git-eb8cd900a6ff60b40448ce2791eeca4ecb0d29a4.tar.gz
@ fopen_wrappers() are now extensible via modules
so here it finaly is, the more general approach to fopen wrappers # see what i'll break this time
Diffstat (limited to 'main/fopen_wrappers.h')
-rw-r--r--main/fopen_wrappers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/fopen_wrappers.h b/main/fopen_wrappers.h
index 7cdada13bc..152c965d31 100644
--- a/main/fopen_wrappers.h
+++ b/main/fopen_wrappers.h
@@ -78,6 +78,11 @@ PHPAPI char *php_strip_url_passwd(char *path);
PHPAPI char *expand_filepath(char *filepath);
+int php_init_fopen_wrappers(void);
+int php_shutdown_fopen_wrappers(void);
+PHPAPI int php_register_url_wrapper(char *protocol, FILE * (*wrapper)(const char *path, char *mode, int options, int *issock, int *socketd, char **opened_path));
+PHPAPI int php_unregister_url_wrapper(char *protocol);
+
#endif
/*
* Local variables: