summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-xmain/php_streams.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 5451b8382f..f3d2ceedcb 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -148,6 +148,9 @@ typedef struct _php_stream_wrapper_ops {
/* delete a file */
int (*unlink)(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC);
+
+ /* rename a file */
+ int (*rename)(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC);
} php_stream_wrapper_ops;
struct _php_stream_wrapper {