branch off v1 as R_1_7
[m6w6/ext-http] / php_http_filter_api.h
index d6783d8f5fb079c5aa1527804956f068db6efe8c..d1322a1e1f1ee130b7be55a81a14e77a9afc305b 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2004-2005, Michael Wallner <mike@php.net>            |
+    | Copyright (c) 2004-2010, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
 
 #ifndef PHP_HTTP_FILTER_API_H
 #define PHP_HTTP_FILTER_API_H
+#ifdef ZEND_ENGINE_2
 
-php_stream_filter_factory http_filter_factory;
+extern php_stream_filter_factory http_filter_factory;
 PHP_MINIT_FUNCTION(http_filter);
 
+#endif
 #endif
 
 /*