]> granicus.if.org Git - php/commitdiff
Put missing signature into header
authorAnatol Belski <ab@php.net>
Fri, 8 Dec 2017 23:26:18 +0000 (00:26 +0100)
committerAnatol Belski <ab@php.net>
Fri, 8 Dec 2017 23:26:18 +0000 (00:26 +0100)
main/streams/php_stream_plain_wrapper.h

index a216cff4181dcae187b9f4b8d23718826f4b0a46..e2e51aa06f18f132c270d9d86e21557e3d796d92 100644 (file)
@@ -54,6 +54,9 @@ PHPAPI php_stream *_php_stream_fopen_temporary_file(const char *dir, const char
 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, zend_string **opened_path STREAMS_DC);
 #define php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path), (mode), (options), (opened_path) STREAMS_CC)
 
+/* parse standard "fopen" modes into open() flags */
+PHPAPI int php_stream_parse_fopen_modes(const char *mode, int *open_flags);
+
 END_EXTERN_C()
 
 /*