| H A D | cast.c | 41 FILE *fopencookie(void *cookie, const char *mode, COOKIE_IO_FUNCTIONS_T *funcs) argument 43 return funopen(cookie, funcs->reader, funcs->writer, funcs->seeker, funcs->closer); 55 static int stream_cookie_reader(void *cookie, char *buffer, int size) argument 60 ret = php_stream_read((php_stream*)cookie, buffer, size); 64 static int stream_cookie_writer(void *cookie, const char *buffer, int size) argument 68 return php_stream_write((php_stream *)cookie, (char *)buffer, size); 71 static fpos_t stream_cookie_seeker(void *cookie, off_t position, int whence) argument 75 return (fpos_t)php_stream_seek((php_stream *)cookie, position, whence); 78 static int stream_cookie_closer(void *cookie) argument 80 php_stream *stream = (php_stream*)cookie; 88 stream_cookie_reader(void *cookie, char *buffer, size_t size) argument 97 stream_cookie_writer(void *cookie, const char *buffer, size_t size) argument 105 stream_cookie_seeker(void *cookie, __off64_t *position, int whence) argument 117 stream_cookie_seeker(void *cookie, off_t position, int whence) argument 125 stream_cookie_closer(void *cookie) argument [all...] |