Lines Matching refs:php_stream

18 Streams use a `php_stream*` parameter just as ANSI stdio (fread etc.) use a
24 PHPAPI size_t php_stream_read(php_stream * stream, char * buf, size_t count);
25 PHPAPI size_t php_stream_write(php_stream * stream, const char * buf, size_t
27 PHPAPI size_t php_stream_printf(php_stream * stream,
29 PHPAPI int php_stream_eof(php_stream * stream);
30 PHPAPI int php_stream_getc(php_stream * stream);
31 PHPAPI char *php_stream_gets(php_stream * stream, char *buf, size_t maxlen);
32 PHPAPI int php_stream_close(php_stream * stream);
33 PHPAPI int php_stream_flush(php_stream * stream);
34 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
35 PHPAPI off_t php_stream_tell(php_stream * stream);
36 PHPAPI int php_stream_lock(php_stream * stream, int mode);
48 PHPAPI php_stream *php_stream_open_wrapper(const char *path, const char *mode,
75 PHPAPI php_stream *php_stream_fopen_from_file(FILE *file, const char *mode);
78 PHPAPI php_stream *php_stream_fopen_tmpfile(void);
81 PHPAPI php_stream *php_stream_fopen_temporary_file(const char *dir,
89 PHPAPI php_stream *php_stream_sock_open_from_socket(int socket, int persistent);
92 PHPAPI php_stream *php_stream_sock_open_host(const char *host, unsigned short port,
96 PHPAPI php_stream *php_stream_sock_open_unix(const char *path, int persistent,
107 PHPAPI size_t php_stream_copy_to_stream(php_stream *src,
108 php_stream *dest, size_t maxlen);
120 PHPAPI size_t php_stream_copy_to_mem(php_stream *src, char **buf,
135 PHPAPI int php_stream_make_seekable(php_stream *origstream, php_stream **newstream);
168 PHPAPI int php_stream_supports_lock(php_stream * stream);
182 php_stream * stream; /* already opened */
192 PHPAPI int php_stream_cast(php_stream * stream, int castas, void ** ret, int show_err);
226 PHPAPI int php_stream_can_cast(php_stream * stream, int castas)
246 There are two main structures associated with a stream - the `php_stream`
260 associates it with a `php_stream` using `php_stream_alloc`.
265 PHPAPI php_stream * php_stream_fopen(const char * filename, const char * mode)
268 php_stream * ret;
290 PHPAPI php_stream * php_stream_alloc(php_stream_ops * ops, void * abstract,
325 `php_stream`. For example, you might need a pointer to some memory for memory
362 static size_t php_mysqlop_read(php_stream * stream, char * buf, size_t count)