| H A D | cast.c | 49 FILE *fopencookie(void *cookie, const char *mode, COOKIE_IO_FUNCTIONS_T *funcs) argument 51 return funopen(cookie, funcs->reader, funcs->writer, funcs->seeker, funcs->closer); 63 static int stream_cookie_reader(void *cookie, char *buffer, int size) argument 68 ret = php_stream_read((php_stream*)cookie, buffer, size); 72 static int stream_cookie_writer(void *cookie, const char *buffer, int size) argument 76 return php_stream_write((php_stream *)cookie, (char *)buffer, size); 79 static PHP_FPOS_T stream_cookie_seeker(void *cookie, off_t position, int whence) argument 83 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); 86 static int stream_cookie_closer(void *cookie) argument 88 php_stream *stream = (php_stream*)cookie; 96 stream_cookie_reader(void *cookie, char *buffer, size_t size) argument 105 stream_cookie_writer(void *cookie, const char *buffer, size_t size) argument 113 stream_cookie_seeker(void *cookie, __off64_t *position, int whence) argument 125 stream_cookie_seeker(void *cookie, off_t position, int whence) argument 133 stream_cookie_closer(void *cookie) argument [all...] |