2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2005, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
15 #ifndef PHP_HTTP_WRAPPER_API_H
16 #define PHP_HTTP_WRAPPER_API_H
18 #if defined(HTTP_HAVE_CURL) && defined(HTTP_HAVE_WRAPPER)
20 extern PHP_MINIT_FUNCTION(http_wrapper
);
21 extern php_stream
*http_wrapper_ex(php_stream_wrapper
*wrapper
, char *path
, char *mode
, int options
, char **opened_path
, php_stream_context
*context STREAMS_DC TSRMLS_DC
);
23 PHP_HTTP_API php_stream_wrapper http_wrapper
;
33 * vim600: noet sw=4 ts=4 fdm=marker
34 * vim<600: noet sw=4 ts=4